Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 4 of 4
  1. #1
    Regular Coder grumpy's Avatar
    Join Date
    Oct 2006
    Location
    Visible light spectrum
    Posts
    121
    Thanks
    5
    Thanked 6 Times in 6 Posts

    Angry 500 server error accessing php file

    I get:

    The page cannot be displayed
    There is a problem with the page you are trying to reach and it cannot be displayed.

    --------------------------------------------------------------------------------

    Please try the following:


    HTTP 500 - Internal server error
    Internet Explorer

    when accessing the file at: http://www.gonumerology.com/__lgn-96...n_96314278.php

    Here is the code of this file. It worked for a bit and then just started displaying this error out of the blue.

    Thanks,

    Bo
    Last edited by grumpy; 03-14-2010 at 05:34 PM. Reason: Solved

  • #2
    Senior Coder
    Join Date
    May 2005
    Posts
    2,137
    Thanks
    96
    Thanked 72 Times in 72 Posts
    This isn't a problem with the script, it's a server error. If you are using a hosting company then their server went down, if you host it yourself, it's yours.

    Usually comes back up within 30 minutes to 2 hours.

    I don't see anything in that script that would cause it.


    The Web server (running the Web Site) encountered an unexpected condition that prevented it from fulfilling the request by the client (e.g. your Web browser) for access to the requested URL.

    This is a 'catch-all' error generated by the Web server. Basically something has gone wrong, but the server can not be more specific about the error condition in its response to the client. In addition to the 500 error notified back to the client, the Web server should generate some kind of internal error log which gives more details of what went wrong. It is up to the operators of the Web server site to locate and analyse these logs.

    Any client (e.g. your Web browser) goes through the following cycle when it communicates with the Web server:

    * Obtain an IP address from the IP name of the site (the site URL without the leading 'http://'). This lookup (conversion of IP name to IP address) is provided by domain name servers (DNSs).
    * Open an IP socket connection to that IP address.
    * Write an HTTP data stream through that socket.
    * Receive an HTTP data stream back from the Web server in response. This data stream contains status codes whose values are determined by the HTTP protocol. Parse this data stream for status codes and other useful information.

    This error occurs in the final step above when the client receives an HTTP status code that it recognises as '500'.
    This error can only be resolved by fixes to the Web server software. It is not a client-side problem. It is up to the operators of the Web server site to locate and analyse the logs which should give further information about the error.
    Last edited by masterofollies; 03-14-2010 at 04:09 PM.
    Rowsdower! has accused me of having mental problems, and the administrator allowed it. What a great forum huh?

  • #3
    Regular Coder grumpy's Avatar
    Join Date
    Oct 2006
    Location
    Visible light spectrum
    Posts
    121
    Thanks
    5
    Thanked 6 Times in 6 Posts
    Well the server should be working fine:

    The main index page shows up without issues http://gonumerology.com and all the other pages work as well, just this one doesn't, so it's definitely problem with the file.

  • #4
    Regular Coder grumpy's Avatar
    Join Date
    Oct 2006
    Location
    Visible light spectrum
    Posts
    121
    Thanks
    5
    Thanked 6 Times in 6 Posts
    FIXED. The database update call was in the wrong place - after the while loop when it should have been inside it.

    Bo


  •  

    Posting Permissions

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