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

Deutschsprachiger Support für CMS Made Simple
Post Reply
User avatar
neophron
Forum Members
Forum Members
Posts: 145
Joined: Sun Feb 12, 2006 12:11 am

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

Post 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?
Last edited by neophron on Wed Aug 18, 2010 8:21 am, edited 1 time in total.
Jos
Support Guru
Support Guru
Posts: 4019
Joined: Wed Sep 05, 2007 8:03 pm

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

Post by Jos »

NaN

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

Post by NaN »

Die Ausgabe von E_STRICT unterbinden.
Steht auch in den Vorraussetzungen von CMSms 1.7+
User avatar
neophron
Forum Members
Forum Members
Posts: 145
Joined: Sun Feb 12, 2006 12:11 am

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

Post 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.  :)
Post Reply

Return to “German - Deutsch”