无法连接数据库:No such file or directory
> /app/base/lib/db/connections.php:176
> | #0 | trigger_error(...string(47) "无法连接数据库:No such file or directory"
,'256') | connections.php:176 |
| #1 | base_db_connections->_connect('localhost','www_toswim_com','eZJzPPWf6izXZHeh','www_toswim_com') | connections.php:165 |
| #2 | base_db_connections->_rw_conn() | connections.php:150 |
| #3 | base_db_connections->_ro_conn() | connections.php:90 |
| #4 | base_db_connections->select(...string(127) "SELECT * FROM `sdb_piclist_image` WHERE 1 AND `sdb_piclist_image`.image_id in ('3a98d0b7fb88ada3757f05db6ac3931a') LIMIT 0, 1"
) | connections.php:139 |
| #5 | base_db_connections->selectlimit(...string(116) "SELECT * FROM `sdb_piclist_image` WHERE 1 AND `sdb_piclist_image`.image_id in ('3a98d0b7fb88ada3757f05db6ac3931a') "
,'1','0') | model.php:64 |
| #6 | dbeav_model->getList('*',...array(1) {
["image_id"]=>
string(32) "3a98d0b7fb88ada3757f05db6ac3931a"
}
,'0','1') | model.php:345 |
| #7 | base_db_model->db_dump(...array(1) {
["image_id"]=>
string(32) "3a98d0b7fb88ada3757f05db6ac3931a"
}
,'*') | model.php:356 |
| #8 | dbeav_model->dump(...string(32) "3a98d0b7fb88ada3757f05db6ac3931a"
) | image.php:58 |
| #9 | piclist_mdl_image->fetchByImageId(...string(32) "3a98d0b7fb88ada3757f05db6ac3931a"
) | pic.php:13 |
| #10 | piclist_ctl_site_pic->index(...string(32) "3a98d0b7fb88ada3757f05db6ac3931a"
) | |
| #11 | call_user_func_array(...array(2) {
[0]=>
object(piclist_ctl_site_pic)#24 (24) {
["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)#21 (22) {
["__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) "piclist"
["app_dir"]=>
string(39) "/www/wwwroot/www.toswim.com/app/piclist"
["public_app_dir"]=>
string(46) "/www/wwwroot/www.toswim.com/public/app/piclist"
["res_url"]=>
string(48) "http://www.toswim.com/public/app/piclist/statics"
["res_full_url"]=>
string(48) "http://www.toswim.com/public/app/piclist/statics"
["lang_url"]=>
string(45) "http://www.toswim.com/public/app/piclist/lang"
["lang_full_url"]=>
string(45) "http://www.toswim.com/public/app/piclist/lang"
["widgets_url"]=>
string(48) "http://www.toswim.com/public/app/piclist/widgets"
["widgets_full_url"]=>
string(48) "http://www.toswim.com/public/app/piclist/widgets"
["res_dir"]=>
string(54) "/www/wwwroot/www.toswim.com/public/app/piclist/statics"
["widgets_dir"]=>
string(54) "/www/wwwroot/www.toswim.com/public/app/piclist/widgets"
["lang_dir"]=>
string(51) "/www/wwwroot/www.toswim.com/public/app/piclist/lang"
["_lang_resource"]=>
NULL
}
["params"]=>
array(0) {
}
["_request"]=>
object(base_component_request)#12 (11) {
["_app":protected]=>
string(7) "piclist"
["_app_key":protected]=>
string(3) "app"
["_ctl":protected]=>
string(8) "site_pic"
["_ctl_key":protected]=>
string(3) "ctl"
["_act":protected]=>
string(5) "index"
["_act_key":protected]=>
string(3) "act"
["_params":protected]=>
array(1) {
[0]=>
string(32) "3a98d0b7fb88ada3757f05db6ac3931a"
}
["_ext_param_source":protected]=>
array(2) {
[0]=>
string(3) "GET"
[1]=>
string(4) "POST"
}
["_request_uri":protected]=>
string(48) "/pic-index-3a98d0b7fb88ada3757f05db6ac3931a.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) {
}
}
}
[1]=>
string(5) "index"
}
,...array(1) {
[0]=>
string(32) "3a98d0b7fb88ada3757f05db6ac3931a"
}
) | router.php:608 |
| #12 | site_router->default_dispatch() | router.php:492 |
| #13 | site_router->dispatch(...string(47) "pic-index-3a98d0b7fb88ada3757f05db6ac3931a.html"
) | kernel.php:165 |
| #14 | kernel::boot() | index.php:5 |