db_error Object ( [error_message_prefix] => [mode] => 1 [level] => 1024 [code] => -24 [message] => DB Error: connect failed [userinfo] => [nativecode=Lost connection to MySQL server during query] ** mysql://root:@10.3.2.60/bbchatlog [backtrace] => Array ( [0] => Array ( [file] => /usr/local/lib/php/DB.php [line] => 888 [function] => pear_error [class] => db_error [type] => -> [args] => Array ( [0] => DB Error: connect failed [1] => -24 [2] => 1 [3] => 1024 [4] => [nativecode=Lost connection to MySQL server during query] ) ) [1] => Array ( [file] => /usr/local/lib/php/PEAR.php [line] => 563 [function] => db_error [class] => db_error [type] => -> [args] => Array ( [0] => -24 [1] => 1 [2] => 1024 [3] => [nativecode=Lost connection to MySQL server during query] ) ) [2] => Array ( [file] => /usr/local/lib/php/DB/common.php [line] => 1849 [function] => raiseerror [class] => pear [type] => :: [args] => Array ( [0] => [1] => -24 [2] => [3] => [4] => [nativecode=Lost connection to MySQL server during query] [5] => DB_Error [6] => 1 ) ) [3] => Array ( [file] => /usr/local/lib/php/DB/mysql.php [line] => 249 [function] => raiseerror [class] => db_mysql [type] => -> [args] => Array ( [0] => -24 [1] => [2] => [3] => [4] => Lost connection to MySQL server during query ) ) [4] => Array ( [file] => /usr/local/lib/php/DB.php [line] => 556 [function] => connect [class] => db_mysql [type] => -> [args] => Array ( [0] => Array ( [phptype] => mysql [dbsyntax] => mysql [username] => root [password] => [protocol] => tcp [hostspec] => 10.3.2.60 [port] => [socket] => [database] => bbchatlog ) [1] => 1 ) ) [5] => Array ( [file] => /usr/local/apache/htdocs/include/db_access_log.inc.php [line] => 34 [function] => connect [class] => db [type] => :: [args] => Array ( [0] => mysql://root:@10.3.2.60/bbchatlog [1] => 1 ) ) [6] => Array ( [file] => /usr/local/apache/htdocs/include/db_access_log.inc.php [line] => 20 [function] => conlogdb [args] => Array ( [0] => 10.3.2.60 ) ) [7] => Array ( [file] => /usr/local/apache/htdocs/go_isp.php [line] => 66 [function] => getlogdbcon [args] => Array ( ) ) [8] => Array ( [file] => /usr/local/apache/htdocs/go_isp.php [line] => 45 [function] => writelog [args] => Array ( ) ) ) [callback] => ) DB Error: connect failed
Fatal error: Call to undefined function: query() in /usr/local/apache/htdocs/include/db_access_log.inc.php on line 22