无法连接数据库: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(...string(23) "iZbp1it9l5fo5xgd0qqf1uZ"
,'root','LeNbHReqnRQjRp7','lingxiu') | 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(94) "SELECT appid FROM `ecshop_weixin_bind` WHERE 1 AND `ecshop_weixin_bind`.appid <> '' LIMIT 0, 1"
) | connections.php:147 |
| #5 | base_db_connections->selectlimit(...string(83) "SELECT appid FROM `ecshop_weixin_bind` WHERE 1 AND `ecshop_weixin_bind`.appid <> ''"
,'1','0') | model.php:64 |
| #6 | dbeav_model->getList('appid',...array(1) {
["appid|noequal"]=>
string(0) ""
}
,'0','1','') | model.php:76 |
| #7 | dbeav_model->getRow('appid',...array(1) {
["appid|noequal"]=>
string(0) ""
}
) | wechat.php:224 |
| #8 | weixin_wechat->get_a_appid() | controller.php:105 |
| #9 | wap_controller->__construct(object(appobject(app)#26 (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(7) "content"
["app_dir"]=>
string(29) "/data/www/lingxiu/app/content"
["public_app_dir"]=>
string(36) "/data/www/lingxiu/public/app/content"
["res_url"]=>
string(56) "https://www.firstflagkids.com/public/app/content/statics"
["favicon"]=>
string(53) "https://www.firstflagkids.com/public/app/site/statics"
["res_full_url"]=>
string(56) "https://www.firstflagkids.com/public/app/content/statics"
["lang_url"]=>
string(53) "https://www.firstflagkids.com/public/app/content/lang"
["lang_full_url"]=>
string(53) "https://www.firstflagkids.com/public/app/content/lang"
["widgets_url"]=>
string(56) "https://www.firstflagkids.com/public/app/content/widgets"
["widgets_full_url"]=>
string(56) "https://www.firstflagkids.com/public/app/content/widgets"
["res_dir"]=>
string(44) "/data/www/lingxiu/public/app/content/statics"
["widgets_dir"]=>
string(44) "/data/www/lingxiu/public/app/content/widgets"
["lang_dir"]=>
string(41) "/data/www/lingxiu/public/app/content/lang"
["_lang_resource"]=>
NULL
}
)) | frontpage.php:13 |
| #10 | wap_frontpage->__construct(object(appobject(app)#26 (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(7) "content"
["app_dir"]=>
string(29) "/data/www/lingxiu/app/content"
["public_app_dir"]=>
string(36) "/data/www/lingxiu/public/app/content"
["res_url"]=>
string(56) "https://www.firstflagkids.com/public/app/content/statics"
["favicon"]=>
string(53) "https://www.firstflagkids.com/public/app/site/statics"
["res_full_url"]=>
string(56) "https://www.firstflagkids.com/public/app/content/statics"
["lang_url"]=>
string(53) "https://www.firstflagkids.com/public/app/content/lang"
["lang_full_url"]=>
string(53) "https://www.firstflagkids.com/public/app/content/lang"
["widgets_url"]=>
string(56) "https://www.firstflagkids.com/public/app/content/widgets"
["widgets_full_url"]=>
string(56) "https://www.firstflagkids.com/public/app/content/widgets"
["res_dir"]=>
string(44) "/data/www/lingxiu/public/app/content/statics"
["widgets_dir"]=>
string(44) "/data/www/lingxiu/public/app/content/widgets"
["lang_dir"]=>
string(41) "/data/www/lingxiu/public/app/content/lang"
["_lang_resource"]=>
NULL
}
)) | kernel.php:347 |
| #11 | kernel::single(...string(23) "content_ctl_wap_article"
,object(appobject(app)#26 (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(7) "content"
["app_dir"]=>
string(29) "/data/www/lingxiu/app/content"
["public_app_dir"]=>
string(36) "/data/www/lingxiu/public/app/content"
["res_url"]=>
string(56) "https://www.firstflagkids.com/public/app/content/statics"
["favicon"]=>
string(53) "https://www.firstflagkids.com/public/app/site/statics"
["res_full_url"]=>
string(56) "https://www.firstflagkids.com/public/app/content/statics"
["lang_url"]=>
string(53) "https://www.firstflagkids.com/public/app/content/lang"
["lang_full_url"]=>
string(53) "https://www.firstflagkids.com/public/app/content/lang"
["widgets_url"]=>
string(56) "https://www.firstflagkids.com/public/app/content/widgets"
["widgets_full_url"]=>
string(56) "https://www.firstflagkids.com/public/app/content/widgets"
["res_dir"]=>
string(44) "/data/www/lingxiu/public/app/content/statics"
["widgets_dir"]=>
string(44) "/data/www/lingxiu/public/app/content/widgets"
["lang_dir"]=>
string(41) "/data/www/lingxiu/public/app/content/lang"
["_lang_resource"]=>
NULL
}
)) | app.php:76 |
| #12 | app->controller('wap_article') | router.php:385 |
| #13 | wap_router->default_dispatch('article-83','article','-') | router.php:291 |
| #14 | wap_router->dispatch('article-83.html') | kernel.php:165 |
| #15 | kernel::boot() | index.php:7 |