arrowman Posted November 25, 2022 Posted November 25, 2022 Hello, I uploaded the files for the update. then I opened "example.com/admin/upgrade". The whole process was fast and I logged in with the AdminCP credentials. Once inside, I clicked on the link to visit the site which looked a bit different, probably because the theme was out of date. I noticed that the Chatbox app was no longer activated, so I activated it. then i revisited the site and got a 500 error. I went back to the CP and clicking somewhere else got another 500 error. When I try to go to "example.com/admin/upgrade" I get a message saying "There are no apps available to upgrade". Should I delete everything and start over or... Thanks in advance
Randy Calvert Posted November 25, 2022 Posted November 25, 2022 You can use recovery mode to disable all of your 3rd party resources. Basically you’re creating (or adding to an existing) constants.php file that has a variable that enables recovery mode. Once you upload the file, visit your ACP. When you login, you’ll see a message about things being disabled. Once it finishes, remove that variable. That should fix your issue. Make sure you update your third party resources. If no updates are available you might need to remove it. Meddysong 1
Marc Posted November 25, 2022 Posted November 25, 2022 Please also check y our server error logs, as that may give you an indication as to what is actually causing the problem
arrowman Posted November 25, 2022 Author Posted November 25, 2022 The community resides on a server provider running PHP 8.1 and Apache 2.4. The browser console does not show any errors.
arrowman Posted November 25, 2022 Author Posted November 25, 2022 8 hours ago, Randy Calvert said: You can use recovery mode to disable all of your 3rd party resources. Basically you’re creating (or adding to an existing) constants.php file that has a variable that enables recovery mode. Once you upload the file, visit your ACP. When you login, you’ll see a message about things being disabled. Once it finishes, remove that variable. That should fix your issue. Make sure you update your third party resources. If no updates are available you might need to remove it. I understand, thank you. It's just that I can't find constants.php
Marc Posted November 25, 2022 Posted November 25, 2022 You create a file named constants.php 41 minutes ago, arrowman said: The browser console does not show any errors. Its your server error logs you need to be checking, not your console. If you are unsure how to do this, you would need to contact your hosting company for assistance.
arrowman Posted November 25, 2022 Author Posted November 25, 2022 21 minutes ago, Marc Stridgen said: You create a file named constants.php Its your server error logs you need to be checking, not your console. If you are unsure how to do this, you would need to contact your hosting company for assistance. I would like to avoid starting to search the server. Shouldn't the error be something trivial? The most logical seems to be to log in in safe mode as Randy Calvert suggests, but where to get constants.php to edit and upload?
Marc Posted November 25, 2022 Posted November 25, 2022 2 hours ago, arrowman said: I would like to avoid starting to search the server. Shouldn't the error be something trivial? It very likely is, yes. However without looking at your server error logs, you wont know what 'it' is, unfortunatetely. You can of course use recovery mode which will allow you to disable everything, but that will not tell you specifically which item was causing your issue. 2 hours ago, arrowman said: The most logical seems to be to log in in safe mode as Randy Calvert suggests, but where to get constants.php to edit and upload? I feel you may be misunderstanding this part. You create a file named constants.php, and add that text. So you are not looking for a file here.
arrowman Posted November 25, 2022 Author Posted November 25, 2022 49 minutes ago, Marc Stridgen said: It very likely is, yes. However without looking at your server error logs, you wont know what 'it' is, unfortunatetely. You can of course use recovery mode which will allow you to disable everything, but that will not tell you specifically which item was causing your issue. I feel you may be misunderstanding this part. You create a file named constants.php, and add that text. So you are not looking for a file here. What text?
Randy Calvert Posted November 25, 2022 Posted November 25, 2022 (edited) 7 minutes ago, arrowman said: What text? As per: Quote <?php define('RECOVERY_MODE',True); If you don't have a file named constants.php in the root of your site (meaning in the same folder as conf_global.php), you simply create a new file with that what is noted above and upload it to your site. Once recovery mode is complete, you'll then remove it afterwards. (The ACP will not let you login with recovery mode enabled once it's disabled everything.) Edited November 25, 2022 by Randy Calvert
arrowman Posted November 25, 2022 Author Posted November 25, 2022 Hello, I followed the instructions and logged in. Once I logged in I received a message that I could check out the constants.php file. I did so, but the topic is gone and I'm only seeing the text with links. If I visit the site and click on any link, I get a 404 error.
Jim M Posted November 25, 2022 Posted November 25, 2022 Please disable rewritten URLs in ACP > System > Search Engine Optimization. If that fixes your issue, you will need to download the .htaccess provided on that same page and apply it to your server before being able to re-enable rewritten URLs SeNioR- 1
arrowman Posted November 25, 2022 Author Posted November 25, 2022 Thanks, Jim but that's not possible to do as you suggest.
Randy Calvert Posted November 25, 2022 Posted November 25, 2022 (edited) 1 hour ago, Randy Calvert said: Once recovery mode is complete, you'll then remove it afterwards. You need to remove the recovery flag now that it is complete. 🙂 If that was the only thing in constants file, just delete the whole file. If there were other things just remove the recovery line and reupload. Edited November 25, 2022 by Randy Calvert
Jim M Posted November 25, 2022 Posted November 25, 2022 1 minute ago, arrowman said: Thanks, Jim but that's not possible to do as you suggest. You would need to remove that line as instructed
arrowman Posted November 25, 2022 Author Posted November 25, 2022 Deleting constant.php and then clicking some link. eg "Search Engine Optimization" the whole framework breaks.
arrowman Posted November 25, 2022 Author Posted November 25, 2022 (edited) Edited November 25, 2022 by arrowman
Randy Calvert Posted November 25, 2022 Posted November 25, 2022 Use the support link and then click the link to clear the system cache.
arrowman Posted November 25, 2022 Author Posted November 25, 2022 Hi, thanks for all the help so far. We are very close to the goal (10% remaining). The thing is that in step 1 I have identified the application (Chatbox) and in step 2 the background theme (Chameleon Dark) but I am missing the IPS one or the one that the system uses by default. I can't think of how to continue. When trying to match or search for it in the market place I get 404 errors.
Jim M Posted November 25, 2022 Posted November 25, 2022 To create an unmodified theme, you would simply create a new theme in ACP > Customizations > Themes 🙂
arrowman Posted November 25, 2022 Author Posted November 25, 2022 It's a copy, I just changed the name to "Clásico". I clicked on "Not in Marketplace" and proceeded to the end. I have to check if it works well. in any case I get a 404 error from something. Thank you, Jim! SeNioR- 1
arrowman Posted November 25, 2022 Author Posted November 25, 2022 On the site the links do not find anything and I only receive eroor 404. I think I should rest. Thanks for everything.
Solution arrowman Posted November 26, 2022 Author Solution Posted November 26, 2022 Hello! It works without errors! Thanks for all the help! In short, the error, it seems to me, was largely due to the cache: Uncaught (in promise) TypeError: Could not execute 'addAll' on 'Cache': Request failed. this error message persisted to the end. There were several steps and it is difficult to give credit to anyone. The solution to the "No apps available to update" problem was a collective contribution that I'll try to summarize: [Randy Calvert] 1) Log in to safe mode after uploading a php file called "constants.php" containing the line of code: <?php define('RECOVERY_MODE',True); 2) Once logged in, remove the line of code or the entire "constant.php" file from the server. I think at this point it would have been better to have continued with: [Randy Calvert] Use the support link and then click the link to clear system cache. but I continued with: [Jim M.] 1) Disable URL rewrites in ACP > System > Search Engine Optimization. 2) Download ".htaccess" provided on the same page and upload it to the server. 3) Enable URL Rewrites in ACP > System > Search Engine Optimization.
Randy Calvert Posted November 26, 2022 Posted November 26, 2022 I'm glad you were able to get the problems squared away!
arrowman Posted November 27, 2022 Author Posted November 27, 2022 (edited) Thank you, Randy! And thank you, Jim! Edited November 27, 2022 by arrowman
Recommended Posts