Invision Community 5: A video walkthrough creating a custom theme and homepage By Matt Thursday at 04:02 PM
charlie@e-epos.com Posted August 6, 2022 Posted August 6, 2022 Hi, When visiting the admin side, we get the following message ... [[Template core/admin/global/globalTemplate is throwing an error. This theme may be out of date. Run the support tool in the AdminCP to restore the default theme.]] How do we get to reset the theme?
opentype Posted August 6, 2022 Posted August 6, 2022 Usually, you would just revert the specific template that is mentioned, not the entire theme. But keep in mind that this error just gives a generic suggestion. (Note that is says it “may” be out of date.) Following the instruction might not actually fix the problem. To reset the template: Open it in the theme editor and click the Revert button. Keep in mind, this deletes all customization you might have added to the template. To start over with a new theme, click the Create New button on the theme page.
charlie@e-epos.com Posted August 6, 2022 Author Posted August 6, 2022 Thanks, I cant actually get into the admin side at all ... Do you know what files I would need to change / move around in Cpanel? Many thanks
opentype Posted August 6, 2022 Posted August 6, 2022 (edited) There is the Recovery Mode for a situation like this: https://invisioncommunity.com/4guides/client-services/getting-support-r292/ (scroll to the end) Edited August 6, 2022 by opentype
Jim M Posted August 6, 2022 Posted August 6, 2022 57 minutes ago, opentype said: There is the Recovery Mode for a situation like this: https://invisioncommunity.com/4guides/client-services/getting-support-r292/ (scroll to the end) Can use this link with an anchor 🙂 : https://invisioncommunity.com/4guides/client-services/getting-support-r292/#recoverymode
charlie@e-epos.com Posted August 6, 2022 Author Posted August 6, 2022 Hi, Guessing we can't use Recovery mode either ... I have put the entry below in and I still get the same banner ... define('RECOVERY_MODE',True); Really appreciate your efforts, but have you any other ideas?
Jim M Posted August 6, 2022 Posted August 6, 2022 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.
charlie@e-epos.com Posted August 6, 2022 Author Posted August 6, 2022 Thanks Jim, I have updated these Let me know if any problems Ever so grateful for helping out, Thanks
Jim M Posted August 6, 2022 Posted August 6, 2022 Could you please clarify what you were doing prior to this happening? Just want to see if this helps point me in a better direction as things look to be checking out so far.
charlie@e-epos.com Posted August 6, 2022 Author Posted August 6, 2022 It was on an older version, To be fair hadnt had much use, so we were just looking to bring it back upto date. On the Update it said Designed mode was on, so had to turn off. In this process it advised about it copying and updating the theme files. I agreed to that bit, but didn't tick the delete file based versions. Processed with the update and on the Client side it all worked fine. Went to log back into the Admin side and this was unaccessible. I have no objections to wiping the theme, we can always setup a new one? Know the girl who did it a while ago (4 Months plus) will be chuffed at having to do it again, but its really whatever we can do to get it back up and then we can work on getting it right. Sorry there isn't any more info than that, but really was just an upgrade.
Jim M Posted August 6, 2022 Posted August 6, 2022 Before doing any type of restore, I would advise going to the Client Area and downloading a full set of files, extracting these on your computer. Then upload the contents of the "ips_****" folder to your server, overwriting what is there. Then try again.
charlie@e-epos.com Posted August 7, 2022 Author Posted August 7, 2022 Hi, I've updated the contents as advised and now am getting a server error. Gone from Bad to Worse ... Any Ideas? Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator at webmaster@xxxxxxxxx.com to inform them of the time this error occurred, and the actions you performed just before this error. More information about this error may be available in the server error log. Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.
Jim M Posted August 7, 2022 Posted August 7, 2022 8 hours ago, charlie@e-epos.com said: Hi, I've updated the contents as advised and now am getting a server error. Gone from Bad to Worse ... Any Ideas? Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator at webmaster@xxxxxxxxx.com to inform them of the time this error occurred, and the actions you performed just before this error. More information about this error may be available in the server error log. Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request. You’ll want to check what the error is in your server error log. If you do not have access or are unsure how to do this, please contact your hosting provider.
Marc Posted August 8, 2022 Posted August 8, 2022 It seems you hadnt responded here, but the error itself looks to be wrong theme on the wrong version. Have you since resolved this as we are not seeing any problems any longer?
charlie@e-epos.com Posted August 15, 2022 Author Posted August 15, 2022 Hi Guys, We seem to be back to square 1 again ... [[Template core/admin/global/globalTemplate is throwing an error. This theme may be out of date. Run the support tool in the AdminCP to restore the default theme.]] Appreciate we all felt this was over, but can see Marc believes it to be wrong theme on wrong version... Is there any way anyone can give us steps to get any default theme working on any version? We can always upgrade back to current versions etc. We've reuploaded all files a few times, checked database etc - Appreciate we havent that many posts on the system but would be good if we could keep the content. Many thanks
Marc Posted August 15, 2022 Posted August 15, 2022 The issue you have there is a crashed table. Youwill need to contact your hosting company regarding this issue to resolve it for you Quote Can't find file: 'core_cache' (errno: 2 - No such file or directory) (1017)
charlie@e-epos.com Posted August 16, 2022 Author Posted August 16, 2022 Hi, We have fixed this, but are still conscious about the 'wrong theme on the wrong version' and also know that if we goto Admin and change the theme to Default we get back to square 1. Can anyone give instructions on how to 'reinstall/reset' the default theme so that we can safely upgrade and have a working theme. Many thanks
Marc Posted August 16, 2022 Posted August 16, 2022 You would click to create a new theme. If you do this, you create a default unaltered theme
Taszyn Posted September 13, 2022 Posted September 13, 2022 Hello - having the same issue after (attempted) upgrade to 4.7.2 from 4.6.12.1. During an upgrade, after files were unzipped, I have got the following message: [[Template core/admin/global/globalTemplate is throwing an error. This theme may be out of date. Run the support tool in the AdminCP to restore the default theme.]] and since that time I get the same message when trying to access AdminCP page. Recovery mode is not working either. Seems like an entry in constants.php: define('RECOVERY_MODE',True); is simply being ignored. Whatever I do now I get the same message as mentioned above. Ergo - I'm stuck. Luckily I got this on my test page, but until it is solved I will not even get close to touch my production site. Kindly please help.
Jim M Posted September 13, 2022 Posted September 13, 2022 2 minutes ago, Taszyn said: Hello - having the same issue after (attempted) upgrade to 4.7.2 from 4.6.12.1. During an upgrade, after files were unzipped, I have got the following message: [[Template core/admin/global/globalTemplate is throwing an error. This theme may be out of date. Run the support tool in the AdminCP to restore the default theme.]] and since that time I get the same message when trying to access AdminCP page. Recovery mode is not working either. Seems like an entry in constants.php: define('RECOVERY_MODE',True); is simply being ignored. Whatever I do now I get the same message as mentioned above. Ergo - I'm stuck. Luckily I got this on my test page, but until it is solved I will not even get close to touch my production site. Kindly please help. After defining the constant for recovery mode, are you going to the ACP to login? It will not be applied till you do. If you are still receiving an error, please clear your /datastore directory on your server. Then try to login to the ACP again. If that does not help, we will require access to assist: 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.
Taszyn Posted September 13, 2022 Posted September 13, 2022 Thank for your prompt answer Jim. 8 minutes ago, Jim M said: After defining the constant for recovery mode, are you going to the ACP to login? It will not be applied till you do. If you are still receiving an error, please clear your /datastore directory on your server. Then try to login to the ACP again. The datastore directory cleared, with no effect. I will provide you with requested access, just please allow me one or two days. Thanks in advance for your help.
Jim M Posted September 13, 2022 Posted September 13, 2022 3 minutes ago, Taszyn said: I will provide you with requested access, just please allow me one or two days. No worries. Please let us know once they are available.
Taszyn Posted October 14, 2022 Posted October 14, 2022 Sometimes it is worth to wait and do nothing. When I finally had some time to re-approach the issue, it turned out that new 4.7.2 upgrade is available. System detected new version, proposed to finish previous upgrade and performed an upgrade to 4.7.2. All went smooth and now my forum is back on-line and up to date :).
Solution Marc Posted October 14, 2022 Solution Posted October 14, 2022 Excellent. Glad to hear things are working as expected
HighlanderICT Posted May 21 Posted May 21 I am encountering this issue too ... My main site seems to be working well (no errors) but after several weeks of getting the upgrade message on screen and not doing it because it wasn't convenient, I decided to upgrade today. Clicked the upgrade now button, prompts me to login, and then i get the error message Have looked at this thread and tried some suggestions like looking in the datastore folder, and checking for crashed tables - nothing appears to be wrong there. Happy to now try the recovery mode but my main question is whether this resets the frontend themes my users are getting or just the ACP? Our site is little busier than normal this week and the two themes I created, while mostly just color customizations from the default, took a fair bit of effort to get in place. They appear to be working normally for users at the moment so while I may need to work on recreating them if corrupted, I would like my end users to be blissfully unaware of any behind-the-scenes theme recreation if at all possible. OR - is it better, or even possible, to do it the old-school way and upload the new version files via FTP and have the site recognize a new version needs to be installed.
Recommended Posts