Track
Thu, 27 Aug 26 10:19:09 +0800
无法连接数据库:Connection refused
> /app/base/lib/db/connections.php:184
| > | #0 | trigger_error(...string(40) "无法连接数据库:Connection refused" ,'256') | connections.php:184 |
| #1 | base_db_connections->_connect('127.0.0.1','jinlei','Pkz8tLe4dCLbrjZN','jinlei') | connections.php:173 | |
| #2 | base_db_connections->_rw_conn() | connections.php:158 | |
| #3 | base_db_connections->_ro_conn() | connections.php:98 | |
| #4 | base_db_connections->select(...string(137) "SELECT member_id,login_account,login_type FROM `sdb_pam_members` WHERE 1 AND `sdb_pam_members`.member_id='' LIMIT 0, 18446744073709551615" ) | connections.php:147 | |
| #5 | base_db_connections->selectlimit(...string(107) "SELECT member_id,login_account,login_type FROM `sdb_pam_members` WHERE 1 AND `sdb_pam_members`.member_id=''" ,'-1','0') | model.php:64 | |
| #6 | dbeav_model->getList(...string(34) "member_id,login_account,login_type" ,...array(1) { ["member_id"]=> bool(false) } ) | object.php:188 | |
| #7 | b2c_user_object->_get_pam_members_data(...string(34) "member_id,login_account,login_type" ,'') | object.php:149 | |
| #8 | b2c_user_object->get_members_data(...array(2) { ["account"]=> string(34) "member_id,login_account,login_type" ["members"]=> string(60) "member_id,member_lv_id,name,sex,experience,cur,advance,point" } ) | object.php:101 | |
| #9 | b2c_user_object->get_member_info() | object.php:90 | |
| #10 | b2c_user_object->get_current_member() | objects.php:47 | |
| #11 | b2c_cart_objects->get_current_member() | coupon.php:27 | |
| #12 | b2c_cart_object_coupon->__construct(object(appobject(app)#10 (23) { ["__render":"app":private]=> NULL ["__router":"app":private]=> NULL ["__define":"app":private]=> NULL ["__taskrunner":"app":private]=> NULL ["__checkVaryArr":"app":private]=> array(0) { } ["__langPack":"app":private]=> array(0) { } ["__installed":"app":private]=> NULL ["__actived":"app":private]=> NULL ["__setting":"app":private]=> NULL ["app_id"]=> string(3) "b2c" ["app_dir"]=> string(28) "/www/wwwroot/jinlei2/app/b2c" ["public_app_dir"]=> string(35) "/www/wwwroot/jinlei2/public/app/b2c" ["res_url"]=> string(44) "http://www.labbuy.net/public/app/b2c/statics" ["favicon"]=> string(45) "http://www.labbuy.net/public/app/site/statics" ["res_full_url"]=> string(44) "http://www.labbuy.net/public/app/b2c/statics" ["lang_url"]=> string(41) "http://www.labbuy.net/public/app/b2c/lang" ["lang_full_url"]=> string(41) "http://www.labbuy.net/public/app/b2c/lang" ["widgets_url"]=> string(44) "http://www.labbuy.net/public/app/b2c/widgets" ["widgets_full_url"]=> string(44) "http://www.labbuy.net/public/app/b2c/widgets" ["res_dir"]=> string(43) "/www/wwwroot/jinlei2/public/app/b2c/statics" ["widgets_dir"]=> string(43) "/www/wwwroot/jinlei2/public/app/b2c/widgets" ["lang_dir"]=> string(40) "/www/wwwroot/jinlei2/public/app/b2c/lang" ["_lang_resource"]=> NULL } )) | kernel.php:347 | |
| #13 | kernel::single(...string(22) "b2c_cart_object_coupon" ) | service.php:53 | |
| #14 | service->filter() | service.php:36 | |
| #15 | service->valid() | service.php:15 | |
| #16 | service->__construct(...array(1) { ["list"]=> array(3) { [0]=> string(22) "b2c_cart_object_coupon" [1]=> string(21) "b2c_cart_object_goods" [2]=> string(21) "gift_cart_object_gift" } } ,'') | kernel.php:374 | |
| #17 | kernel::servicelist('b2c_cart_object_apps') | cart.php:391 | |
| #18 | b2c_ctl_site_cart->add('goods','401','1031','1') | ||
| #19 | call_user_func_array(...array(2) { [0]=> object(b2c_ctl_site_cart)#21 (34) { ["customer_template_type"]=> string(4) "cart" ["noCache"]=> bool(true) ["show_gotocart_button"]=> bool(true) ["member":protected]=> array(0) { } ["__theme":"site_controller":private]=> NULL ["__tmpl":"site_controller":private]=> string(4) "cart" ["__tmpl_file":"site_controller":private]=> NULL ["__tmpl_main_app_id":"site_controller":private]=> NULL ["__widgets_css":"site_controller":private]=> array(0) { } ["__finish_modifier":"site_controller":private]=> array(0) { } ["__cachecontrol":"site_controller":private]=> array(4) { ["access"]=> string(6) "public" ["no-cache"]=> string(0) "" ["no-store"]=> string(8) "no-store" ["max-age"]=> string(9) "max-age=0" } ["transaction_start"]=> bool(false) ["contentType"]=> string(23) "text/html;charset=utf-8" ["enable_strip_whitespace"]=> bool(false) ["is_splash"]=> bool(false) ["pagedata"]=> array(3) { ["login"]=> string(7) "nologin" ["res_url"]=> string(44) "http://www.labbuy.net/public/app/b2c/statics" ["request_url"]=> string(28) "/product-get_goods_spec.html" } ["force_compile"]=> int(0) ["_tag_stack"]=> array(0) { } ["_end_message"]=> NULL ["_compiler":"base_render":private]=> NULL ["_files"]=> array(0) { } ["_tpl_key_prefix"]=> array(0) { } ["_ignore_pre_display"]=> bool(false) ["app"]=> object(app)#10 (23) { ["__render":"app":private]=> NULL ["__router":"app":private]=> NULL ["__define":"app":private]=> NULL ["__taskrunner":"app":private]=> NULL ["__checkVaryArr":"app":private]=> array(0) { } ["__langPack":"app":private]=> array(0) { } ["__installed":"app":private]=> NULL ["__actived":"app":private]=> NULL ["__setting":"app":private]=> NULL ["app_id"]=> string(3) "b2c" ["app_dir"]=> string(28) "/www/wwwroot/jinlei2/app/b2c" ["public_app_dir"]=> string(35) "/www/wwwroot/jinlei2/public/app/b2c" ["res_url"]=> string(44) "http://www.labbuy.net/public/app/b2c/statics" ["favicon"]=> string(45) "http://www.labbuy.net/public/app/site/statics" ["res_full_url"]=> string(44) "http://www.labbuy.net/public/app/b2c/statics" ["lang_url"]=> string(41) "http://www.labbuy.net/public/app/b2c/lang" ["lang_full_url"]=> string(41) "http://www.labbuy.net/public/app/b2c/lang" ["widgets_url"]=> string(44) "http://www.labbuy.net/public/app/b2c/widgets" ["widgets_full_url"]=> string(44) "http://www.labbuy.net/public/app/b2c/widgets" ["res_dir"]=> string(43) "/www/wwwroot/jinlei2/public/app/b2c/statics" ["widgets_dir"]=> string(43) "/www/wwwroot/jinlei2/public/app/b2c/widgets" ["lang_dir"]=> string(40) "/www/wwwroot/jinlei2/public/app/b2c/lang" ["_lang_resource"]=> NULL } ["params"]=> array(0) { } ["_request"]=> object(base_component_request)#12 (11) { ["_app":protected]=> string(3) "b2c" ["_app_key":protected]=> string(3) "app" ["_ctl":protected]=> string(9) "site_cart" ["_ctl_key":protected]=> string(3) "ctl" ["_act":protected]=> string(3) "add" ["_act_key":protected]=> string(3) "act" ["_params":protected]=> array(4) { [0]=> string(5) "goods" [1]=> string(3) "401" [2]=> string(4) "1031" [3]=> string(1) "1" } ["_ext_param_source":protected]=> array(2) { [0]=> string(3) "GET" [1]=> string(4) "POST" } ["_request_uri":protected]=> string(31) "/cart-add-goods-401-1031-1.html" ["_core_url":protected]=> NULL ["_path_info":protected]=> NULL } ["_response"]=> object(base_component_response)#13 (5) { ["_headers":protected]=> array(0) { } ["_raw_headers":protected]=> array(0) { } ["_http_response_code":protected]=> int(200) ["_is_redirect":protected]=> bool(false) ["_bodys":protected]=> array(0) { } } ["title"]=> string(31) "购物车_Labbuy实验室商城" ["keywords"]=> string(32) "购物车__Labbuy实验室商城" ["description"]=> string(32) "购物车__Labbuy实验室商城" ["mCart"]=> object(b2c_mdl_cart)#24 (12) { ["dbschema"]=> NULL ["api_id"]=> NULL ["filter_use_like"]=> bool(false) ["app"]=> object(app)#10 (23) { ["__render":"app":private]=> NULL ["__router":"app":private]=> NULL ["__define":"app":private]=> NULL ["__taskrunner":"app":private]=> NULL ["__checkVaryArr":"app":private]=> array(0) { } ["__langPack":"app":private]=> array(0) { } ["__installed":"app":private]=> NULL ["__actived":"app":private]=> NULL ["__setting":"app":private]=> NULL ["app_id"]=> string(3) "b2c" ["app_dir"]=> string(28) "/www/wwwroot/jinlei2/app/b2c" ["public_app_dir"]=> string(35) "/www/wwwroot/jinlei2/public/app/b2c" ["res_url"]=> string(44) "http://www.labbuy.net/public/app/b2c/statics" ["favicon"]=> string(45) "http://www.labbuy.net/public/app/site/statics" ["res_full_url"]=> string(44) "http://www.labbuy.net/public/app/b2c/statics" ["lang_url"]=> string(41) "http://www.labbuy.net/public/app/b2c/lang" ["lang_full_url"]=> string(41) "http://www.labbuy.net/public/app/b2c/lang" ["widgets_url"]=> string(44) "http://www.labbuy.net/public/app/b2c/widgets" ["widgets_full_url"]=> string(44) "http://www.labbuy.net/public/app/b2c/widgets" ["res_dir"]=> string(43) "/www/wwwroot/jinlei2/public/app/b2c/statics" ["widgets_dir"]=> string(43) "/www/wwwroot/jinlei2/public/app/b2c/widgets" ["lang_dir"]=> string(40) "/www/wwwroot/jinlei2/public/app/b2c/lang" ["_lang_resource"]=> NULL } ["db"]=> object(base_db_connections)#26 (5) { ["_rw_lnk":protected]=> NULL ["_ro_lnk":protected]=> NULL ["_use_transaction":protected]=> bool(false) ["_enable_innodb"]=> bool(false) ["prefix"]=> string(4) "sdb_" } ["table_define"]=> object(base_application_dbtable)#29 (8) { ["path"]=> string(8) "dbschema" ["use_db_cache"]=> bool(true) ["_define"]=> NULL ["current"]=> NULL ["path_ispublic"]=> bool(false) ["iterator":protected]=> NULL ["target_app"]=> object(app)#10 (23) { ["__render":"app":private]=> NULL ["__router":"app":private]=> NULL ["__define":"app":private]=> NULL ["__taskrunner":"app":private]=> NULL ["__checkVaryArr":"app":private]=> array(0) { } ["__langPack":"app":private]=> array(0) { } ["__installed":"app":private]=> NULL ["__actived":"app":private]=> NULL ["__setting":"app":private]=> NULL ["app_id"]=> string(3) "b2c" ["app_dir"]=> string(28) "/www/wwwroot/jinlei2/app/b2c" ["public_app_dir"]=> string(35) "/www/wwwroot/jinlei2/public/app/b2c" ["res_url"]=> string(44) "http://www.labbuy.net/public/app/b2c/statics" ["favicon"]=> string(45) "http://www.labbuy.net/public/app/site/statics" ["res_full_url"]=> string(44) "http://www.labbuy.net/public/app/b2c/statics" ["lang_url"]=> string(41) "http://www.labbuy.net/public/app/b2c/lang" ["lang_full_url"]=> string(41) "http://www.labbuy.net/public/app/b2c/lang" ["widgets_url"]=> string(44) "http://www.labbuy.net/public/app/b2c/widgets" ["widgets_full_url"]=> string(44) "http://www.labbuy.net/public/app/b2c/widgets" ["res_dir"]=> string(43) "/www/wwwroot/jinlei2/public/app/b2c/statics" ["widgets_dir"]=> string(43) "/www/wwwroot/jinlei2/public/app/b2c/widgets" ["lang_dir"]=> string(40) "/www/wwwroot/jinlei2/public/app/b2c/lang" ["_lang_resource"]=> NULL } ["key"]=> string(4) "cart" } ["__exists_schema"]=> array(1) { ["b2c"]=> array(1) { ["cart"]=> array(9) { ["columns"]=> array(3) { ["cart_id"]=> array(9) { ["type"]=> string(15) "bigint unsigned" ["extra"]=> string(14) "auto_increment" ["pkey"]=> bool(true) ["label"]=> string(6) "序号" ["required"]=> bool(true) ["editable"]=> bool(false) ["in_list"]=> bool(true) ["default_in_list"]=> bool(true) ["realtype"]=> string(19) "bigint(20) unsigned" } ["member_ident"]=> array(8) { ["type"]=> string(11) "varchar(50)" ["pkey"]=> bool(true) ["required"]=> bool(true) ["label"]=> string(11) "会员ident" ["editable"]=> bool(false) ["in_list"]=> bool(true) ["default_in_list"]=> bool(true) ["realtype"]=> string(11) "varchar(50)" } ["params"]=> array(6) { ["type"]=> string(9) "serialize" ["required"]=> bool(true) ["label"]=> string(21) "购物车对象参数" ["editable"]=> bool(false) ["in_list"]=> bool(true) ["realtype"]=> string(8) "longtext" } } ["engine"]=> string(6) "innodb" ["version"]=> string(13) "$Rev: 43884 $" ["comment"]=> string(17) "购物车(废弃)" ["idColumn"]=> array(2) { ["cart_id"]=> string(7) "cart_id" ["member_ident"]=> string(12) "member_ident" } ["in_list"]=> array(3) { [0]=> string(7) "cart_id" [1]=> string(12) "member_ident" [2]=> string(6) "params" } ["default_in_list"]=> array(2) { [0]=> string(7) "cart_id" [1]=> string(12) "member_ident" } ["pkeys"]=> array(2) { ["cart_id"]=> string(7) "cart_id" ["member_ident"]=> string(12) "member_ident" } ["textColumn"]=> string(12) "member_ident" } } } ["schema"]=> array(9) { ["columns"]=> array(3) { ["cart_id"]=> array(9) { ["type"]=> string(15) "bigint unsigned" ["extra"]=> string(14) "auto_increment" ["pkey"]=> bool(true) ["label"]=> string(6) "序号" ["required"]=> bool(true) ["editable"]=> bool(false) ["in_list"]=> bool(true) ["default_in_list"]=> bool(true) ["realtype"]=> string(19) "bigint(20) unsigned" } ["member_ident"]=> array(8) { ["type"]=> string(11) "varchar(50)" ["pkey"]=> bool(true) ["required"]=> bool(true) ["label"]=> string(11) "会员ident" ["editable"]=> bool(false) ["in_list"]=> bool(true) ["default_in_list"]=> bool(true) ["realtype"]=> string(11) "varchar(50)" } ["params"]=> array(6) { ["type"]=> string(9) "serialize" ["required"]=> bool(true) ["label"]=> string(21) "购物车对象参数" ["editable"]=> bool(false) ["in_list"]=> bool(true) ["realtype"]=> string(8) "longtext" } } ["engine"]=> string(6) "innodb" ["version"]=> string(13) "$Rev: 43884 $" ["comment"]=> string(17) "购物车(废弃)" ["idColumn"]=> array(2) { ["cart_id"]=> string(7) "cart_id" ["member_ident"]=> string(12) "member_ident" } ["in_list"]=> array(3) { [0]=> string(7) "cart_id" [1]=> string(12) "member_ident" [2]=> string(6) "params" } ["default_in_list"]=> array(2) { [0]=> string(7) "cart_id" [1]=> string(12) "member_ident" } ["pkeys"]=> array(2) { ["cart_id"]=> string(7) "cart_id" ["member_ident"]=> string(12) "member_ident" } ["textColumn"]=> string(12) "member_ident" } ["metaColumn"]=> NULL ["idColumn"]=> array(2) { ["cart_id"]=> string(7) "cart_id" ["member_ident"]=> string(12) "member_ident" } ["textColumn"]=> string(12) "member_ident" ["skipModifiedMark"]=> bool(false) } ["obj_session"]=> object(base_session)#32 (6) { ["_sess_id":"base_session":private]=> string(32) "d31bcb8f2a5354b038ad03c1dba40628" ["_sess_key":"base_session":private]=> string(1) "s" ["_session_started":"base_session":private]=> bool(true) ["_sess_expires":"base_session":private]=> int(60) ["_cookie_expires":"base_session":private]=> int(0) ["_session_destoryed":"base_session":private]=> bool(false) } ["member_status"]=> bool(false) ["objMath"]=> object(ectools_math)#36 (6) { ["operationDecimals"]=> int(2) ["operationCarryset"]=> int(1) ["goodsShowDecimals"]=> int(2) ["goodsShowCarryset"]=> int(1) ["operationFunc"]=> string(5) "round" ["displayFunc"]=> string(5) "round" } } [1]=> string(3) "add" } ,...array(4) { [0]=> string(5) "goods" [1]=> string(3) "401" [2]=> string(4) "1031" [3]=> string(1) "1" } ) | router.php:608 | |
| #20 | site_router->default_dispatch() | router.php:492 | |
| #21 | site_router->dispatch(...string(30) "cart-add-goods-401-1031-1.html" ) | kernel.php:165 | |
| #22 | kernel::boot() | index.php:5 |