Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt Monday at 02:04 PM
Rob Coldwell Posted October 18, 2022 Posted October 18, 2022 We recently move our installation to a new server. The entire code base and database were copied across and the site appears to be working perfectly, except the quoting post feature has stopped working for some users! Highlighting text no longer pops up the 'quote' box in any posts or messages. In changing to the new server I upgraded to PHP 8, but have since tried switching back to PHP 7.4 with no difference). However it seems to be a browser specific issue - but we haven't changed any code! Does anyone have any thoughts on why this might be? I have upgraded to Version 4.7.3 but the issue still exists for some users.
Marc Posted October 18, 2022 Posted October 18, 2022 If this is only for some users, it is very likely that its cache on their own machines. Please get the users to hard clear their cache on the browser and try again
Rob Coldwell Posted October 19, 2022 Author Posted October 19, 2022 Hi Marc, Clearing the browser cache hasn't fixed this. I'm seeing the following error in my console... I've cleared the system caches, restarted Apache, reverted the PHP version to 7.4 and back again to 8.0). Uncaught TypeError: Cannot read properties of null (reading 'innerHTML') at baseController.setup (root_front.js?v=8865455eea1666161092:179:531) at baseController.initialize (root_front.js?v=8865455eea1666161092:179:360) at initControllerOnElem (root_framework.js?v=8865455eea1666161092:24:49) at initializeControllers (root_framework.js?v=8865455eea1666161092:6:342) at Object.init (root_framework.js?v=8865455eea1666161092:4:540) at HTMLDocument.<anonymous> (root_library.js?v=8865455eea1666161092:86:137) at e (root_library.js?v=8865455eea1666161092:2:30005) at t (root_library.js?v=8865455eea1666161092:2:30307) setup @ root_front.js?v=8865455eea1666161092:179 initialize @ root_front.js?v=8865455eea1666161092:179 initControllerOnElem @ root_framework.js?v=8865455eea1666161092:24 initializeControllers @ root_framework.js?v=8865455eea1666161092:6 init @ root_framework.js?v=8865455eea1666161092:4 (anonymous) @ root_library.js?v=8865455eea1666161092:86 e @ root_library.js?v=8865455eea1666161092:2 t @ root_library.js?v=8865455eea1666161092:2 setTimeout (async) S.readyException @ root_library.js?v=8865455eea1666161092:2 (anonymous) @ root_library.js?v=8865455eea1666161092:2 e @ root_library.js?v=8865455eea1666161092:2 t @ root_library.js?v=8865455eea1666161092:2 setTimeout (async) (anonymous) @ root_library.js?v=8865455eea1666161092:2 c @ root_library.js?v=8865455eea1666161092:2 fireWith @ root_library.js?v=8865455eea1666161092:2 fire @ root_library.js?v=8865455eea1666161092:2 c @ root_library.js?v=8865455eea1666161092:2 fireWith @ root_library.js?v=8865455eea1666161092:2 t @ root_library.js?v=8865455eea1666161092:2 setTimeout (async) (anonymous) @ root_library.js?v=8865455eea1666161092:2 c @ root_library.js?v=8865455eea1666161092:2 fireWith @ root_library.js?v=8865455eea1666161092:2 fire @ root_library.js?v=8865455eea1666161092:2 c @ root_library.js?v=8865455eea1666161092:2 fireWith @ root_library.js?v=8865455eea1666161092:2 ready @ root_library.js?v=8865455eea1666161092:2 B @ root_library.js?v=8865455eea1666161092:2 All JS files are loading, I'm not seeing any 404s or other errors. The plupload appears to affected, but I am at a loss to know what can be happening here! jQuery.Deferred exception: Cannot read properties of null (reading 'innerHTML') TypeError: Cannot read properties of null (reading 'innerHTML') at baseController.setup (https://xxx/uploads/javascript_global/root_front.js?v=8865455eea1666161092:179:531) at baseController.initialize (https://xxx/uploads/javascript_global/root_front.js?v=8865455eea1666161092:179:360) at initControllerOnElem (https://xxx/uploads/javascript_global/root_framework.js?v=8865455eea1666161092:24:49) at initializeControllers (https://xxx/uploads/javascript_global/root_framework.js?v=8865455eea1666161092:6:342) at Object.init (https://xxx/uploads/javascript_global/root_framework.js?v=8865455eea1666161092:4:540) at HTMLDocument.<anonymous> (https://xxx/uploads/javascript_global/root_library.js?v=8865455eea1666161092:86:137) at e (https://xxx/uploads/javascript_global/root_library.js?v=8865455eea1666161092:2:30005) at t (https://xxx/uploads/javascript_global/root_library.js?v=8865455eea1666161092:2:30307) undefined (xxx replaces my domain - not one we use publicly) Do you have any thoughts?
Marc Posted October 19, 2022 Posted October 19, 2022 Are you changing the to suPHP/suExec when you change to PHP 8 at all? (Please check with your host if unsure). It may well be that permissions need to be different when you are switching over
Recommended Posts