Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt Monday at 02:04 PM
1stRaiders Posted July 4, 2023 Posted July 4, 2023 On July 1 an update was pushed to our site without warning, which ended up completely crashing our site. We are receiving this error after completing a restore via a backup (6/28) and now receive the following prompt across all pages including within the AdminCP: [[Template core/global/global/includeJS is throwing an error. This theme may be out of date. Run the support tool in the AdminCP to restore the default theme.]] After restoring, that error also is preventing new posts from being created and our drop down menus no longer work for a plugin on our site, PERSCOM. The system log shows the following errors: Error: Call to undefined method IPS\Request::getEssentialCookies() in /home4/stmarine/public_html/system/Theme/Theme.php(885) : eval()'d code:2316 Stack trace: #0 /home4/stmarine/public_html/system/Theme/SandboxedTemplate.php(61): IPS\Theme\class_core_global_global->includeJS() #1 /home4/stmarine/public_html/system/Theme/Theme.php(885) : eval()'d code(1234): IPS\Theme_SandboxedTemplate->call('includeJS', Array) #2 /home4/stmarine/public_html/system/Theme/SandboxedTemplate.php(61): IPS\Theme\class_core_admin_global->globalTemplate('1a9db04b016e312...', '\n<div data-base...', Array) #3 /home4/stmarine/public_html/system/Dispatcher/Dispatcher.php(173): IPS\Theme_SandboxedTemplate->call('globalTemplate', Array) #4 /home4/stmarine/public_html/system/Dispatcher/Standard.php(113): IPS_Dispatcher->finish() #5 /home4/stmarine/public_html/system/Dispatcher/Dispatcher.php(155): IPS\Dispatcher_Standard->finish() #6 /home4/stmarine/public_html/admin/index.php(13): IPS_Dispatcher->run() #7 {main} LOADED HOOKS applications/perscom/hooks/perscomCss.php applications/perscom/hooks/perscomMember.php Any assistance is greatly appreciated.
Marc Posted July 5, 2023 Posted July 5, 2023 10 hours ago, 1stRaiders said: On July 1 an update was pushed to our site without warning, which ended up completely crashing our site. Im not sure where you got this impression, but there is no function within the software at all that pushes an update. It has to be actioned by yourself or another member of admin. Letting you know this, as you may want to investigate that on your end. In terms of the restore, if things are not working then the restore would seem not to have been performed fully. It does sound like it may simply be a cache problem there though. Try these things first of all Test without any 3rd party items enabled Go to support in the admin CP, and click on clear cache Go to System>Site Features>Applications and disable an application (doesnt matter which) and re-enable it, as this will rebuild some items.
1stRaiders Posted July 5, 2023 Author Posted July 5, 2023 Hi Marc, We created a cross-post in the technical problems as this appeared to be more than a general issues. Somehow that post has been deleted over the last several hours, unsure how, but there was a bit more information provided regarding the issue within that post. There are only a few people who have access to those functions to push an update, none of which did so in this situation. It is believed this may have been some update from the hosting provider, but they have also remained unresponsive to our requests for assistance. We have cleared the cache several times, as well as having tried recovery mode to fix the errors, all without any success. Reverting to the Invision theme and disabling custom items also has not fixed any of the issues. As to the applications, when you say "disable" there is no option presented in our ACP for that, do you mean that we should uninstall those applications and reinstall them? We presently only run 5 applications (System, Forums, Calendar, Pages and PERSCOM) all of which are currently up to date (4.7.11.1). We had tried previously with disabling PERSCOM to see whether that was the issue, but the problems persisted. Additionally, there remains an issue with the support tab as the loading wheels will spin indefinitely and never fully load to assess whether there is any issues on the site. I have attached a photo for reference. Apart from the theme prompt issue, the text box within forum posts, both for creating new topics, editing, and replying presents as a small bar that is not able to be selected or typed within. I have also attached a photo for reference.
Marc Posted July 5, 2023 Posted July 5, 2023 Try emptying the datastore folder. When I say disable, I mean go to System>Site Features>Application and click on the "Enabled" button for one of the applications, which will disable it. Then click to enable it again
1stRaiders Posted July 5, 2023 Author Posted July 5, 2023 We have tried both suggestions without success. All issues have continued to persist.
Nathan Explosion Posted July 5, 2023 Posted July 5, 2023 (edited) At least on the front-end, you are completely missing the JS files that are provided via the includeJS template. I know you have provided a screenshot that shows 4.7.11.1 as the software version but checking your site, it appears you are running 4.7.6 (I dug down earlier into the versions.json) If you have installed a theme that is for 4.7.11.x then it could explain why this... 20 hours ago, 1stRaiders said: IPS\Request::getEssentialCookies() ...exists, as that was only introduced in v4.7.11 of the code. What happens if you switch to an unaltered Invision theme? Edited July 5, 2023 by Nathan Explosion
1stRaiders Posted July 5, 2023 Author Posted July 5, 2023 We have tried the base Invision theme and it has not solved anything. How would we go about fixing any update/software update when we cannot access the support tool in ACP or in when in Recovery?
Jim M Posted July 5, 2023 Posted July 5, 2023 Would verify that your uploads folder and all sub-folders are writable on your server. Then clear the datastore folder again on your file system.
1stRaiders Posted July 5, 2023 Author Posted July 5, 2023 (edited) Hi Jim, Our public_html/_forums folder and all sub-folders within are writable. Clearing the datastore folder has not produced any changes to either the error or the support tab issue. I have attached photographs for reference: Edited July 5, 2023 by 1stRaiders
Jim M Posted July 5, 2023 Posted July 5, 2023 You would want to verify with your hosting provider that 755 is writable. This can be 777 in some cases.
1stRaiders Posted July 5, 2023 Author Posted July 5, 2023 We have follow those steps, changed to 777 and conducted another wipe of the datestore again to no success. All previously stated issues are persisting.
Jim M Posted July 5, 2023 Posted July 5, 2023 We would need to look further into this for you, however the access details on file appear to be incorrect or missing. 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.
1stRaiders Posted July 5, 2023 Author Posted July 5, 2023 Hi Jim, access information has been updated as requested. Thank you for the assist
Marc Posted July 6, 2023 Posted July 6, 2023 13 hours ago, Nathan Explosion said: At least on the front-end, you are completely missing the JS files that are provided via the includeJS template. I know you have provided a screenshot that shows 4.7.11.1 as the software version but checking your site, it appears you are running 4.7.6 (I dug down earlier into the versions.json) If you have installed a theme that is for 4.7.11.x then it could explain why this... ...exists, as that was only introduced in v4.7.11 of the code. What happens if you switch to an unaltered Invision theme? ^ this is probably the most valid point here. If you are getting that error, you have not restored both files and database to their previous state, as the software is looking for things that simply dont exist in that version.
1stRaiders Posted July 6, 2023 Author Posted July 6, 2023 How would we go about doing such? If it needs to be performed via the Support tab we are unable to access any of the tools due to the failure to properly load. Please advise the steps where we would need to begin performing such a restore.
Marc Posted July 6, 2023 Posted July 6, 2023 This is a hosting thing, rather than a software thing. You mentioned you have restored from a backup, but it seems you have not fully restored
sobrenome Posted December 19, 2023 Posted December 19, 2023 Hello, I am facing the exact same issue here. How could you manage at the end @1stRaiders?
Solution Marc Posted December 20, 2023 Solution Posted December 20, 2023 13 hours ago, sobrenome said: Hello, I am facing the exact same issue here. How could you manage at the end @1stRaiders? If you are facing the exact same issue, then you have a site that hasnt fully been restored. I would suggest checking with your hosting company to see whats going on there though, as you appear to be getting 403s sobrenome 1
sobrenome Posted December 22, 2023 Posted December 22, 2023 thanks @Marc Stridgen! Seems to be fine now! Daniel F 1
Marc Posted December 22, 2023 Posted December 22, 2023 Glad to hear things are working for you 🙂 sobrenome 1
Recommended Posts