Unable to reset forgotten passwords

Are you an Editor, Author, or Journal Manager in need of help? Want to talk to us about workflow issues? This is your forum.

Moderators: jmacgreg, michael, vgabler, John

Forum rules
The Public Knowledge Project Support Forum is moving to http://forum.pkp.sfu.ca

This forum will be maintained permanently as an archived historical resource, but all new questions should be added to the new forum. Questions will no longer be monitored on this old forum after March 30, 2015.
mpkidd
Posts: 2
Joined: Tue May 19, 2009 2:01 am

Unable to reset forgotten passwords

Postby mpkidd » Wed May 20, 2009 11:14 pm

Good day

Before logging in, any user has the option of resetting their passwords by providing an email adress of a registered user. I receive the following error message if I attempt to change the password of any user:

Fatal error: Call to a member function setFrom() on a non-object in /var/www/ojs-2.2.3/pages/login/LoginHandler.inc.php on line 182

I have no idea what this means and I would appreciate it if someone could shed some light on this matter.

Thanks
Martin

jmacgreg
Posts: 4191
Joined: Tue Feb 14, 2006 10:50 am
Contact:

Re: Unable to reset forgotten passwords

Postby jmacgreg » Sun May 24, 2009 6:51 pm

Hi Martin,

This has been reported as a bug, and a fix has been posted at http://pkp.sfu.ca/bugzilla/show_bug.cgi?id=4228. Applying the OJS 2.2.3 patch will fix the problem.

Cheers,
James

foscarini
Posts: 7
Joined: Tue Jun 23, 2009 3:44 pm

Re: Unable to reset forgotten passwords

Postby foscarini » Sat Jun 27, 2009 6:53 pm

There is one more reference to the $email variable in the LoginHandler.inc.php:

Code: Select all

                $user = &$userDao->getUserByEmail($email);

Should it be changed too?

mcrider
Posts: 952
Joined: Mon May 05, 2008 10:29 am
Location: Vancouver, BC

Re: Unable to reset forgotten passwords

Postby mcrider » Mon Jun 29, 2009 10:00 am

Hi forscarini,

No--that should be okay, it uses a legitimate email variable two lines up that represents the email address string drawn from the reset password form.

Cheers,
Matt

hilmiapak
Posts: 5
Joined: Thu Nov 17, 2005 9:29 am
Contact:

Re: Unable to reset forgotten passwords

Postby hilmiapak » Wed Aug 12, 2009 5:34 am

I have downloaded version 2.2.3 (not upgrade, clean install) but got the same error. Looking at the corresponding file, I noticed, the LoginHandler.inc.php was not fixed as mentioned. I thing one should put the correct file into download archieve.

in systeminfo:
Program version
Current version

2.2.3.0 (July 28, 2009 - 09:43 PM)

Latest version: 2.2.3.0 (April 9, 2009

jmacgreg
Posts: 4191
Joined: Tue Feb 14, 2006 10:50 am
Contact:

Re: Unable to reset forgotten passwords

Postby jmacgreg » Thu Aug 13, 2009 2:08 pm

Hi hilmiapak,

You are correct -- that fix has not been added to the downloadable tar package from the PKP website. While it is a large bug and an important issue, we normally don't repackage software for spot release that address only one fix, unless it is a critical or security bug. The fix will definitely be included in OJS 2.3, which will be released in a few weeks.

Cheers,
James


Return to “OJS Editorial Support and Discussion”

Who is online

Users browsing this forum: No registered users and 2 guests