Page 1 of 1

[solved] Probleme mit [function.strftime] und [function.date]

Posted: Tue Aug 17, 2010 1:01 pm
by neophron
Hi,

habe eine MLE von 1.6.6 auf 1.8.1 aktualisiert. Darauf hin habe ich auch captcha und FormBuilder auf den neuesten Stand gebracht. Wenn man nun eine mail verschickt erscheint folgender Roman:

Code: Select all

Strict Standards: 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/Berlin' for 'CEST/2,0/DST' instead in /hp/bi/aa/qp/www/iska/modules/FormBuilder/classes/Form.class.php on line 2573

Strict Standards: strftime() [function.strftime]: 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/Berlin' for 'CEST/2,0/DST' instead in /hp/bi/aa/qp/www/iska/lib/smarty/Smarty_Compiler.class.php on line 400

Strict Standards: strftime() [function.strftime]: 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/Berlin' for 'CEST/2,0/DST' instead in /hp/bi/aa/qp/www/iska/lib/smarty/Smarty_Compiler.class.php on line 400

Strict Standards: strftime() [function.strftime]: 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/Berlin' for 'CEST/2,0/DST' instead in /hp/bi/aa/qp/www/iska/lib/smarty/Smarty_Compiler.class.php on line 400

Strict Standards: 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/Berlin' for 'CEST/2,0/DST' instead in /hp/bi/aa/qp/www/iska/modules/CMSMailer/phpmailer/class.phpmailer.php on line 1927

Strict Standards: 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/Berlin' for 'CEST/2,0/DST' instead in /hp/bi/aa/qp/www/iska/modules/CMSMailer/phpmailer/class.phpmailer.php on line 1931

Strict Standards: 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/Berlin' for 'CEST/2,0/DST' instead in /hp/bi/aa/qp/www/iska/modules/FormBuilder/classes/Form.class.php on line 2573

Strict Standards: strftime() [function.strftime]: 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/Berlin' for 'CEST/2,0/DST' instead in /hp/bi/aa/qp/www/iska/lib/smarty/Smarty_Compiler.class.php on line 400
Ist das hier ein bug?

Re: Probleme mit [function.strftime] und [function.date]

Posted: Tue Aug 17, 2010 4:02 pm
by Jos

Re: Probleme mit [function.strftime] und [function.date]

Posted: Tue Aug 17, 2010 7:39 pm
by NaN
Die Ausgabe von E_STRICT unterbinden.
Steht auch in den Vorraussetzungen von CMSms 1.7+

Re: Probleme mit [function.strftime] und [function.date]

Posted: Wed Aug 18, 2010 8:21 am
by neophron
Hi, Danke für die schnelle Antworten. Habe in der config.php hinter dem <?php folgendes eingefügt:

Code: Select all

date_default_timezone_set('Europe/Berlin');
Jetzt funktioniert es.  :)