Warning: is_file(): open_basedir restriction in effect. File(/www/wwwroot/runtime/classmap.php) is not within the allowed path(s): (/www/wwwroot/ascs.com.cn/:/tmp/) in /www/wwwroot/ascs.com.cn/core/library/think/Loader.php on line 111

[1045] PDOException in Connection.php line 528

SQLSTATE[HY000] [1045] Access denied for user 'ascs_com_cn'@'localhost' (using password: YES)

  1. try {
  2. if (empty($config['dsn'])) {
  3. $config['dsn'] = $this->parseDsn($config);
  4. }
  5. if ($config['debug']) {
  6. $startTime = microtime(true);
  7. }
  8. $this->links[$linkNum] = new PDO($config['dsn'], $config['username'], $config['password'], $params);
  9. if ($config['debug']) {
  10. // 记录数据库连接信息
  11. $this->log('[ DB ] CONNECT:[ UseTime:' . number_format(microtime(true) - $startTime, 6) . 's ] ' . $config['dsn']);
  12. }
  13. return $this->links[$linkNum];
  14. } catch (\PDOException $e) {
  15. if ($autoConnection) {

Call Stack

  1. in Connection.php line 528
  2. at PDO->__construct('mysql:host=127.0.0.1...', 'ascs_com_cn', 'ss4ji8GYpnkdwXKy', [0, 2, 0, ...]) in Connection.php line 528
  3. at Connection->connect() in Connection.php line 2024
  4. at Connection->initConnect(false) in Connection.php line 644
  5. at Connection->query('SHOW COLUMNS FROM `b...', [], false, true) in Mysql.php line 90
  6. at Mysql->getFields('`bi_hooks`') in Connection.php line 377
  7. at Connection->getTableInfo('bi_hooks', 'bind') in Connection.php line 454
  8. at Connection->getFieldsBind('bi_hooks') in Builder.php line 292
  9. at Builder->buildWhere(object(Query), ['AND' => [object(Expression)]]) in Builder.php line 264
  10. at Builder->parseWhere(object(Query), ['AND' => [object(Expression)]]) in Builder.php line 997
  11. at Builder->select(object(Query)) in Connection.php line 1370
  12. at Connection->column(object(Query), ['name', 'addons'], '') in Query.php line 608
  13. at Query->column('name,addons') in helper.php line 24
  14. at {closure}()
  15. at call_user_func_array(object(Closure), []) in Container.php line 347
  16. at Container->invokeFunction(object(Closure), [null]) in Container.php line 408
  17. at Container->invoke(object(Closure), [null]) in Hook.php line 208
  18. at Hook->execTag('Closure', 'app_begin', null) in Hook.php line 149
  19. at Hook->listen('app_begin') in App.php line 444
  20. at App->run() in start.php line 18
  21. at require('/www/wwwroot/ascs.co...') in index.php line 9

Environment Variables

GET Dataempty
POST Dataempty
Filesempty
Cookiesempty
Sessionempty
Server/Request Data
USER www
HOME /home/www
HTTP_HOST ascs.com.cn
HTTP_USER_AGENT claudebot
HTTP_ACCEPT */*
PATH_INFO
REDIRECT_STATUS 200
SERVER_NAME ascs.com.cn
SERVER_PORT 80
SERVER_ADDR 172.18.186.156
REMOTE_PORT 53670
REMOTE_ADDR 44.213.80.203
SERVER_SOFTWARE nginx/1.22.0
GATEWAY_INTERFACE CGI/1.1
REQUEST_SCHEME http
SERVER_PROTOCOL HTTP/1.1
DOCUMENT_ROOT /www/wwwroot/ascs.com.cn
DOCUMENT_URI /index.php
REQUEST_URI /anshun-class.html
SCRIPT_NAME /index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD GET
QUERY_STRING s=/anshun-class.html
SCRIPT_FILENAME /www/wwwroot/ascs.com.cn/index.php
FCGI_ROLE RESPONDER
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1711618669.2867
REQUEST_TIME 1711618669
Environment Variablesempty
ThinkPHP Constants
CONF_PATH /www/wwwroot/ascs.com.cn/conf/
APP_PATH /www/wwwroot/ascs.com.cn/app/
TMPL_PATH ./client/
THINK_VERSION 5.1.38
THINK_START_TIME 1711618669.2873
THINK_START_MEM 414728
EXT .php
DS /
THINK_PATH /www/wwwroot/ascs.com.cn/core/
__SELF__ /anshun-class.html
_PHP_FILE_ /index.php
__ROOT__
HTTP_PREFIX http://
SITE_DOMAIN ascs.com.cn
SITE_URL http://ascs.com.cn
SITE_PATH /www/wwwroot/ascs.com.cn
BI_SYSTEM 企业应用系统
BI_AUTHOR BiXing SOFT
BI_SUPPORT QQ1977917927
BI_VERSION T 5.102
BI_ADDON_PATH ./Addons/
BI_PLUGIN_PATH ./plugins/
ADDON_ROOT ./addons/
ADDON_PATH /www/wwwroot/ascs.com.cn/addons/
NOW_TPL_IMG /themes/skin/default/static/images
NOW_TPL_CSS /themes/skin/default/static/css
NOW_TPL_JS /themes/skin/default/static/js