Jump to content
Froxlor Forum
  • 0

[fixed] Master Cronjob wirft PHP Fehler, undefined variable: result2_data


SaneG

Question

Hall?chen,

 

hab seit einer Woche auf Wheezy upgegraded und den Froxlor entsprechend angepasst. Alles l?uft soweit ohne Probleme.

Heute Nachmittag jedoch kam eine Notification Mail:

 

PHP Notice: Undefined variable: result2_data in /var/www/froxlor/scripts/jobs/cron_usage.inc.diskspace.php on line 83
We are sorry, but a MySQL - error occurred. The administrator may find more information in in the sql-error.log in the logs/ directory

 

Im Syslog ist alles normal. Das ist auch das erste mal, dass der Fehler auftrat. 

 

Was kann das sein? Um Hilfe w?r ich dankbar

 

 

Link to comment
Share on other sites

4 answers to this question

Recommended Posts

Froxlor Version: 0.9.31.2-1

 

Hier der SQL Error log

#0 /var/www/froxlor/lib/classes/database/class.Database.php(178): Database::getDB()
#1 /var/www/froxlor/lib/cron_init.php(121): Database::__callStatic('query', Array)
#2 /var/www/froxlor/lib/cron_init.php(121): Database::query('SELECT 1')
#3 /var/www/froxlor/scripts/froxlor_master_cronjob.php(20): include_once('/var/www/froxlo...')
#4 {main}
02.01.2014 17:30 --- SQLSTATE[HY093]: Invalid parameter number: no parameters were bound
02.01.2014 17:30 --- DEBUG: 
#0 /var/www/froxlor/lib/classes/database/class.Database.php(72): PDOStatement->execute(NULL)
#1 /var/www/froxlor/lib/classes/database/class.Database.php(90): Database::pexecute(Object(PDOStatement), NULL, true)
#2 /var/www/froxlor/scripts/jobs/cron_usage.inc.diskspace.php(83): Database::pexecute_first(Object(PDOStatement), NULL)
#3 /var/www/froxlor/scripts/jobs/cron_usage_report.php(295): include('/var/www/froxlo...')
#4 /var/www/froxlor/scripts/froxlor_master_cronjob.php(59): require_once('/var/www/froxlo...')
#5 {main}

und hier noch: /var/www/froxlor/logs/2a09c_sql-error.log

CODE HY093
|MSG SQLSTATE[HY093]: Invalid parameter number: no parameters were bound
|FILE /var/www/froxlor/lib/classes/database/class.Database.php
|LINE 72
|TRACE
#0 /var/www/froxlor/lib/classes/database/class.Database.php(72): PDOStatement->execute(NULL)
#1 /var/www/froxlor/lib/classes/database/class.Database.php(90): Database::pexecute(Object(PDOStatement), NULL, true)
#2 /var/www/froxlor/scripts/jobs/cron_usage.inc.diskspace.php(83): Database::pexecute_first(Object(PDOStatement), NULL)
#3 /var/www/froxlor/scripts/jobs/cron_usage_report.php(295): include('/var/www/froxlo...')
#4 /var/www/froxlor/scripts/froxlor_master_cronjob.php(59): require_once('/var/www/froxlo...')
#5 {main}
Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.



×
×
  • Create New...