Support Central » Knowledgebase » Knowledgebase Article Not logged in. Login
 
Announcements

Knowledge Base

Submit a Ticket

Client Login
Article » [Error] Error Code 500- Internal Server Error

Rating:
Was this article helpful? YES NO MODERATELY
Views: 2287
Printable Version


Page throwing a 500 Internal Server Error?

Here are some things you can do to help troubleshoot the errors.

For Perl Scripts:
After you are positive that you have uploaded your CGI scripts in ascii mode and have set the permissions correctly (usually 755)?

If yes, you might consider adding a "- w" after the shebang line (#!/usr/bin/perl)

Your shebang will then look like this:

CODE:
#!/usr/bin/perl -w



This will sometimes cause Perl to spit out exactly what the issue is.

For PHP Scripts:
After you are positive that you have uploaded your PHP scripts in binary mode and have set the permissions correctly (usually 644 or 444)?

View the error logs!

Did you know that your control panel has error logging enabled?

This lets you see where the script might be failing as well.

Log into the control panel and select Stats > Error Log.

You might even see "error_log" in the same directory that your scripts run in. This can be a good place to start.

Follow-up and discuss this topic in our forums
Help Desk Powered By ProSupport v0.9.1