Diese scheint von php zu kommen, die komischerweise eine Stunde vor geht.
Hier als Beispiel:
root@server:/var/www/froxlor# date Fri Feb 14 21:00:54 CET 2014
und der Output von ?<?php echo date("H:i:s"); ?>?: PHP Warning: date(): 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 the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /root/time.php on line 3
Question
NIco
Guten Abend,
ich habe ein Problem das anscheint vom SQL kommt.
Auszug aus ?/var/www/froxlor/logs/sql-error.log?
14.02.2014 19:55 --- SQLSTATE[HY093]: Invalid parameter number: parameter was not defined
14.02.2014 19:55 --- DEBUG:
#0 /var/www/froxlor/lib/classes/database/class.Database.php(72): PDOStatement->execute(Array)
#1 /var/www/froxlor/lib/classes/database/class.Database.php(90): Database::pexecute(Object(PDOStatement), Array, true)
#2 /var/www/froxlor/lib/classes/aps/class.ApsInstaller.php(490): Database::pexecute_first(Object(PDOStatement), Array)
#3 /var/www/froxlor/lib/classes/aps/class.ApsInstaller.php(97): ApsInstaller->PrepareBasics(Array)
#4 /var/www/froxlor/scripts/jobs/cron_apsinstaller.php(21): ApsInstaller->InstallHandler()
#5 /var/www/froxlor/scripts/froxlor_master_cronjob.php(59): require_once('/var/www/froxlo...')
#6 {main}
14.02.2014 20:00 --- SQLSTATE[HY093]: Invalid parameter number: parameter was not defined
14.02.2014 20:00 --- DEBUG:
#0 /var/www/froxlor/lib/classes/database/class.Database.php(72): PDOStatement->execute(Array)
#1 /var/www/froxlor/lib/classes/database/class.Database.php(90): Database::pexecute(Object(PDOStatement), Array, true)
#2 /var/www/froxlor/lib/classes/aps/class.ApsInstaller.php(490): Database::pexecute_first(Object(PDOStatement), Array)
#3 /var/www/froxlor/lib/classes/aps/class.ApsInstaller.php(97): ApsInstaller->PrepareBasics(Array)
#4 /var/www/froxlor/scripts/jobs/cron_apsinstaller.php(21): ApsInstaller->InstallHandler()
#5 /var/www/froxlor/scripts/froxlor_master_cronjob.php(59): require_once('/var/www/froxlo...')
#6 {main}
Zeitfehler.
Die oben angegebene Zeit ist falsch.
Diese scheint von php zu kommen, die komischerweise eine Stunde vor geht.
Hier als Beispiel:
root@server:/var/www/froxlor# date
Fri Feb 14 21:00:54 CET 2014
und der Output von ?<?php echo date("H:i:s"); ?>?:
PHP Warning: date(): 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 the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /root/time.php on line 3
20:00:57
Ich bin am verzweifeln hat wer eine L?sung?
Danke schon jetzt einmal.
Sch?nen Abend noch,
Nico
Link to comment
Share on other sites
4 answers to this question
Recommended Posts
Archived
This topic is now archived and is closed to further replies.