Ihr Lieben,
ich habe mein cms von 1.6 auf 1.7.1. upgedatet. Nach diesem Update "kapieren" die News-Boxen das Zeitformat nicht mehr. Ich habe leider keine Ahnung, wie ich die nachfolgenden Warnhinweise lesen soll. In Linie 34 z. B. zum 1. Warnhinweis finde ich nichts Erhellendes.
Warning: strtotime() [function.strtotime]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting 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 /home/www/............../lib/smarty/plugins/shared.make_timestamp.php on line 34
Warning: strftime() [function.strftime]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting 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 /home/www/............../lib/smarty/plugins/modifier.date_format.php on line 53
Mai 4, 2010
blabla
Kategorie: bla
Erstellt von: blub
Warning: strftime() [function.strftime]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting 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 /home/www/............../lib/smarty/Smarty_Compiler.class.php on line 400
Mein Server (WebHostOne) läuft auf php 5.3.2.
Hochgeschossen habe ich das Update mittels Filezilla.
Herzliche Grüße
mörml
[GELÖST] strtotime() [function.strtotime] und strftime() [function.strftime]
[GELÖST] strtotime() [function.strtotime] und strftime() [function.strftime]
Last edited by mörml on Wed May 05, 2010 2:25 pm, edited 1 time in total.
Re: strtotime() [function.strtotime] und strftime() [function.strftime]
UPDATE: Es ist mir tot-pein-lich! Ich schwöre, ich habe den ganzen Tag hier im Forum gesucht. Und nun finde ich den Thread "CMS Made Simple 1.7 "Cape Verde" erschienen" - und da ist mein Problem beschrieben. Also nichts für ungut.
Für alle, die sich wie ich auf der gleichen Nerd-Ebene befinden:
In die config.php muss die Zeile
date_default_timezone_set('Europe/Berlin');
eingefügt werden (ohne $-Zeichen)
Herzliche Grüße
mörml
Für alle, die sich wie ich auf der gleichen Nerd-Ebene befinden:
In die config.php muss die Zeile
date_default_timezone_set('Europe/Berlin');
eingefügt werden (ohne $-Zeichen)
Herzliche Grüße
mörml
Re: [GELÖST] strtotime() [function.strtotime] und strftime
Danke für den Tipp! Werde das mal als Bug für den Core einstellen, denn ich habe schon unzählige Beispiele, wo das Datum nicht klappt gefunden ... es sollte im Install abgefangen werden und ins Config geschrieben ...
Gruß
Nils
Gruß
Nils