email password link
2 posts by 2 authors in: Forums > CMS Builder
Last Post: September 7, 2011 (RSS)
By KCMedia - September 6, 2011
Hi
just installed version 2.12 and when you try to retreave a users password from the login page and you put in the email address or username it gives you this error
Mail Error: Undefined index: disabled
just installed version 2.12 and when you try to retreave a users password from the login page and you put in the email address or username it gives you this error
Mail Error: Undefined index: disabled
Thanks
Craig
KC Media Solutions
www.kcmedia.biz
Craig
KC Media Solutions
www.kcmedia.biz
Re: [kcmedia] email password link
By robin - September 7, 2011
Hey Craig,
Thanks for reporting the problem. The reminder email does still send, but the error that's displayed is wrong.
We will have this fixed in the next version of CMS Builder. In the meantime here is a fix you can apply. This is in cmsAdmin/lib/common.php. This is around line 1228.
Change:
To:
Hope that helps. Please let us know if you have any more problems.
Thanks,
Robin
Thanks for reporting the problem. The reminder email does still send, but the error that's displayed is wrong.
We will have this fixed in the next version of CMS Builder. In the meantime here is a fix you can apply. This is in cmsAdmin/lib/common.php. This is around line 1228.
Change:
$mailResult = @mail($utf8_to, $utf8_subject, $message, $headers);
$errors = @$php_errormsg;
To:
unset($php_errormsg); // clear any previous errors
$mailResult = @mail($utf8_to, $utf8_subject, $message, $headers);
$errors = @$php_errormsg;
Hope that helps. Please let us know if you have any more problems.
Thanks,
Robin
Robin
Programmer
interactivetools.com
Programmer
interactivetools.com