wordpress blank when visit site
You were searching for "wordpress blank when visit site". These posts might be of interest:
- No related posts.
Oops! My WordPress Blog is BLANK!
Filed in: WordPress — October 13th, 2007
Had you experience blank site after edit WordPress theme files? I encountered the strange error yesterday night.
I was editing the theme file on my local computer and uploaded to server side. Then, I discovered that my blog is blank, totally blank. No error message or whatever, the page source view was blank too! However, changing to default WordPress theme brought the blog back.
Normally, this kind of error is caused by invalid code or corrupted file. I reverted the changed files and re-upload them to server but still get the blank pages.
That’s weird… Then, I re-upload the whole theme folder to replace all theme files on the server. Guess what? I still get the blank blog! Yes, I did disable all the Wordpress plugins.
I had no clue how to fix it. No choice, I asked my server side to restore the latest daily backup of my hosting account. I got my blog back shortly after but losing some reader comments.
*phew* Backup is important.
Have you encountered similar error before? Or, some other weird errors of WordPress? How did you solve them?
Related book: WordPress Complete: set up, customize, and market your blog

Comments Feed
TrackBack URL


October 13th, 2007 at 4:47 am
haha, yours is worst! mine was just showing some error when readers leave comments on my blog instead of showing “your comment is under review”. i truly understand your feeling. what i did was re install the theme and all the plugin. Phiew… It works! Lucky me and you too, Liew!
October 13th, 2007 at 5:43 am
I experience that as well before. Most of the time, I just try to login, if I still can login, I will activate another theme and then activating back to the original theme that I’m using. It works all the time.
If it still doesn’t, try doing a hard refresh.
October 13th, 2007 at 9:15 am
Yeah, I was visiting liewcf last night and I found something weird is happening. Anyway, good to have everything back.. if not i’ll lose a place to hang out.
October 13th, 2007 at 4:34 pm
i think after you restore a previous theme, clear the cache and probably cookies. before refreshing.
October 13th, 2007 at 7:56 pm
See… I told you liao ma, ur website got ghost, but you not believe…. Now you kena liao lor, “he” come kacau you liao lor…
October 13th, 2007 at 9:49 pm
luckily you have backup every day. Is it an additional service that you need to pay for your hosting company to backup your data daily?
October 13th, 2007 at 10:17 pm
Haven’t yet experience the technical problem you face but I had an experience where the main theme change to default theme.
October 14th, 2007 at 5:03 pm
@kljs: not the cache problem. I changed web browser also the same.
@who m i?: I know who are you! you were the ghost huh?
@KCLau: my dedicated server has standard daily backup, and I add additional remote backup
@rammel: theme changed to default theme could caused by wp-cache plugin.
October 15th, 2007 at 4:18 am
Hi Liew, it sounds like a php error to me. For most production servers, like this one you’re on, they normally have display_error set to off which results a total blank page. Normally php error will be logged inside error_log under particular hosting account, like the one in cpanel.
This directive is php_ini_all, that means you can overwrite it with custom php.ini or .htaccess file in your php application directory(if apache’s AllowOverride is on). Handy when you are trying to do debugging online.
October 15th, 2007 at 7:32 am
Yep this is know as the White screen of death
Usually caused by a PHP error that does not come out on screen as an error message because error reporting is off at the production server (as mentioned by Yien Bin)
For me, instead of putting a hard coded PHP directive to turn the error message on again, I will try to go to my CPANEL to view the error log to see if it turned up there.
Just look for the line number the error occured in and use an editor to check.
Yep, having a backup is also good if all else fails
October 15th, 2007 at 11:58 am
Wordpress usually got no such problem. Other scripts show nothing is due to chmod error.
Wordpress only needs wp-conent/uploads to have the correct chmod
October 16th, 2007 at 1:07 pm
It has happened to me a few times.. and it was always plugin related.
I remembered I once renamed a plugin and it couldn’t locate the file when it tried to activate it - the whole blog became lines of codes!
Lesson learnt : Never rename the plugin
Another time I was trying out some new plugins and the entire blog ‘disappeared’.
Lesson learnt : Never try out new plugins in your actual blog
I also had the entire blog wiped out after I did an upgrade.
Lesson leart : Always back-up
Liewcf, I agree with you - back-up is very important!
October 16th, 2007 at 4:15 pm
It’s not Wordpress per se. It depends on your webserver PHP config. Most webhost have the error reporting turned off because these are live servers.
For me personally I’ve encountered this many times on different webhosts. Even for non-Wordpress application on customer’s webservers, I usually turn on the error reporting globally to see what exactly is the line that caused the error.
October 17th, 2007 at 3:31 pm
yea. now I had a problem with my Plugin page. it wont load. still tinkering with it. sigh
October 18th, 2007 at 8:50 pm
Hmmm… perhaps explaining it in words is not clear.
I just made a short video on this “White Screen of Death” phenomena and the solution for it here
http://www.andrewooi.com/2007/10/18/solving-the-white-screen-of-death/
Please excuse my stuttering voice
October 20th, 2007 at 4:22 am
same here..
i just ask the hosting to restore daily db backup..
luckily they cron the backup every 5min like that..
so all the previous changes back to normal..
October 22nd, 2007 at 12:13 am
Ha ha.. I’m the opposite. Rarely do backup and always get burnt because of it. Luckily most of the time I can debug and fix the error when they occur.