Blank Screen query
Posted: Tue Nov 22, 2011 4:12 am
I have a page I created, which is basically a wallboard. It refreshes every x seconds (normally 60), which in turn forces it to run a load of MySQL queries, which then populates the page.
Generally it works really well, and if there is any errors, it is caught and displayed neatly etc.
However, I have noticed that (usually, but not always) overnight, at some point it just seems to stop. I come in, in the morning, and it is just a blank screen. I have to manually refresh the browser for it to start again.
I know it hasn't been running, as one of the things it does is check the number of updates in the past 60 seconds, and displays the last 10, and it always has a very low number for the last one, suggesting it last ran overnight at some point.
The server it runs on is fine, the PC it is displayed on is fine as it also runs 24/7 with other apps.
n.b the entire page is in HTML/PHP (no javascript - not my strong point).
I'm sorry if this is a bit vague, but was wondering if anyone could suggest reasons why this might happen, or things I can do to try and stop it.
Generally it works really well, and if there is any errors, it is caught and displayed neatly etc.
However, I have noticed that (usually, but not always) overnight, at some point it just seems to stop. I come in, in the morning, and it is just a blank screen. I have to manually refresh the browser for it to start again.
I know it hasn't been running, as one of the things it does is check the number of updates in the past 60 seconds, and displays the last 10, and it always has a very low number for the last one, suggesting it last ran overnight at some point.
The server it runs on is fine, the PC it is displayed on is fine as it also runs 24/7 with other apps.
n.b the entire page is in HTML/PHP (no javascript - not my strong point).
I'm sorry if this is a bit vague, but was wondering if anyone could suggest reasons why this might happen, or things I can do to try and stop it.