Invision Community 4: SEO, prepare for v5 and dormant account notifications Matt November 11, 2024Nov 11
Posted November 5, 20204 yr 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 :)
November 5, 20204 yr Community Expert 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?
November 5, 20204 yr Author 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
November 5, 20204 yr 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.
November 5, 20204 yr "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.
November 5, 20204 yr 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.
November 5, 20204 yr Author 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.
November 6, 20204 yr @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.
November 6, 20204 yr Author 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, 20204 yr by AnonymousDev