Vanilla 1 is no longer supported or maintained. If you need a copy, you can get it here.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Forgot Password Email Problems.
When people click "forgot password" for vanilla to email them their password i get the following error :
A fatal, non-recoverable error has occurred
Technical information (for support personel):
Error Message
An error occurred while sending the email.
Affected Elements
Email.Send();
The error occurred on or near: date() [function.date]: It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/London' for 'BST/1.0/DST' instead
For additional support documentation, visit the Lussumo Documentation website at: lussumo.com/docs
Could you provide a solution please? I Tried changing the SMTP settings from blank, to my email servers one, but that provides an autentication error......
0
This discussion has been closed.
Comments
date_default_timezone_set('Europe/London');
So that this part looks like:
function Send($FatalError = 1) { date_default_timezone_set('Europe/London'); $this->FatalError = $FatalError;
List of PHP Supported Timezones
than you get the right error message...
if (!mail($To, $this->Subject, $Message, $Header) && $this->FatalError) $this->Context->ErrorManager->AddError($this->Context, $this->Name, "Send", "An error occurred while sending the email.", "");
<? date_default_timezone_set('Europe/London'); mail("your@email.com", "test", "lalala"); ?>
than open it in your browser.
if there is no error message you should receive a email, if there is one contact your hoster