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.
Thanks for the great tips.
牛! ^__~