• Resolved Derwood

    (@derwood)


    Was running 3.92 and updated to 4.0.
    Now when logging into /wp-admin/ page all I get is a blank page.
    I have already tried removing the current theme and I also tried downloading the zip file and extracted it over the old files. Still no good.

    I see the following in the Apache error logs:

    [Fri Sep 05 04:01:30 2014] [error] [client 192.168.0.159] PHP Fatal error:  Call to undefined function hash() in /www/sewgaelic.com/wp-includes/session.php on line 64, referer: https://www.sewgaelic.com/wp-login.php?redirect_to=http%3A%2F%2Fwww.sewgaelic.com%2Fwp-admin%2F&reauth=1

    I also see a 500 error in the Apache access logs:

    192.168.0.159 - - [05/Sep/2014:04:01:30 -0400] "POST /wp-login.php HTTP/1.1" 500 20 (-) "https://www.sewgaelic.com/wp-login.php?redirect_to=http%3A%2F%2Fwww.sewgaelic.com%2Fwp-admin%2F&reauth=1" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/37.0.2062.103 Safari/537.36"

    I have the PHP Session plugin installed.
    In spite of all this, the site mostly works fine.. Its just the admin area that I can’t get to.

    Any ideas what the problem might be?

Viewing 15 replies - 16 through 30 (of 38 total)
  • Thread Starter Derwood

    (@derwood)

    One last thing, the site looks fine outside of the admin page.. The site itself still continues to work even though the admin page is inaccessbile.

    Moderator James Huff

    (@macmanx)

    Thanks for the details!

    Please let us know how it goes!

    Thread Starter Derwood

    (@derwood)

    OK.. I tried the recommendation in the thread Basil mentioned. I replaced the wp-settings.php and the wp-includes/session.php directly from GitHub.

    Still no good. Right now the admin page is still broken and I have to go run an errand for a couple of hours.
    Any other ideas or things to try are most welcome.

    As I said, I have about a dozen sites that are in a holding pattern on 3.92 right now.
    Also, no caching plugins are in use. That was another suggestion I saw from another thread.

    Thread Starter Derwood

    (@derwood)

    OK.. I’ve tried everything everyone has recommended so far. Nothing has worked. Anything else I can try?

    You are not alone, I am also on FreeBSD and also after upgrading to 4.0 I have the exact problem.. went back to 3.9.2 and all work fine again.. so I will stay with 3.9.2 for a while..

    I see that you did, I did also.. we are on the same boat it seems..

    Good news.. I had the same issues and it turned out that I had not php5-hash port installed. After installing it, the admin-page worked fine. Hope this solutions helps you too.

    Thread Starter Derwood

    (@derwood)

    Yep. Worked for me too.. I’m going to try to contact the port maintainer and see if I can get them to add php5-hash to required dependencies.
    Thanks again!

    Ebbmar, how did you figured that out?
    Thanks!

    I enabled error reporting, error_reporting(1), in wp-config.php.
    Then I got a real error when trying to login to the wp-admin page:
    Fatal error: Call to undefined function hash() in /usr/local/www/apache22/data/wp-includes/session.php on line 64

    Then after a little research regarding the hash() function, I found out that the port php5-hash was needed in FreeBSD which I had not installed.

    excellent, thanks!

    Thread Starter Derwood

    (@derwood)

    Installing WordPress using ports should have installed the php5-hash extension as a required dependency. I contacted the port maintainer and let him know this is now needed for WordPress 4.

    So, this should prevent future issues for anyone else using FreeBSD.
    Again, thanks to Ebbmar for tracking this down!

    Moderator James Huff

    (@macmanx)

    Thanks for letting us know your solution!

    Moderator James Huff

    (@macmanx)

    Why aren’t you able to upgrade from PHP 5.2.14?

    If your hosting provider does not allow you to use a higher version of PHP, you should ask them why they’re keeping you on a version that was deprecated in January of 2011: https://en.wikipedia.org/wiki/PHP#Release_history

Viewing 15 replies - 16 through 30 (of 38 total)
  • The topic ‘dashboard area broken after upgrade to 4.0’ is closed to new replies.