Last modified: 2010-05-15 15:54:45 UTC
Just calling this from the command line: [root@dev wiki112]# /usr/local/bin/php /var/www/html/wiki/maintenance/dumpBackup.php --current --quiet Fatal error: Call to undefined method DatabaseMysql::setTimeout() in /var/www/html/wiki112/maintenance/backup.inc on line 228 We're using MySQL 4.1, Apache 2.2, PHP 5.2.4
I'm staring right at it in Database.php... public function setTimeout( $timeout ) { $this->query( "SET net_read_timeout=$timeout" ); $this->query( "SET net_write_timeout=$timeout" ); }
Yes. It's there for me too, but did you try running the command? It doesn't work.
Yes, and it works fine.
After I cleanly install a version of MW 1.12.0, it does not work for me: [root@dev mediawiki-1.12.0]# /usr/local/bin/php /var/www/html/wiki/maintenance/dumpBackup.php --current --quiet Fatal error: Call to undefined method DatabaseMysql::setTimeout() in /var/www/html/mediawiki-1.12.0/maintenance/backup.inc on line 228 Just to let you know.