| (!)SamaoPHP错误提示: | |
| 所在页面(行): | /data/www/sinoweb2018/Apps/Home/controls/home.ctl.php (7) |
| 错误提示信息: |
数据库连接不成功SQLSTATE[HY000] [2002] php_network_getaddresses: getaddrinfo failed: Name or service not known 连接参数 link: mysql:host=rm-8vby4bsdoe4kbn301.mysql.zhangbei.rds.aliyuncs.com;port=3306;dbname=sinoweb2018user:sinoweb2018pass:Yee@sinoweb2018 |
| 执行函数: | DB::getone() |
| 函数参数: | Array
(
[0] => select * from @pf_config order by id asc
)
|
| 错误代码附近: | 5. $this->id = IGet("id");
6. $this->cid = IGet("cid");
7. $this->assign("config",DB::getone("select * from @pf_config order by id asc")); // 获取网站配置
8. $this->assign('banner',DB::getone('select * from @pf_column_thumb where `keys`=?',array(Route::get('ctl'))));
9. |
| 触发页面(行): | /data/www/sinoweb2018/samao/libs/sys/db.class.php (352) |
| 所抛出信息页面(行): | (0) |
| Call Stack | Function | Location | Line |
| 0 | DB::getone() | /data/www/sinoweb2018/Apps/Home/controls/home.ctl.php | 7 |
| 1 | HomeController->__construct() | /data/www/sinoweb2018/samao/samaophp.php | 89 |
| 2 | App::Run() | /data/www/sinoweb2018/index.php | 32 |