Premature end of script headers
-
Hi,
A few days ago wordpress turned into “premature end of script headers” errors (mutualized hosting Debian Apache/CGI/PHP 5.2.17/MySQL 5.1.49).
I did nothing on the blog for weeks so I don’t understand what is happening.
I tried to trace and put some die(); until I find what produce the error and I could find it inside wp-settings.php that include post-templates.php that extend Walker class, so I finally stopped inside class-wp-walker.php
In this walker class if I simply comment the two first variable declaration then I get no more error :
class Walker {
.
.
.
// var $tree_type;
.
.
// var $db_fields;
.
.As soon I uncomment thoses two var declarations then I get error back !
Using this “fix”, wordpress works but still produce the error as soon I try to update/install any plug-in.
I tried reinstall from scratch (empty database, new wordpress installation directory, no plug-in except standard dolly and askminet) and get exact same problem right after database parameters has been set sucessfully. If I comment the two walker class variable again then it works (and update/install plugin still don’t work).
Any idea ?
- The topic ‘Premature end of script headers’ is closed to new replies.