DB_Error Object ( [error_message_prefix] => [mode] => 1 [level] => 1024 [code] => -24 [message] => DB Error: connect failed [userinfo] => [nativecode=Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)] ** mysql://p24_path:NI4Zjcma@localhost/p24_cms?characterEnconding=ISO-8859-1 [backtrace] => Array ( [0] => Array ( [file] => /home/p24/public_html/path/class/pear/DB.php [line] => 891 [function] => PEAR_Error [class] => PEAR_Error [object] => DB_Error Object *RECURSION* [type] => -> [args] => Array ( [0] => DB Error: connect failed [1] => -24 [2] => 1 [3] => 1024 [4] => [nativecode=Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)] ) ) [1] => Array ( [file] => /home/p24/public_html/path/class/pear/PEAR.php [line] => 525 [function] => DB_Error [class] => DB_Error [object] => DB_Error Object *RECURSION* [type] => -> [args] => Array ( [0] => -24 [1] => 1 [2] => 1024 [3] => [nativecode=Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)] ) ) [2] => Array ( [file] => /home/p24/public_html/path/class/pear/DB/common.php [line] => 1849 [function] => raiseError [class] => PEAR [object] => DB_mysql Object ( [phptype] => mysql [dbsyntax] => mysql [features] => Array ( [limit] => alter [new_link] => 4.2.0 [numrows] => 1 [pconnect] => 1 [prepare] => [ssl] => [transactions] => 1 ) [errorcode_map] => Array ( [1004] => -15 [1005] => -15 [1006] => -15 [1007] => -5 [1008] => -17 [1022] => -5 [1044] => -26 [1046] => -14 [1048] => -3 [1049] => -27 [1050] => -5 [1051] => -18 [1054] => -19 [1061] => -5 [1062] => -5 [1064] => -2 [1091] => -4 [1100] => -21 [1136] => -22 [1142] => -26 [1146] => -18 [1216] => -3 [1217] => -3 ) [connection] => [dsn] => Array ( [phptype] => mysql [dbsyntax] => mysql [username] => p24_path [password] => NI4Zjcma [protocol] => tcp [hostspec] => localhost [port] => [socket] => [database] => p24_cms [characterEnconding] => ISO-8859-1 ) [autocommit] => 1 [transaction_opcount] => 0 [_db] => [fetchmode] => 1 [fetchmode_object_class] => stdClass [was_connected] => [last_query] => [options] => Array ( [result_buffering] => 500 [persistent] => [ssl] => [debug] => 0 [seqname_format] => %s_seq [autofree] => [portability] => 0 [optimize] => performance ) [last_parameters] => Array ( ) [prepare_tokens] => Array ( ) [prepare_types] => Array ( ) [prepared_queries] => Array ( ) [_debug] => [_default_error_mode] => [_default_error_options] => [_default_error_handler] => [_error_class] => DB_Error [_expected_errors] => Array ( ) ) [type] => -> [args] => Array ( [0] => [1] => -24 [2] => [3] => [4] => [nativecode=Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)] [5] => DB_Error [6] => 1 ) ) [3] => Array ( [file] => /home/p24/public_html/path/class/pear/DB/mysql.php [line] => 249 [function] => raiseError [class] => DB_common [object] => DB_mysql Object ( [phptype] => mysql [dbsyntax] => mysql [features] => Array ( [limit] => alter [new_link] => 4.2.0 [numrows] => 1 [pconnect] => 1 [prepare] => [ssl] => [transactions] => 1 ) [errorcode_map] => Array ( [1004] => -15 [1005] => -15 [1006] => -15 [1007] => -5 [1008] => -17 [1022] => -5 [1044] => -26 [1046] => -14 [1048] => -3 [1049] => -27 [1050] => -5 [1051] => -18 [1054] => -19 [1061] => -5 [1062] => -5 [1064] => -2 [1091] => -4 [1100] => -21 [1136] => -22 [1142] => -26 [1146] => -18 [1216] => -3 [1217] => -3 ) [connection] => [dsn] => Array ( [phptype] => mysql [dbsyntax] => mysql [username] => p24_path [password] => NI4Zjcma [protocol] => tcp [hostspec] => localhost [port] => [socket] => [database] => p24_cms [characterEnconding] => ISO-8859-1 ) [autocommit] => 1 [transaction_opcount] => 0 [_db] => [fetchmode] => 1 [fetchmode_object_class] => stdClass [was_connected] => [last_query] => [options] => Array ( [result_buffering] => 500 [persistent] => [ssl] => [debug] => 0 [seqname_format] => %s_seq [autofree] => [portability] => 0 [optimize] => performance ) [last_parameters] => Array ( ) [prepare_tokens] => Array ( ) [prepare_types] => Array ( ) [prepared_queries] => Array ( ) [_debug] => [_default_error_mode] => [_default_error_options] => [_default_error_handler] => [_error_class] => DB_Error [_expected_errors] => Array ( ) ) [type] => -> [args] => Array ( [0] => -24 [1] => [2] => [3] => [4] => Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) ) ) [4] => Array ( [file] => /home/p24/public_html/path/class/pear/DB.php [line] => 559 [function] => connect [class] => DB_mysql [object] => DB_mysql Object ( [phptype] => mysql [dbsyntax] => mysql [features] => Array ( [limit] => alter [new_link] => 4.2.0 [numrows] => 1 [pconnect] => 1 [prepare] => [ssl] => [transactions] => 1 ) [errorcode_map] => Array ( [1004] => -15 [1005] => -15 [1006] => -15 [1007] => -5 [1008] => -17 [1022] => -5 [1044] => -26 [1046] => -14 [1048] => -3 [1049] => -27 [1050] => -5 [1051] => -18 [1054] => -19 [1061] => -5 [1062] => -5 [1064] => -2 [1091] => -4 [1100] => -21 [1136] => -22 [1142] => -26 [1146] => -18 [1216] => -3 [1217] => -3 ) [connection] => [dsn] => Array ( [phptype] => mysql [dbsyntax] => mysql [username] => p24_path [password] => NI4Zjcma [protocol] => tcp [hostspec] => localhost [port] => [socket] => [database] => p24_cms [characterEnconding] => ISO-8859-1 ) [autocommit] => 1 [transaction_opcount] => 0 [_db] => [fetchmode] => 1 [fetchmode_object_class] => stdClass [was_connected] => [last_query] => [options] => Array ( [result_buffering] => 500 [persistent] => [ssl] => [debug] => 0 [seqname_format] => %s_seq [autofree] => [portability] => 0 [optimize] => performance ) [last_parameters] => Array ( ) [prepare_tokens] => Array ( ) [prepare_types] => Array ( ) [prepared_queries] => Array ( ) [_debug] => [_default_error_mode] => [_default_error_options] => [_default_error_handler] => [_error_class] => DB_Error [_expected_errors] => Array ( ) ) [type] => -> [args] => Array ( [0] => Array ( [phptype] => mysql [dbsyntax] => mysql [username] => p24_path [password] => NI4Zjcma [protocol] => tcp [hostspec] => localhost [port] => [socket] => [database] => p24_cms [characterEnconding] => ISO-8859-1 ) [1] => ) ) [5] => Array ( [file] => /home/p24/public_html/path/class/class.ArticlesDAO.php [line] => 24 [function] => connect [class] => DB [object] => ArticlesDAO Object ( [dbConf] => mysql://p24_path:NI4Zjcma@localhost/p24_cms?characterEnconding=ISO-8859-1 [dbCon] => DB_Error Object *RECURSION* ) [type] => -> [args] => Array ( [0] => mysql://p24_path:NI4Zjcma@localhost/p24_cms?characterEnconding=ISO-8859-1 ) ) [6] => Array ( [file] => /home/p24/public_html/path/class/class.NewsController.php [line] => 103 [function] => ArticlesDAO [class] => ArticlesDAO [object] => ArticlesDAO Object ( [dbConf] => mysql://p24_path:NI4Zjcma@localhost/p24_cms?characterEnconding=ISO-8859-1 [dbCon] => DB_Error Object *RECURSION* ) [type] => -> [args] => Array ( ) ) [7] => Array ( [file] => /home/p24/public_html/path/class/class.NewsController.php [line] => 58 [function] => doGet [class] => NewsController [object] => NewsController Object ( [area] => jornal [date] => [idArticle] => [conf] => Array ( [root_location] => /path/ [script_location] => /path/index.php [site_index] => /path/index.php/news/novidades/20060926/28 [images_location] => http://www.pathworksp.com.br/path/images/ [repository_dir] => /home/p24/public_html/path/repository_data [email_from] => Pathwork SP [email_subject] => Bem-vindo a Pathwork São Paulo! Seu usuário foi cadastrado com sucesso ) ) [type] => -> [args] => Array ( [0] => Array ( ) ) ) [8] => Array ( [file] => /home/p24/public_html/path/class/class.RestGateway.php [line] => 72 [function] => NewsController [class] => NewsController [object] => NewsController Object ( [area] => jornal [date] => [idArticle] => [conf] => Array ( [root_location] => /path/ [script_location] => /path/index.php [site_index] => /path/index.php/news/novidades/20060926/28 [images_location] => http://www.pathworksp.com.br/path/images/ [repository_dir] => /home/p24/public_html/path/repository_data [email_from] => Pathwork SP [email_subject] => Bem-vindo a Pathwork São Paulo! Seu usuário foi cadastrado com sucesso ) ) [type] => -> [args] => Array ( [0] => Array ( [root_location] => /path/ [script_location] => /path/index.php [site_index] => /path/index.php/news/novidades/20060926/28 [images_location] => http://www.pathworksp.com.br/path/images/ [repository_dir] => /home/p24/public_html/path/repository_data [email_from] => Pathwork SP [email_subject] => Bem-vindo a Pathwork São Paulo! Seu usuário foi cadastrado com sucesso ) [1] => Array ( [0] => jornal ) ) ) [9] => Array ( [file] => /home/p24/public_html/path/index.php [line] => 6 [function] => RestGateway [class] => RestGateway [object] => RestGateway Object ( [controller] => news [conf] => Array ( [root_location] => /path/ [script_location] => /path/index.php [site_index] => /path/index.php/news/novidades/20060926/28 [images_location] => http://www.pathworksp.com.br/path/images/ [repository_dir] => /home/p24/public_html/path/repository_data [email_from] => Pathwork SP [email_subject] => Bem-vindo a Pathwork São Paulo! Seu usuário foi cadastrado com sucesso ) [ip] => 38.107.191.109 [vars] => Array ( [0] => jornal ) ) [type] => -> [args] => Array ( [0] => Array ( [root_location] => /path/ [script_location] => /path/index.php [site_index] => /path/index.php/news/novidades/20060926/28 [images_location] => http://www.pathworksp.com.br/path/images/ [repository_dir] => /home/p24/public_html/path/repository_data [email_from] => Pathwork SP [email_subject] => Bem-vindo a Pathwork São Paulo! Seu usuário foi cadastrado com sucesso ) ) ) ) [callback] => ) Falha na conexaoDB Error: connect failed
Fatal error: Call to undefined method DB_Error::query() in /home/p24/public_html/path/class/class.ArticlesDAO.php on line 225