[Error] Error Code 500- Internal Server Error

Rating: 2.8/5
Views: 2293


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


Output generated by ProSupport
Copyright © 2024 ProPanelSystems.com - ProSupport v0.9.1 Rev. 1