Server Error

Discussion in 'HTML & Website Design' started by amith.gotamey, Oct 12, 2008.

  1. #1
    This is the error i get:

    Server error!

    The server encountered an internal error and was unable to complete your request.

    Error message:
    Premature end of script headers: index.php

    If you think this is a server error, please contact the webmaster.
    Error 500

    plez help me solve it....
     
    amith.gotamey, Oct 12, 2008 IP
  2. bluetrendz

    bluetrendz Peon

    Messages:
    23
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    are the any scripts accessing the DOM elements


    ie:
    getElementById etc...
     
    bluetrendz, Oct 12, 2008 IP
  3. awesometbn

    awesometbn Peon

    Messages:
    268
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    0
    #3
    What were you doing to get the error? Sounds like a default error page from the server, but you can customize it, or redirect users to another page instead of seeing the default error message. Kind of like custom 404 error pages if you want to.

    I've seen this before when permissions are incorrect on certain files, or when a script is not executable. Check your server logs and let us know more information so we can help you.

    Do you get the same error for any PHP file? Create a new file with the following code for a simple PHP script, and see if you get the same error.
    
    <?php
    phpinfo();
    ?> 
    
    Code (markup):
    See also http://pcsupport.about.com/od/findbyerrormessage/a/500servererror.htm

    The 500 Internal Server Error is a "server-side" error, meaning the problem is not with your PC or Internet connection but instead is a problem with the web site's server. Even though the issue is not yours to troubleshoot or resolve, there are a few things you can do:

    1. Retry the web page by clicking the refresh/reload button or trying the URL from the address bar again. Even though the 500 Internal Server Error is reporting a general error on the web site's servers and not your computer, the server error may only be temporary. Trying the page again will often be successful.

    Note: If the 500 Internal Server Error message appears during the checkout process at an online merchant, be aware that duplicate attempts to checkout may end up creating multiple orders - and multiple charges! Most merchants have automatic protections from these kinds of actions but it's still something to keep in mind.

    2. Come back later. The 500 Internal Server Error message is one of the most common error message seen when checking out during an online purchase so sales are often disrupted. This is usually a great incentive to resolve the issue very quickly.
     
    awesometbn, Oct 13, 2008 IP
  4. Bohra

    Bohra Prominent Member

    Messages:
    12,573
    Likes Received:
    537
    Best Answers:
    0
    Trophy Points:
    310
    #4
    Some times if u chmod the folder 777 u get the error too
     
    Bohra, Oct 13, 2008 IP