EELV-fr/user_wordpress

Updated to OC 8.0, can't login, "class PasswordHash not found"

Closed this issue · 7 comments

I updated my OwnCloud to 8.0 and now I can't login anymore. PHP error message displayed:

Fatal error: Class 'PasswordHash' not found in /var/www/localhost/htdocs/vault/apps/user_wordpress/user_wordpress.php on line 83

Is there a quick fix or do I need to restore from backup? Because this is a server with many users and it can't be offline for more than a few hours.

Apache 2.2.29 on Gentoo Linux with kernel 3.14.14, MySQL 5.6.22, PHP 5.5.22, WordPress 4.1.1

Same problem. Can resolve by downgrading to OC 7, however I need the server-server replication provided with OC 8 so not really an option.
Fatal error: Class 'PasswordHash' not found in [...] /apps/user_wordpress/user_wordpress.php on line 85
That line reads:
$wp_hasher = new PasswordHash(8, TRUE);

Apache 2.4.9
PHP 5.5.12
Wordpress 4.1.1

I have the same problem.

"$wp_hasher = new PasswordHash(8, TRUE);" on user_wordpress.php line 85
This line calls the class "WPPasswordHash" on class-phpass.php.
So , when I rewrited to "$wp_hasher = new WPPasswordHash(8, TRUE);", it was operating on OC8.

@mico12029 maybe offer a pull request with your fix?

or fork this repo and offer it yourself :)

@bkerensa I try it, now. Thank you.

Thank you @bkerensa
By the way, @justinticktock fixed the issue and made some enhancements.

cool, thanks! could you give a heads up once it's known in which version of OC this will be published, so I'll know when to upgrade without breaking everything again in the process?