Blank Page on Publishing a Post Under WordPress

This problem happend on a friend’s WordPress blog, version 2.2.x. In detail, every time one tries to publish a new post, the “post.php” returns a blank page with status code 200 (success). And there are totally no error logs (http and php) about this. This weird problem was not resolved even after I updated the whole WordPress to the latest version (2.5.1).

After a long time digging, this thread on WP support form pointed out the exact reason. My friend’s WordPress blog was hacked by a security vulnerability of previous WordPress versions. When I checked the database with this sql

select * from wp_options where option_name = ‘active_plugin’

There is a record with option_value as “a:1:{s:5:./././././././././././././././././././././tmp/***”, *** is a file name.

I deleted this record and the post function went back well again.

So, it’s beneficial to keep up-to-date, for security reasons.


Leave a comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.