AnonymousDev Posted November 5, 2020 Posted November 5, 2020 Hi there, After being away from the office I've found out that my site is giving out a 500 error, the admin URL also gives a 500 error. I can however access my email fine. What are some suggested approaches to find the issue? Thanks all :)
Miss_B Posted November 5, 2020 Posted November 5, 2020 The 500 Internal Server Error is server related. Have you asked your host about it? P.s. What was the last modification/change that was done to the forum before this happened btw? Can you check the error log in yourcPanel to see what errors have been logged in there? AnonymousDev 1
AnonymousDev Posted November 5, 2020 Author Posted November 5, 2020 Thanks for the reply @Miss_B I'm running the site on a VPS, I can't find any recent errors in the log unless it's not displaying correctly (it's a huge file). I've made no changes to the forum or server. The 500 error looks formatted to IPS, I could be wrong. Index error Admin error
Morrigan Posted November 5, 2020 Posted November 5, 2020 So as stated. 500 errors are server side. This could be permissions? It’s really difficult to say without knowing what your server is saying is the problem. Eric BXL 1
CoffeeCake Posted November 5, 2020 Posted November 5, 2020 "Malformed communication packet" is a good clue (that message is coming from MySQL): https://dba.stackexchange.com/questions/102567/sql-error-2027-malformed-packet For 500 server errors, you'll likely be wanting to look at the various logs maintained by your web server (apache, nginx, etc.), php error logs (enable them temporariliy if you have them disabled), your MySQL logs, and your general server logs (system/messages/etc.). Reviewing these for errors will give you clues as to root causes. 8 hours ago, AnonymousDev said: I can't find any recent errors in the log unless it's not displaying correctly (it's a huge file). Use command line tools like tail, less, and grep to find relevant entries in text log files. You typically can only look at the most recent entries, which tail, piped into less would be a great start. Type "man <command>" to read the documentation.
Nathan Explosion Posted November 5, 2020 Posted November 5, 2020 This is the most likely cause https://jira.mariadb.org/browse/MDEV-24121 CoffeeCake 1
bfarber Posted November 5, 2020 Posted November 5, 2020 Cpanel pushed out a MariaDB update automatically the other night which is not compatible with PHP < 7.3. Upgrade PHP to 7.3+ or downgrade MariaDB. Eric BXL 1
AnonymousDev Posted November 5, 2020 Author Posted November 5, 2020 Hey everyone thanks for your replies. In a support ticket the IPS guys pointed out the MariaDB update. I upgraded to PHP 7.4 and the site was back up and running. Thanks IPS support and all above, your help is very much appreciated. Eric BXL 1
Jipa331 Posted November 6, 2020 Posted November 6, 2020 @AnonymousDev How did you update your PHP? I've got same problem as you but when I tried to update my PHP version, it just shows same HTTP 500 Error message with an another html style.
AnonymousDev Posted November 6, 2020 Author Posted November 6, 2020 (edited) 50 minutes ago, PureBerry PureBerry said: How did you update your PHP? Hey @PureBerry PureBerry I am running my site on a VPS and don't have huge server knowledge by any means so I opt for the WHM interface over command line. In WHM I went to Software >Easy Apache 4 and then installed PHP 7.4. Once that was done I deleted my older PHP version. Let us know if that helps, perhaps you are upgrading with a different method. Edited November 6, 2020 by AnonymousDev
Recommended Posts