Random Server Errors

This is a discussion on Random Server Errors within the PHP Language forums, part of the PHP Programming Forums category; I have developed some courses whereby a php script reads and displays a textfile. Clicking a "Next" button ...


Go Back   Usenet Forums > PHP Programming Forums > PHP Language

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 09-10-2003
Keith Tellinghuisen
 
Posts: n/a
Default Random Server Errors

I have developed some courses whereby a php script reads and displays a
textfile. Clicking a "Next" button increments a variable and submits the
form to the same page, which then reads and displays the next textfile. 99%
of the time, all works well, but occasionally a server error appears.
Refreshing the page seems to solve the problem, although in rare cases it no
longer recognizes the cookie set by the page.

Does anyone have any idea of what to look for to cut down on these server
errors? It is not a 404 page not found error. It happens at apparently
random intervals and cannot be reliably replicated, except that it seems to
happen more often if the user is not taking the time to read the text but
is clicking the "Next" button quite rapidly.

Any help or suggestions would be greatly appreciated.

Keith Tellinghuisen



Reply With Quote
  #2 (permalink)  
Old 09-10-2003
Andy Hassall
 
Posts: n/a
Default Re: Random Server Errors

On Wed, 10 Sep 2003 03:12:04 GMT, "Keith Tellinghuisen"
<keithtell@mindspring.com> wrote:

>I have developed some courses whereby a php script reads and displays a
>textfile. Clicking a "Next" button increments a variable and submits the
>form to the same page, which then reads and displays the next textfile. 99%
>of the time, all works well, but occasionally a server error appears.


Which error?

>Refreshing the page seems to solve the problem, although in rare cases it no
>longer recognizes the cookie set by the page.
>
>Does anyone have any idea of what to look for to cut down on these server
>errors? It is not a 404 page not found error. It happens at apparently
>random intervals and cannot be reliably replicated, except that it seems to
>happen more often if the user is not taking the time to read the text but
>is clicking the "Next" button quite rapidly.
>
>Any help or suggestions would be greatly appreciated.


Dodgy webserver? (which one is it?). Dodgy PHP? (which version, which
interface?). What does the error say? (you haven't posted it). What do the
webserver logs say? Operating system error logs?

If it's intermittent then it's possibly load related. Does your webserver fall
over under high load? Your database? Whatever else you're using?

--
Andy Hassall (andy@andyh.co.uk) icq(5747695) (http://www.andyh.co.uk)
Space: disk usage analysis tool (http://www.andyhsoftware.co.uk/space)
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 06:22 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0