Invision Community 4: SEO, prepare for v5 and dormant account notifications Matt November 11, 2024Nov 11
Posted March 10, 20223 yr Hello. I've tried twice now to install the latest update. I cleared the cache in between. I get the following error - Error: Class 'IPS' not found (0) #0 /home/customer/www/mysite.co.uk/public_html/forums/applications/core/modules/admin/system/upgrade.php(569): IPS\_Log::log(Object(LogicException), 'auto_upgrade') #1 /home/customer/www/mysite.co.uk/public_html/forums/system/Helpers/Wizard/Wizard.php(181): IPS\core\modules\admin\system\_upgrade->_login(Array) #2 /home/customer/www/mysite.co.uk/public_html/forums/applications/core/modules/admin/system/upgrade.php(109): IPS\Helpers\_Wizard->__toString() #3 /home/customer/www/mysite.co.uk/public_html/forums/system/Dispatcher/Controller.php(101): IPS\core\modules\admin\system\_upgrade->manage() #4 /home/customer/www/mysite.co.uk/public_html/forums/applications/core/modules/admin/system/upgrade.php(54): IPS\Dispatcher\_Controller->execute() #5 /home/customer/www/mysite.co.uk/public_html/forums/system/Dispatcher/Dispatcher.php(153): IPS\core\modules\admin\system\_upgrade->execute() #6 /home/customer/www/mysite.co.uk/public_html/forums/admin/index.php(13): IPS\_Dispatcher->run() #7 {main} (I changed my urls to mysite.co.uk). I've checked and all of the URLs listed exist in the exact place that is shown. However, I don't know what the folder IPS is supposed to be?
March 10, 20223 yr Community Expert It seems you are missing files there, so I would advise on uploading a fresh set of files from your client area first of all, and then trying the upgrade again from /admin/upgrade
March 10, 20223 yr Author Thanks marc, which files are missing please? I've just downloaded fresh files from client area and there are no folders in there I don't have. All the files "not found" in the error are fully present, apart from ones at the end of lines mentioning a folder called IPS, but there's no IPS folder in the core files either so I'm confused.
March 10, 20223 yr Community Expert It would be various. IPS is actually the namespace. Please upload all files and folders, then any that are missing would be readded
March 11, 20223 yr Author Thanks again Mark. I've been running IPS forums for well over 10 years, I've never had files go missing before. How is that even possible? The forums have been and were working perfectly okay. I uploaded all of the files and the upgrade appeared to work okay. But now whenever I log into my control panel I get the following message - Your site is ready to upgrade A new version is available to install and it is strongly recommended that you complete the upgrade process for this new version before continuing to the AdminCP. Sometimes changes in new versions will result in errors until the upgrade process has been completed. Needless to say whenever I select complete upgrade it takes me to a page that tells me there's nothing to upgrade. I've tried clearing the cash in my browser, and on my dashboard. Is this something to do with a leftover file that can be deleted?
March 11, 20223 yr Once you uploaded the new files did you run yourdomain.com/admin/upgrade. It will walk you through the upgrade process.
March 11, 20223 yr Author 7 minutes ago, Randy Calvert said: Once you uploaded the new files did you run yourdomain.com/admin/upgrade. It will walk you through the upgrade process. Yes, thanks, the update completed successfully and everything works ok. The issue was that each time I logged into my dashboard, it said there was an incomplete update and gave the option to complete it. Whenever I clicked to complete the update it reported that there was no update to complete. After this I was taken to my dashboard where everything looked okay. As it happens, I just logged in for the fifth time and this time the messages disappeared. Another puzzle.
March 11, 20223 yr It sounds like something was cached. If you’ve completed the upgrade and see issues, go to the support section and choose the option to clear the system cache. That fixes 95% of temporary post upgrade issues.
March 11, 20223 yr Author Thanks Randy. I did that 3 times, plus I deleted my browser cache before posting. Maybe the browser cache clear only came into effect after I restarted the browser later as it eventually fixed itself?
March 11, 20223 yr That’s super odd!! And it’s possible the restart cleared it out if it was only happening locally. Either way… at least it’s fixed!
March 11, 20223 yr Community Expert Glad to hear that it is fixed. Please let us know if we can be of assistance.
March 14, 20223 yr Community Expert The manual part we are aware of an was resolved. It seems you were caught before it was resolved. As mentioned above, the part with it hanging on needing to complete an update sounds like a cache issue on the browser. Either way, glad to see you got it through