Track
Tue, 19 Mar 24 11:30:34 +0800
无法连接数据库:php_network_getaddresses: getaddrinfo failed: Temporary failure in name resolution
> /app/base/lib/db/connections.php:189
> | #0 | trigger_error(...string(104) "无法连接数据库:php_network_getaddresses: getaddrinfo failed: Temporary failure in name resolution" ,'256') | connections.php:189 |
#1 | base_db_connections->_connect(...string(44) "rds637zp6c38m5952l72n.mysql.rds.aliyuncs.com" ,'ghsecser','GHS#ecs2018','ecstore') | connections.php:178 | |
#2 | base_db_connections->_rw_conn() | connections.php:163 | |
#3 | base_db_connections->_ro_conn() | connections.php:103 | |
#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:152 | |
#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:67 | |
#6 | dbeav_model->getList(...string(34) "member_id,login_account,login_type" ,...array(1) { ["member_id"]=> bool(false) } ) | object.php:185 | |
#7 | b2c_user_object->_get_pam_members_data(...string(34) "member_id,login_account,login_type" ,'') | object.php:146 | |
#8 | b2c_user_object->get_members_data(...array(2) { ["account"]=> string(34) "member_id,login_account,login_type" ["members"]=> string(71) "member_id,member_lv_id,name,sex,experience,cur,advance,point,foreign_id" } ) | object.php:97 | |
#9 | b2c_user_object->get_member_info() | object.php:86 | |
#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(25) "/data/www/wwwroot/app/b2c" ["public_app_dir"]=> string(32) "/data/www/wwwroot/public/app/b2c" ["res_url"]=> string(41) "http://www.ghs.net/public/app/b2c/statics" ["res_full_url"]=> string(41) "http://www.ghs.net/public/app/b2c/statics" ["lang_url"]=> string(38) "http://www.ghs.net/public/app/b2c/lang" ["lang_full_url"]=> string(38) "http://www.ghs.net/public/app/b2c/lang" ["widgets_url"]=> string(41) "http://www.ghs.net/public/app/b2c/widgets" ["widgets_full_url"]=> string(41) "http://www.ghs.net/public/app/b2c/widgets" ["res_dir"]=> string(40) "/data/www/wwwroot/public/app/b2c/statics" ["widgets_dir"]=> string(40) "/data/www/wwwroot/public/app/b2c/widgets" ["lang_dir"]=> string(37) "/data/www/wwwroot/public/app/b2c/lang" ["_lang_resource"]=> NULL ["member_id"]=> int(0) } )) | kernel.php:341 | |
#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:369 | |
#17 | kernel::servicelist('b2c_cart_object_apps') | objects.php:245 | |
#18 | b2c_mdl_cart_objects->_get_cart_object_apps() | objects.php:61 | |
#19 | b2c_mdl_cart_objects->get_object() | objects.php:272 | |
#20 | b2c_mdl_cart_objects->setCartNum('') | passport.php:825 | |
#21 | b2c_ctl_site_passport->logout() | ||
#22 | call_user_func_array(...array(2) { [0]=> object(b2c_ctl_site_passport)#23 (28) { ["member":protected]=> array(0) { } ["__theme":"site_controller":private]=> NULL ["__tmpl":"site_controller":private]=> NULL ["__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(0) "" ["max-age"]=> string(9) "max-age=1" } ["transaction_start"]=> bool(false) ["contentType"]=> string(23) "text/html;charset=utf-8" ["enable_strip_whitespace"]=> bool(false) ["is_splash"]=> bool(false) ["pagedata"]=> array(0) { } ["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(25) "/data/www/wwwroot/app/b2c" ["public_app_dir"]=> string(32) "/data/www/wwwroot/public/app/b2c" ["res_url"]=> string(41) "http://www.ghs.net/public/app/b2c/statics" ["res_full_url"]=> string(41) "http://www.ghs.net/public/app/b2c/statics" ["lang_url"]=> string(38) "http://www.ghs.net/public/app/b2c/lang" ["lang_full_url"]=> string(38) "http://www.ghs.net/public/app/b2c/lang" ["widgets_url"]=> string(41) "http://www.ghs.net/public/app/b2c/widgets" ["widgets_full_url"]=> string(41) "http://www.ghs.net/public/app/b2c/widgets" ["res_dir"]=> string(40) "/data/www/wwwroot/public/app/b2c/statics" ["widgets_dir"]=> string(40) "/data/www/wwwroot/public/app/b2c/widgets" ["lang_dir"]=> string(37) "/data/www/wwwroot/public/app/b2c/lang" ["_lang_resource"]=> NULL ["member_id"]=> int(0) } ["params"]=> array(0) { } ["_request"]=> object(base_component_request)#12 (12) { ["_app":protected]=> string(3) "b2c" ["_app_key":protected]=> string(3) "app" ["_ctl":protected]=> string(13) "site_passport" ["_ctl_key":protected]=> string(3) "ctl" ["_act":protected]=> string(6) "logout" ["_act_key":protected]=> string(3) "act" ["_params":protected]=> array(0) { } ["_ext_param_source":protected]=> array(2) { [0]=> string(3) "GET" [1]=> string(4) "POST" } ["_request_uri":protected]=> string(21) "/passport-logout.html" ["_core_url":protected]=> NULL ["_path_info":protected]=> NULL ["_api":protected]=> NULL } ["_response"]=> object(base_component_response)#13 (5) { ["_headers":protected]=> array(1) { [0]=> array(3) { ["name"]=> string(13) "Cache-Control" ["value"]=> string(8) "no-store" ["replace"]=> bool(false) } } ["_raw_headers":protected]=> array(0) { } ["_http_response_code":protected]=> int(200) ["_is_redirect":protected]=> bool(false) ["_bodys":protected]=> array(0) { } } ["userObject"]=> object(b2c_user_object)#21 (3) { ["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(25) "/data/www/wwwroot/app/b2c" ["public_app_dir"]=> string(32) "/data/www/wwwroot/public/app/b2c" ["res_url"]=> string(41) "http://www.ghs.net/public/app/b2c/statics" ["res_full_url"]=> string(41) "http://www.ghs.net/public/app/b2c/statics" ["lang_url"]=> string(38) "http://www.ghs.net/public/app/b2c/lang" ["lang_full_url"]=> string(38) "http://www.ghs.net/public/app/b2c/lang" ["widgets_url"]=> string(41) "http://www.ghs.net/public/app/b2c/widgets" ["widgets_full_url"]=> string(41) "http://www.ghs.net/public/app/b2c/widgets" ["res_dir"]=> string(40) "/data/www/wwwroot/public/app/b2c/statics" ["widgets_dir"]=> string(40) "/data/www/wwwroot/public/app/b2c/widgets" ["lang_dir"]=> string(37) "/data/www/wwwroot/public/app/b2c/lang" ["_lang_resource"]=> NULL ["member_id"]=> int(0) } ["pagedata"]=> array(1) { ["site_b2c_remember"]=> NULL } ["member_id"]=> bool(false) } ["userPassport"]=> object(b2c_user_passport)#26 (3) { ["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(25) "/data/www/wwwroot/app/b2c" ["public_app_dir"]=> string(32) "/data/www/wwwroot/public/app/b2c" ["res_url"]=> string(41) "http://www.ghs.net/public/app/b2c/statics" ["res_full_url"]=> string(41) "http://www.ghs.net/public/app/b2c/statics" ["lang_url"]=> string(38) "http://www.ghs.net/public/app/b2c/lang" ["lang_full_url"]=> string(38) "http://www.ghs.net/public/app/b2c/lang" ["widgets_url"]=> string(41) "http://www.ghs.net/public/app/b2c/widgets" ["widgets_full_url"]=> string(41) "http://www.ghs.net/public/app/b2c/widgets" ["res_dir"]=> string(40) "/data/www/wwwroot/public/app/b2c/statics" ["widgets_dir"]=> string(40) "/data/www/wwwroot/public/app/b2c/widgets" ["lang_dir"]=> string(37) "/data/www/wwwroot/public/app/b2c/lang" ["_lang_resource"]=> NULL ["member_id"]=> int(0) } ["userObject"]=> object(b2c_user_object)#21 (3) { ["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(25) "/data/www/wwwroot/app/b2c" ["public_app_dir"]=> string(32) "/data/www/wwwroot/public/app/b2c" ["res_url"]=> string(41) "http://www.ghs.net/public/app/b2c/statics" ["res_full_url"]=> string(41) "http://www.ghs.net/public/app/b2c/statics" ["lang_url"]=> string(38) "http://www.ghs.net/public/app/b2c/lang" ["lang_full_url"]=> string(38) "http://www.ghs.net/public/app/b2c/lang" ["widgets_url"]=> string(41) "http://www.ghs.net/public/app/b2c/widgets" ["widgets_full_url"]=> string(41) "http://www.ghs.net/public/app/b2c/widgets" ["res_dir"]=> string(40) "/data/www/wwwroot/public/app/b2c/statics" ["widgets_dir"]=> string(40) "/data/www/wwwroot/public/app/b2c/widgets" ["lang_dir"]=> string(37) "/data/www/wwwroot/public/app/b2c/lang" ["_lang_resource"]=> NULL ["member_id"]=> int(0) } ["pagedata"]=> array(1) { ["site_b2c_remember"]=> NULL } ["member_id"]=> bool(false) } ["obj_filter"]=> object(b2c_site_filter)#27 (1) { ["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(25) "/data/www/wwwroot/app/b2c" ["public_app_dir"]=> string(32) "/data/www/wwwroot/public/app/b2c" ["res_url"]=> string(41) "http://www.ghs.net/public/app/b2c/statics" ["res_full_url"]=> string(41) "http://www.ghs.net/public/app/b2c/statics" ["lang_url"]=> string(38) "http://www.ghs.net/public/app/b2c/lang" ["lang_full_url"]=> string(38) "http://www.ghs.net/public/app/b2c/lang" ["widgets_url"]=> string(41) "http://www.ghs.net/public/app/b2c/widgets" ["widgets_full_url"]=> string(41) "http://www.ghs.net/public/app/b2c/widgets" ["res_dir"]=> string(40) "/data/www/wwwroot/public/app/b2c/statics" ["widgets_dir"]=> string(40) "/data/www/wwwroot/public/app/b2c/widgets" ["lang_dir"]=> string(37) "/data/www/wwwroot/public/app/b2c/lang" ["_lang_resource"]=> NULL ["member_id"]=> int(0) } } } ["cookie_path"]=> string(1) "/" ["cookie_life"]=> int(315360000) } [1]=> string(6) "logout" } ,...array(0) { } ) | router.php:615 | |
#23 | site_router->default_dispatch() | router.php:499 | |
#24 | site_router->dispatch('passport-logout.html') | kernel.php:165 | |
#25 | kernel::boot() | index.php:90 |