AbanteCart Community

Shopping Cart Operations => Support => Topic started by: Nimitz1061 on July 02, 2012, 09:44:06 AM

Title: Password reset error
Post by: Nimitz1061 on July 02, 2012, 09:44:06 AM
I get the following error on attempt to complete password reset:

Fatal error: Cannot access protected property AMail::$hostname in /home/lifesolu/public_html/dev/admin/controller/pages/index/forgot_password.php on line 141


Please advise.

David
Title: Re: Password reset error
Post by: Nimitz1061 on July 02, 2012, 10:09:12 AM
The line in which the error is triggered is doing a get on smtp configuration values which are not setup on this cart.  (we're using PHP mail).

Temporary fix:

Comment out lines 141 to 145, inclusive.  Reload the page.

The password update email was sent and I was able to log in.

David
Title: Re: Password reset error
Post by: abantecart on July 02, 2012, 05:10:04 PM
What AbanteCart core version do you use? We fixed this in 1.0.3
Title: Re: Password reset error
Post by: Nimitz1061 on July 03, 2012, 10:15:15 AM
I was attempting to update a 1.0.2 cart to 1.0.3

May have to replace the cart... :(

David
Title: Re: Password reset error
Post by: abantecart on July 03, 2012, 03:01:38 PM
Based on all your posts, I sense that some file(s) did not make all the way to your installation. This would be major issue.
Try upload (copy ) all files again and watch FTP log.
Title: Re: Password reset error
Post by: Nimitz1061 on July 04, 2012, 07:10:39 PM
I have repeated the upload 3 times with no problems reported..

David