Results 1 to 6 of 6

Thread: [Error] Error Code 500- Internal Server Error

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Matt's Avatar
    Matt is offline GlowHost Administrator
    Join Date
    Jan 2005
    Location
    Behind your monitor
    Posts
    6,266

    Default [Error] Error Code 500- Internal Server Error

    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.
    Last edited by Matt; 09-06-2010 at 12:08 PM.
    Send your friends and site visitors to GlowHost and get $125 plus bonus!
    GlowHost Affiliate Program | Read our Blog | Follow us on X |

Similar Threads

  1. ffmpeg.so error
    By Scott in forum General Support
    Replies: 1
    Last Post: 06-01-2009, 08:36 AM
  2. cP Backup Error
    By bdominick in forum WHM, Resellers, VPS and Dedicated Hosting Topics
    Replies: 1
    Last Post: 05-28-2009, 12:10 PM
  3. Replies: 0
    Last Post: 03-29-2008, 10:31 AM
  4. Replies: 0
    Last Post: 10-23-2007, 03:10 PM
  5. Internal server error
    By andychev in forum General Support
    Replies: 3
    Last Post: 03-25-2007, 05:48 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14