AbanteCart Community
Shopping Cart Operations => Support => General Support => Topic started by: addisripoll on December 06, 2012, 01:20:56 PM
-
Hi, i want to restore my password from, but wen i send the request, then you send me an email that says:
"Restablecimiento ....
link es valido por un dia
si no enviar solicitud ignorar mail"
But th links doesnt exist on the email, can you help me?
Thanks
-
Is this for storefront user or admin?
Does your server send emails?
-
Hi, this is for administrator, and my server send and receive mails, and its working fine. Thanks
-
I can suggest a simple hack to get your temporary password to be displayed instead of email
Edit following file
admin/controller/pages/index/forgot_password.php
Locate line 54:
$this->redirect($this->html->getSecureURL('index/forgot_password','&mail=sent'));
Change to :
$password = 'YOUR_NEW_PASS';
$this->model_user_user->editUser($this->user_data['user_id'], array('password' => $password));
exit;
$this->redirect($this->html->getSecureURL('index/forgot_password','&mail=sent'));
Run reset password in admin and new password will be saved.
Attention!! Do not forget to change code back, right away
-
Thanks. I don't get into the actual code, but perhaps this should be reported as a bug to be fixed in an upcoming version.
-
Bug? Why is this a bug?
Check your email configuration. If default email on your server or abantecart settings were not set up and you forgot your password, there is no way to reset it without code tweak .
This is simple security measure.
-
Hello,
I tried this method and get the following fatal error message in return:
Fatal error: Call to a member function editUser() on a non-object in /home/....../admin/controller/pages/index/forgot_password.php on line 55
What should I do, please?
Thank you for your patience ;-)
-
Hi, i want to restore my password from, but wen i send the request, then you send me an email that says:
"Restablecimiento de contraseñas se solicito para el usuario con este correo electronico (addisripoll @ gmail.com). Por favor haga click en el enlace de abajo para continuar.
link es valido por un dia
si no enviar solicitud ignorar mail"
But th links doesnt exist on the email, can you help me?
Thanks
Hello.
If you use mail reader try to read email in browser interface or with another email reader like Thunderbird.
-
I am also having the same problem...'Fatal error: Call to a member function editUser() on a non-object in /home/deltacon/public_html/admin/controller/pages/index/forgot_password.php on line 65'
PLEASE HELP ARGENTLY
thanks
-
Check it out! Restore abantecart admin access https://www.fiverr.com/s2/4303c8b776
-
Hello.
If you use mail reader try to read email in browser interface or with another email reader like Thunderbird.
-
Please try this piece of code. Previous suggestion does not contains model loading.
$password = 'YOUR_NEW_PASS';
$this->loadModel('user/user');
$this->model_user_user->editUser($this->user_data['user_id'], array('password' => $password));
exit;
$this->redirect($this->html->getSecureURL('index/forgot_password','&mail=sent'));
[/quote]
-
I'd like to recommend using the following temporary modification instead:
redirect($link);
exit;
This would be inserted just before this line:
$mail = new AMail($this->config);
-
Check it out! Restore abantecart admin access https://www.fiverr.com/s2/4303c8b776
Please refrain from posting paid solutions, it could get you banned.