1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Unable to log-in as admin after server move.

Discussion in 'Troubleshooting and Problems' started by simsnet, Oct 30, 2010.

  1. simsnet

    simsnet New Member

    I recently move my xenforo installation to a new server.

    I copied all files over and changed the config.php to reflect new database.

    I can log in fine as a normal user and everthing seems to work well. The problem is when i try to log in as admin I get the following error:

    Fatal error: Call to undefined function hash() in /myserverpath/httpdocs/library/XenForo/Authentication/Core.php on line 57

    Any Ideas?

    Thanks for your help in advance.
  2. Mike

    Mike XenForo Developer Staff Member

    That's tricky. Your new PHP server doesn't have an extension that is part of the PHP core (http://www.php.net/manual/en/hash.installation.php), but your old one did and passwords we hashed using it. It looks like your new server has explicitly disabled it with --disable-hash when PHP was compiled (http://www.php.net/manual/en/hash.requirements.php).

    Ideally, you need to get that installed; there's no reason for it to not be there. If you really can't do that, you can use the lost password system, though who knows how many users this will effect.
  3. simsnet

    simsnet New Member

    Thanks for the superfast responce Mike :), Off I go to try and get this installed. :eek:

Share This Page