• Resolved dodfr

    (@dodfr)


    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 ?

Viewing 1 replies (of 1 total)
  • Thread Starter dodfr

    (@dodfr)

    I found the answer, that was a cookie problem, I deleted it for blog’s domain and now it works … amazing …

Viewing 1 replies (of 1 total)
  • The topic ‘Premature end of script headers’ is closed to new replies.