Osclass forums
Support forums => old => Topic started by: nylessk on December 13, 2015, 05:30:15 pm
-
Regards. I have a problem with It happens when users try to recover the password. not send email recovery
I need help.
Note: everything else works fine
-
Hi,
Have you tried with other themes? ???
Regards
-
Yes, I've tried. but it's all the same.
I need urgent help.
-
Enable Debug to debug.log file as explained here (https://doc.osclass.org/Debug_PHP_errors) and take note of any error showing when you try to Recover the password... ???
Regards
-
Enable debug mode and not throw any errors. what can I do?
anyone this happened.
Estoy desesperado...
-
Are you sure you did it correctly? ???
Add this at the very bottom of your theme functions.php:
Notes:
1.- Take care not to leave blank lines after this.
2.- If your theme functions.php doesn't end with ?> skip first line of my code.
<?php error_log("Deliberate error", 0); ?>
and see if "Deliberate error" appears in your oc-content/debug.log
Regards
-
I've done all corect. and still nothing. all mail is either sent only when users try to recover the password no mail is sent.
-
Go to Admin Dashboard / Settings / Email templates. Edit "email_user_forgot_password" and click on "Test it". Still no mail?
Regards
-
the test email works good.
this is the only thing showing debug.log
[16:38:09 America/Santo_Domingo] Deliberate error
but the problem still remains. the user never receives mail recovery.
Regards.
-
I guess you have done the test with several users? ???
You may use disposable emails at mailinator.com to create some testing users...
Regards
-
I've tried with different emails. but nothing happens. no mail is sent recovery
Not how to solve this. :'(
-
Another test to check if the function managing sending of that mail is reached:
Add this at the very bottom of your theme functions.php:
Notes:
1.- Take care not to leave blank lines after this.
2.- If your theme functions.php doesn't end with ?> skip first line of my code.
<?php
function cust_test_recover($text, $user, $password) {
error_log($text . '***' . $password . PHP_EOL , 0);
error_log(json_encode($user), 0);
return $text;
}
osc_add_filter('email_user_forgot_password_description', 'cust_test_recover');
?>
Check the output in debug log, you should see the body text of the email, the link to recover password and all the User data.
Regards
-
This is what shows the debug.log
-
Check your mail logs on the server or ask your hosting to provide them for you, you will get all the answers there if email was actually sent or rejected (and why).
-
And better edit your message to delete all that data.
Regards
-
I'll have to give up use Osclass.
if before starting and is giving me problems, I do not want to imagine a future.
thanks to those trying to help :'(
-
Well, you have to be prepared for problems, no matter what platform you choose. They will pop-up eventually, statistically.
But, you have to solve them. Check your mail logs and see what you may find there, maybe it is not related, maybe it is something trivial. Also, make sure that you have configured your email server properly.
-
Mail server is configured well.
All emails are sent correctly.
not only sends the password recovery.
regards.
-
Well, I cannot reproduce that issue with latest 3.5.9 (and that function was not changed at all in the recent versions anyway), so something else is the cause of this problem. You need to show some problem-solving initiative on your end, so we can provide meaningful help.
Regards
-
Where is your site so I can test as a user?
Yes, I've tried. but it's all the same.
I need urgent help.
-
I have to say that I have exactly the same problems. All other mails are moving as normal, but only the password recovery mail is not sent to the user, who needs a new password or has forgotten it.
-
It seems that the password recovery e-mail will will start working a couple of hours after the request has been made. After that the password recovery e-mails will dispatch immediately.
It seems that the password recovery feature will "slumber" if not used. My site is not so busy, so that may be the reason.
Are there some settings that could alleviate this problem ?
-
It seems that the password recovery e-mail will will start working a couple of hours after the request has been made. After that the password recovery e-mails will dispatch immediately.
It seems that the password recovery feature will "slumber" if not used. My site is not so busy, so that may be the reason.
Are there some settings that could alleviate this problem ?
That's probably your email server or some other problem. There's no scheduling in Osclass' password recovery emails, ie, they are sent immediately. If they don't arrive immediately, then the problem must be somewhere in the middle (your email server or the destination email server)
-
I have a problem with It happens when users try to recover the password. not send email recovery
I need help.
-
Damnn!
I do not have a line at all the "Admin Dashboard / Settings / Email templates. Edit "email_user_forgot_password"
how is this possible?how to get it back :o
-
Hi, I still have the problem of recovering user passwords. All the other emails arrive perfect in test mode, they all work, but when the password is recovered from users, it does not send the mail that may be happening that does not work.
attached capture how I have configured the email server
(https://i.ibb.co/9cPbwHR/Clipboard01.jpg)