Users getting blank screen when forced to update password on login

Hi all,

So, we finally pushed live our OJS 3 instance and all seems well. Down to our final known issue – when forcing a user to update a password via the checkbox in the user account page, upon logging in the user gets a 500 error:

Failed to load resource: the server responded with a status of 500.

Having a user update a password though their user account menu works fine, the error only occurs when being forced to update passwords via the “User must change password on next log in” checkbox.

Anyone encounter this error before or know what might be causing it? I don’t think its a .htaccess issue since the url to this page is simple (i.e. /login/changePassword/myusername).

Tried turning off pretty urls (aka /index.php/index/login/changePassword/myusername), same issue.

Thanks!

Edit: Here is the error from the php log:

PHP Fatal error: Call to undefined method LoginChangePasswordForm::getUser() in /var/www/html/ojs3/lib/pkp/classes/user/form/LoginChangePasswordForm.inc.php on line 42

What OJS version are you using (the exact version).

Asking this because at least in the latest version there is nothing on line 42 of that file.

Also: what theme are you using?

Nevermind – fixed. Thanks for your help (and you post helped!)

Forgot we have a slight code change to the core code to turn off account editing for certain accounts, and that particulatr bit of code was supposed to be deleted in this file before launch but somehow made it through our Git deployment. Fixed now. Thanks again!

1 Like