Jump to content

Recommended Posts

Posted

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 :)

Posted

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?

Posted

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

error-index.jpg.789e9644d1a2d95f18a99adc01dd4952.jpg

Admin error

error-admin.jpg.c19c67b9e11df9ee0afc1a944b1541f1.jpg

Posted

"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.

Posted

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.

Posted (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 by AnonymousDev
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...