All pastes #2070421 Raw Edit

Miscellany

public text v1 · immutable
#2070421 ·published 2011-05-27 14:50 UTC
rendered paste body
root@admod /home/divinity/heavymetal/snippets]# php mut.php --db-run-all >../../../mut.out 2>../../../mut.err
[root@admod /home/divinity/heavymetal/snippets]# less ../../../mut.out

NOTICE: Undefined index:  time_zone at /usr/home/divinity/heavymetal/lib/masdb/vars.php(120)
NOTICE: date_default_timezone_set(): Timezone ID '' is invalid at /usr/home/divinity/heavymetal/lib/masdb/vars.php(121)
NOTICE: Undefined index:  time_zone at /usr/home/divinity/heavymetal/lib/masdb/vars.php(124)
EMERGENCY: Exception (SQLException) - Could not execute update [Native Error: Unknown or incorrect time zone: ''] [User Info: SET time_zone = '', sql_auto_is_null = 0, wait_timeout = 30]
-------------------------------------------------------------------------------
Source File: /usr/home/divinity/heavymetal/lib/3rdparty/creole/drivers/mysqli/MySQLiConnection.php (line: 243)

 00236:     {
 00237:          self::$sql[] = $sql;
 00238:         $this->lastQuery =& self::$sql[count(self::$sql)-1]; /* reference to the last executed sql */
 00239:         //$this->lastQuery = $sql;
 00240: 
 00241:          $result = @mysqli_query($this->dblink, $sql);
 00242:         if (!$result) {
>00243:             throw new SQLException('Could not execute update', 
 00244:                 is_object($this->dblink)
 00245:                         ? mysqli_error($this->dblink)
 00246:                         : mysqli_connect_error()
 00247:                 , $sql);
 00248:         }
 00249:         return (int) mysqli_affected_rows($this->dblink);
 00250:     }
 00251: 
-------------------------------------------------------------------------------
Stack Trace:

#0 /usr/home/divinity/heavymetal/lib/database.php(469): MySQLiConnection->executeUpdate('SET time_zone =...')
#1 /usr/home/divinity/heavymetal/lib/masdb/vars.php(129): database::flush_set()
#2 /usr/home/divinity/heavymetal/lib/masdb/vars.php(624): vars::preload_vars()
#3 /usr/home/divinity/heavymetal/lib/functions.php(167): include_once('/usr/home/divin...')
#4 [internal function]: __autoload('vars')
#5 /usr/home/divinity/heavymetal/lib/rudolf/metadata.php(207): ReflectionClass->__construct('vars')
#6 /usr/home/divinity/heavymetal/lib/rudolf/record.php(682): rudolf_metadata::extract_reflection_data('vars')
#7 /usr/home/divinity/heavymetal/lib/rudolf/record.php(453): rudolf_record::scan_columns(true, 'rudolf_record::...')
#8 /usr/home/divinity/heavymetal/snippets/common.php(19): rudolf_record::init_db()
#9 /usr/home/divinity/heavymetal/snippets/mut.php(4): require_once('/usr/home/divin...')
#10 {main}
-------------------------------------------------------------------------------
2011-05-27 20:19:36 +0000: core(18519) 
Emergency: file:1306527576/no_log