WordPress.org

Support

Support » How-To and Troubleshooting » Can’t login after switch to PHP 5

Can’t login after switch to PHP 5

Viewing 5 replies - 1 through 5 (of 5 total)
  • I just noticed, when I’m on PHP 5, comments don’t work on the frontend either.
    If I switch back to PHP 4, the backend works, as do comments.
    There’s nothing in the error log.

    it’s probably your theme that’s broken. WordPress works fine on php5 (I’m using it myself)

    your theme’s functions.php is loaded for the admin area as well… gonna guess the problem’s in there, if you’re sure its not your plugin(s).

    Doesn’t seem like it, but thanks.
    This is the entirety of my theme’s functions.php

    <?php
    if ( function_exists('register_sidebar') )
        register_sidebar();
    ?>

    well, then its your plugins (or something else)… ‘cos it ain’t wordpress.

    like I said, wordpress works on php5 quite well.

    Oddly, the POST is completely empty.
    I just did added var_dump($_POST) to the top of wp-login.php, and it’s an empty array.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Can’t login after switch to PHP 5’ is closed to new replies.