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.

Fatal error message

edited November 2007 in Vanilla 1.0 Help
hello :) upon approving new members, trying to send mass emails, or occasionally just opening a thread i get the following error ''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'' how, and where do i change the date function, i am not upto speed with my php knowledge. using the newest vanilla and MySql database on a linux server through streamline.net thank you.

Comments

  • edited August 2007
    You should add php_value date.timezone "Europe/London" into a .htaccess file in the root folder of your website,
    Or add date_default_timezone_set("Europe/London") in appg/settings.php (or maybe conf/settings.php).
  • cheers dino that worked. but now i just get a cannot send email error. this aplies to when someone signs up and i approve them, i get the error then but they receieve no email.
  • What error? (Not the date error?)
    what are your email settings?
  • same issue as in http://lussumo.com/community/discussion/6842/forgot-password-email-problems/
This discussion has been closed.