Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt Monday at 02:04 PM
Damien Symonds Posted September 29, 2022 Posted September 29, 2022 Self-hosted (on Dreamhost, if it matters.) After putting it off for months, maybe years, finally went all in and updated my server to PHP8 then the forum from 4.4 to 4.7. Not good. Am following the Manual instructions because auto didn't work. I've done the first paragraph. But I can't do the second. When I go to admin/upgrade I just get this: Following some advice I found on another thread I uploaded the ips4.php file to run the check, and it says I'm fine: The error log only seems to show my three or four attempts to do the auto update. Nothing else. Any help would be SO appreciated. Thank you. I also tried modifying the constants file per these instructions, but no luck.
Marc Posted September 29, 2022 Posted September 29, 2022 I would suggest upgrading on 7.4 first of all. Once you have done that, then switch to PHP 8. If you are doing multiple things, there is no way of knowing which change is causing your problems
Damien Symonds Posted September 29, 2022 Author Posted September 29, 2022 I forgot to say I did try going back to 7.4, but still no dice. ☹️
Damien Symonds Posted September 29, 2022 Author Posted September 29, 2022 Found a different error log. Quote [Thu Sep 29 00:42:29.005530 2022] [fcgid:warn] [pid 1123:tid 140506412410624] [client 90.200.134.128:55454] mod_fcgid: stderr: PHP Fatal error: Uncaught ErrorException: Class IPS\\core\\AdminNotification could not be loaded. Ensure it has been properly prefixed with an underscore and is in the correct namespace. in /home/dsymonds1/ask.damiensymonds.net/init.php:766 [Thu Sep 29 00:42:29.005625 2022] [fcgid:warn] [pid 1123:tid 140506412410624] [client 90.200.134.128:55454] mod_fcgid: stderr: Stack trace: [Thu Sep 29 00:42:29.005637 2022] [fcgid:warn] [pid 1123:tid 140506412410624] [client 90.200.134.128:55454] mod_fcgid: stderr: #0 [internal function]: IPS\\IPS::errorHandler(256, 'Class IPS\\\\core\\\\...', '/home/dsymonds1...', 766) [Thu Sep 29 00:42:29.005646 2022] [fcgid:warn] [pid 1123:tid 140506412410624] [client 90.200.134.128:55454] mod_fcgid: stderr: #1 /home/dsymonds1/ask.damiensymonds.net/init.php(766): trigger_error('Class IPS\\\\core\\\\...', 256) [Thu Sep 29 00:42:29.005654 2022] [fcgid:warn] [pid 1123:tid 140506412410624] [client 90.200.134.128:55454] mod_fcgid: stderr: #2 /home/dsymonds1/ask.damiensymonds.net/system/Task/Task.php(269): IPS\\IPS::autoloader('IPS\\\\core\\\\AdminN...') [Thu Sep 29 00:42:29.005662 2022] [fcgid:warn] [pid 1123:tid 140506412410624] [client 90.200.134.128:55454] mod_fcgid: stderr: #3 /home/dsymonds1/ask.damiensymonds.net/system/Task/Task.php(224): IPS\\_Task->run() [Thu Sep 29 00:42:29.005671 2022] [fcgid:warn] [pid 1123:tid 140506412410624] [client 90.200.134.128:55454] mod_fcgid: stderr: #4 /home/dsymonds1/ask.damiensymonds.net/system/Dispatcher/Standard.php(322): IPS\\_Task->runAndLog() [Thu Sep 29 00:42:29.005679 2022] [fcgid:warn] [pid 1123:tid 140506412410624] [client 90.200.134.128:55454] mod_fcgid: stderr: #5 [internal function]: IPS\\Dispatcher\\_Standard->__destruct() [Thu Sep 29 00:42:29.005687 2022] [fcgid:warn] [pid 1123:tid 140506412410624] [client 90.200.134.128:55454] mod_fcgid: stderr: #6 {main} [Thu Sep 29 00:42:29.005694 2022] [fcgid:warn] [pid 1123:tid 140506412410624] [client 90.200.134.128:55454] mod_fcgid: stderr: thrown in /home/dsymonds1/ask.damiensymonds.net/init.php on line 766 [Thu Sep 29 01:01:41.064502 2022] [fcgid:warn] [pid 1000:tid 140506412410624] [client 27.99.16.110:59085] mod_fcgid: stderr: PHP Fatal error: Cannot use "parent" when current class scope has no parent in /home/dsymonds1/ask.damiensymonds.net/system/Theme/Theme.php(2703) : eval()'d code on line 37, referer: https://ask.damiensymonds.net/fort/upgrade/extract.php?file=/tmp/IPSu4LMNn.zip&container=ips_f462e&key=b0e3970a3f2092600ba419c9c7e8f5e5&ftp= [Thu Sep 29 01:29:50.865085 2022] [fcgid:warn] [pid 1039:tid 140506412410624] [client 27.99.16.110:50885] mod_fcgid: stderr: PHP Fatal error: Cannot use "parent" when current class scope has no parent in /home/dsymonds1/ask.damiensymonds.net/system/Theme/Theme.php(2703) : eval()'d code on line 37 [Thu Sep 29 01:39:03.683787 2022] [fcgid:warn] [pid 1000:tid 140506412410624] [client 27.99.16.110:51302] mod_fcgid: stderr: PHP Fatal error: Cannot use "parent" when current class scope has no parent in /home/dsymonds1/ask.damiensymonds.net/system/Theme/Theme.php(2703) : eval()'d code on line 37
Marc Posted September 29, 2022 Posted September 29, 2022 Those appear to be due to it not being upgraded yet. Please update access details on file, and we can then take a look
Damien Symonds Posted September 29, 2022 Author Posted September 29, 2022 2 minutes ago, Marc Stridgen said: Please update access details on file I'm so sorry, where do I do that?
Marc Posted September 29, 2022 Posted September 29, 2022 Could you please update these details by visiting your client area, selecting the relevant purchase, then clicking "Review/Update Access Information" under the "Stored Access Information" section. We look forward to further assisting you.
Damien Symonds Posted September 29, 2022 Author Posted September 29, 2022 2 minutes ago, Marc Stridgen said: Could you please update these details by visiting your client area, selecting the relevant purchase, then clicking "Review/Update Access Information" under the "Stored Access Information" section. Okay, to the best of my knowledge, I've done that.
Solution Marc Posted September 29, 2022 Solution Posted September 29, 2022 Please visit the /admin/upgrade again (replacing with your admin location if needed). You were missing files there
Damien Symonds Posted September 29, 2022 Author Posted September 29, 2022 Thank you, I'll try it now.
Damien Symonds Posted September 29, 2022 Author Posted September 29, 2022 I'm in, thank you SO much, Marc.
Marc Posted September 30, 2022 Posted September 30, 2022 No problem at all. Glad to see things are now sorted for you
Recommended Posts