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

Ye' old general discussion board. Basically, for everything that isn't covered elsewhere. Come here to shoot the breeze, shoot your mouth off, or whatever suits your fancy.
This forum is not for asking programming related questions.

Moderator: General Moderators

Post Reply
normal
Forum Newbie
Posts: 5
Joined: Sun May 16, 2004 8:07 am

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

Post 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.)
User avatar
s.dot
Tranquility In Moderation
Posts: 5001
Joined: Sun Feb 06, 2005 7:18 pm
Location: Indiana

Post 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.
Set Search Time - A google chrome extension. When you search only results from the past year (or set time period) are displayed. Helps tremendously when using new technologies to avoid outdated results.
User avatar
patrikG
DevNet Master
Posts: 4235
Joined: Thu Aug 15, 2002 5:53 am
Location: Sussex, UK

Post by patrikG »

or, at the top of your page, add

Code: Select all

error_reporting (E_ALL);
and the errors will be displayed.
normal
Forum Newbie
Posts: 5
Joined: Sun May 16, 2004 8:07 am

Post 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 !!??????????????????
User avatar
patrikG
DevNet Master
Posts: 4235
Joined: Thu Aug 15, 2002 5:53 am
Location: Sussex, UK

Post by patrikG »

sounds like the server is having some problems fulfilling requests.
Post Reply