Error message at forgotpassword.php
Hi,
I did setup the forgotpassword.php page and it actually works in that it does send the e-mail out with the correct login information after submitting but it does not redirect to the login.php page and gives the following error message instead:
Warning: Missing argument 6 for WA_SecurityAssist_Definition(), called in /[url]/forgotpassword.php on line 24 and defined in/[url]/webassist/security_assist/mail_php.php on line 34
Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /[url]/webassist/security_assist/mail_php.php:34) in /[url]/webassist/security_assist/mail_php.php on line 239
Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /[url]/webassist/security_assist/mail_php.php:34) in /[url]/webassist/security_assist/mail_php.php on line 239
Warning: Cannot modify header information - headers already sent by (output started at /[url]/webassist/security_assist/mail_php.php:34) in/[url]/webassist/security_assist/helper_php.php on line 133
It seems like only a mistake in the line 34 of the mail_php site but I can not figure out what the problem is.
Can anyone help?
Thanks a lot and best regards,
AJ
Solved the Problem:
I found a previous post with a similar problem that was solved by Jason and applied my settings and it worked perfectly. Just in case someone else has a similar problem:
As mentioned by Jason in a previous post, I replaced the following line in forgotpassword.php:
$WA_MailObject = WA_SecurityAssist_Definition("localhost","25","","","");
with:
$WA_MailObject = WA_SecurityAssist_Definition("auth.smtp.webnethosting.com","25","","","","utf-8");
where: webnethosting.com is the URL of the individual host.
Thanks Jason