Black Six Posted July 8, 2022 Posted July 8, 2022 I went through the upgrade process to 4.7 today and received no errors. After the process completed, I went back to my Admin Control Panel but now all I see is: [[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.]] Of course I can't run the support tool since I can't get to the ACP. In the past I experienced a similar issue that was caused by missing tables, but I can't imagine how that happened today since I only ran the 4.7 upgrade process and didn't touch our database at all.
Mark H Posted July 8, 2022 Posted July 8, 2022 Please try using Recovery Mode: Scroll to the bottom of the page, the section titled "Recovery Mode (Self hosted only)", and please make certain to follow all instructions in order.
Black Six Posted July 8, 2022 Author Posted July 8, 2022 1 hour ago, Mark H said: Please try using Recovery Mode: Scroll to the bottom of the page, the section titled "Recovery Mode (Self hosted only)", and please make certain to follow all instructions in order. I added the line to my constants.php file, but nothing changed on the ACP. I still see the same error.
Mark H Posted July 8, 2022 Posted July 8, 2022 I'm seeing that issue, yes. (I've also removed the recovery line from your constants.php file.) As the next step, please download a fresh copy of the software from the Client Area and extract it to your desktop. It will create a folder named ips_xxxxx (xxxxx is random string) Then use an FTP client and upload the contents of that ips_xxxxx folder to your forum main folder, overwriting when prompted and making sure all files transfer without error. Once done, first visit the upgrade URL directly at ./admin/upgrade/ to see if there is a minor upgrade that needs to be applied. (Perform that upgrade if one shows.) Then visit the Admin panel URL and see if you can now login. If you can't, please reply here.
Black Six Posted July 9, 2022 Author Posted July 9, 2022 I uploaded all of the files and the upgrader says there is nothing to upgrade, but the error is persisting.
Marc Posted July 9, 2022 Posted July 9, 2022 I have created a ticket on this for you, so we can get it looked into further.
B24 Posted July 11, 2022 Posted July 11, 2022 I'm having this exact issue also. Tried recovery mode, doesn't work. Tried re-uploading all files and upgrading again. No upgrade available. Anything else I can try?
Black Six Posted July 11, 2022 Author Posted July 11, 2022 2 hours ago, B24 said: I'm having this exact issue also. Tried recovery mode, doesn't work. Tried re-uploading all files and upgrading again. No upgrade available. Anything else I can try? @Stuart Silvester Was able to get it working for me. Hopefully he can help you too!
Solution Marc Posted July 11, 2022 Solution Posted July 11, 2022 You had an empty string on your conf_global that was causing this on the following constant. This was resolved by my colleague in the ticket to get your site online. $_INFO['board_start'] SeNioR- and Black Six 2
CheersnGears Posted January 8 Posted January 8 I am stuck in this scenario now myself. Got into the AdminCP template issue situation, followed the instructions here to uploaded files and upgrade (went to the latest beta). The template issue remains, but now I don't have a version number I can upgrade to.
Stuart Silvester Posted January 8 Posted January 8 5 minutes ago, CheersnGears said: I am stuck in this scenario now myself. Got into the AdminCP template issue situation, followed the instructions here to uploaded files and upgrade (went to the latest beta). The template issue remains, but now I don't have a version number I can upgrade to. Have a look in the `core_log` table, order it by newest and see if there's anything logged for the AdminCP URL. You should see something indicating what the issue is.
CheersnGears Posted January 8 Posted January 8 4 minutes ago, Stuart Silvester said: Have a look in the `core_log` table, order it by newest and see if there's anything logged for the AdminCP URL. You should see something indicating what the issue is. Apparently, just your mere presence was enough to frighten Safe Mode into working because as soon as you replied, I was able to get into recovery mode. 😂 The log is full of variations of: "TypeError: flock(): Argument #1 ($stream) must be of type resource, bool given (0) #0 /home/ddowdell/public_html/cheersandgears.com/system/Theme/Cache/Template.php(90): flock(false, 1) #" and Error: Call to undefined method IPS\Lang::recordWord() (0) #0 /home/ddowdell/public_html/cheersandgears.com/applications/cms/sources/Theme/Theme.php(610) : eval()'d code(3061)
Marc Posted January 9 Posted January 9 Usually that would be as a result of outdated code in a database template somewhere, so would start with reverting and testing those
CheersnGears Posted January 9 Posted January 9 5 hours ago, Marc Stridgen said: Usually that would be as a result of outdated code in a database template somewhere, so would start with reverting and testing those So I think what happened is that my server was having some ill-timed disk write issues. Moves and Copies were failing. Permissions were getting screwed up. I restarted the server and re-uploaded the files and was able to get back in via safe mode and put things back together again.
Recommended Posts