Page 1 of 1

sometimes it's ok, but sometimes white page occurs ???

Posted: Thu Sep 08, 2005 6:02 am
by normal
can somebody tell me why, how can i fix it ???, my code works perfectly on localhost, but on my server, some time it's ok, nothing 's wrong, but sometimes, a white page appears insteed of the right page (contain info.)

Posted: Thu Sep 08, 2005 6:12 am
by s.dot
The white page means that your code contains an error. Rather than output error messages on the page, your host has chosen just to log them in the error log. Check your error log, fix the errors, then refresh your page and your information will be there.

Posted: Thu Sep 08, 2005 6:13 am
by patrikG
or, at the top of your page, add

Code: Select all

error_reporting (E_ALL);
and the errors will be displayed.

Posted: Thu Sep 08, 2005 6:23 am
by normal
but actually, my pages work well on the server, BUT sometimes (i dont know when it's gonna happens) white page appears without any errors shown, if i refresh the page, whitepage gone !!??????????????????

Posted: Thu Sep 08, 2005 6:28 am
by patrikG
sounds like the server is having some problems fulfilling requests.