2026-11-17 18:07:52 — PHP8.2.35 — html/baike/cf6dstrt0hm.html

CodeIgniter\Database\Exceptions\DatabaseException

Unable to connect to the database.
Main connection [MySQLi]: Connection refused

/www/wwwroot/www.jingmu.net/dayrui/System/Database/BaseConnection.php at line 472

465                         break;
466                     }
467                 }
468             }
469 
470             // We still don't have a connection?
471             if (! $this->connID) {
472                 throw new DatabaseException(sprintf(
473                     'Unable to connect to the database.%s%s',
474                     PHP_EOL,
475                     implode(PHP_EOL, $connectionErrors),
476                 ));
477             }
478         }
479 
  1. /www/wwwroot/www.jingmu.net/dayrui/System/Database/BaseConnection.php : 621   —  CodeIgniter\Database\BaseConnection->initialize ()

    614      * @todo BC set $queryClass default as null in 4.1
    615      */
    616     public function query(string $sql, $binds = null, bool $setEscapeFlags = true, string $queryClass = '')
    617     {
    618         $queryClass = $queryClass !== '' && $queryClass !== '0' ? $queryClass : $this->queryClass;
    619 
    620         if (empty($this->connID)) {
    621             $this->initialize();
    622         }
    623 
    624         /**
    625          * @var Query $query
    626          */
    627         $query = new $queryClass($this);
    628 
    
  2. /www/wwwroot/www.jingmu.net/dayrui/System/Database/BaseBuilder.php : 1649   —  CodeIgniter\Database\BaseConnection->query ()

    1642 
    1643         if ($limit !== null) {
    1644             $this->limit($limit, $offset);
    1645         }
    1646 
    1647         $result = $this->testMode
    1648             ? $this->getCompiledSelect($reset)
    1649             : $this->db->query($this->compileSelect(), $this->binds, false);
    1650 
    1651         if ($reset) {
    1652             $this->resetSelect();
    1653 
    1654             // Clear our binds so we don't eat up memory
    1655             $this->binds = [];
    1656         }
    
  3. /www/wwwroot/www.jingmu.net/dayrui/Fcms/Core/Model.php : 508   —  CodeIgniter\Database\BaseBuilder->get ()

    501 
    502     /*
    503      * 获取单个数据
    504      * 主键
    505      * */
    506     public function get($id) {
    507 
    508         $query = $this->db->table($this->table)->where($this->key, (int)$id)->get();
    509         if (!$query) {
    510             $this->_clear();
    511             return [];
    512         }
    513 
    514         $rt = $query->getRowArray();
    515         $this->_clear();
    
  4. /www/wwwroot/www.jingmu.net/dayrui/Fcms/Control/Show.php : 17   —  Phpcmf\Model->get ()

    10 
    11         if (IS_POST) {
    12             $this->_json(0, '禁止提交,请检查提交地址是否有误');
    13         }
    14 
    15         // 共享模块通过id查找内容
    16         $id = (int)\Phpcmf\Service::L('input')->get('id');
    17         $row = \Phpcmf\Service::M()->table(SITE_ID.'_share_index')->get($id);
    18 
    19         // 挂钩点
    20         $rt2 = \Phpcmf\Hooks::trigger_callback('module_show_share', $row);
    21         if ($rt2 && isset($rt2['code']) && $rt2['code']) {
    22             $row = $rt2['data'];
    23             $id = $row['id'];
    24         }
    
  5. /www/wwwroot/www.jingmu.net/dayrui/System/Extend/Run.php : 149   —  Phpcmf\Control\Show->index ()

    142                         'value' => $value
    143                     ]);
    144 
    145                 }
    146             }
    147         }
    148 
    149         $app->$method();
    150 
    151         if (CI_DEBUG) {
    152             $tool = new \CodeIgniter\Debug\Toolbar(config(\Config\Toolbar::class));
    153             $tool->prepare($this);
    154         }
    155         
    156        
    
  6. /www/wwwroot/www.jingmu.net/dayrui/System/Init.php : 408   —  Frame\Run->bootWeb ()

    401         $tool->respond();
    402     });
    403 }
    404 
    405 
    406 // 启动框架
    407 $run = new \Frame\Run();
    408 $run->bootWeb();
    409 
    410 
    
  7. require /www/wwwroot/www.jingmu.net/dayrui/Fcms/Init.php   —   require()

  8. require /www/wwwroot/www.jingmu.net/public/index.php   —   require()

$_SERVER

Key Value
USER www
HOME /home/www
HTTP_ACCEPT_ENCODING gzip, br, zstd, deflate
HTTP_USER_AGENT Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
HTTP_ACCEPT */*
PATH_INFO
HTTP_HOST www.jingmu.net
REDIRECT_STATUS 200
SERVER_NAME www.jingmu.net
SERVER_PORT 443
SERVER_ADDR 117.24.12.240
REMOTE_PORT 53887
REMOTE_ADDR 216.73.216.14
SERVER_SOFTWARE nginx/1.30.6
GATEWAY_INTERFACE CGI/1.1
HTTPS on
REQUEST_SCHEME https
SERVER_PROTOCOL HTTP/2.0
DOCUMENT_ROOT /www/wwwroot/www.jingmu.net/public
DOCUMENT_URI /index.php
REQUEST_URI /html/baike/cf6dstrt0hm.html
SCRIPT_NAME /index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD GET
QUERY_STRING
SCRIPT_FILENAME /www/wwwroot/www.jingmu.net/public/index.php
FCGI_ROLE RESPONDER
PHP_SELF /index.php
REQUEST_TIME_FLOAT
1794910072.4445
REQUEST_TIME
1794910072

Constants

Key Value
IS_DEV
1
IS_EDIT_TPL
0
ROOTPATH /www/wwwroot/www.jingmu.net/public/
WEBPATH /www/wwwroot/www.jingmu.net/public/
FCPATH /www/wwwroot/www.jingmu.net/dayrui/
WRITEPATH /www/wwwroot/www.jingmu.net/cache/
CONFIGPATH /www/wwwroot/www.jingmu.net/config/
SELF index.php
IS_ADMIN

                                                                    
IS_VERSION
1
FRAMEPATH /www/wwwroot/www.jingmu.net/dayrui/System/
CMSPATH /www/wwwroot/www.jingmu.net/dayrui/Fcms/
MAX_CATEGORY
300
COREPATH /www/wwwroot/www.jingmu.net/dayrui/Fcms/
BASEPATH /www/wwwroot/www.jingmu.net/dayrui/System/System/
APPSPATH /www/wwwroot/www.jingmu.net/dayrui/App/
MYPATH /www/wwwroot/www.jingmu.net/dayrui/My/
TPLPATH /www/wwwroot/www.jingmu.net/template/
IS_XRDEV
0
MOBILE_TPL_DIR mobile
UEDITOR_IMG_TITLE {cms_img_title}
TESTPATH /www/wwwroot/www.jingmu.net/cache/tests/
TEMPPATH /www/wwwroot/www.jingmu.net/dayrui/Fcms/Temp/
COMPOSER_PATH /www/wwwroot/www.jingmu.net/public/vendor/autoload.php
IS_AJAX

                                                                    
IS_POST

                                                                    
IS_AJAX_POST

                                                                    
SYS_TIME
1794910072
SYS_DEBUG
1
SYS_ADMIN_CODE
0
SYS_ADMIN_LOG
0
SYS_AUTO_FORM
0
SYS_ADMIN_PAGESIZE
10
SYS_CRON_AUTH
0
SYS_TABLE_ISFOOTER
SYS_SMS_IMG_CODE
0
SYS_GO_404
SYS_THEME_ROOT_PATH
1
SYS_301
1
SYS_NOT_UPDATE
1
SYS_URL_ONLY
0
SYS_URL_REL
1
SYS_KEY PHPCMF0885096de201a51073e72d37ed073ed6
SYS_API_TOKEN
SYS_CSRF
0
SYS_CSRF_TIME
0
SYS_API_REL
SYS_HTTPS
1
SYS_NOT_ADMIN_CACHE
0
SYS_ADMIN_MODE
SYS_ADMIN_LOGINS
SYS_ADMIN_LOGIN_AES
SYS_ATTACHMENT_DOWN_REMOTE
SYS_ATTACHMENT_DOWN_SIZE
SYS_ADMIN_LOGIN_TIME
SYS_LOGIN_AES
0
SYS_ADMIN_OAUTH
SYS_ADMIN_SMS_LOGIN
SYS_ADMIN_SMS_CHECK
SYS_ATTACHMENT_DB
SYS_ATTACHMENT_PAGESIZE
SYS_ATTACHMENT_GUEST
SYS_ATTACHMENT_CF
SYS_ATTACHMENT_REL
SYS_ATTACHMENT_PATH
SYS_ATTACHMENT_SAVE_TYPE
SYS_ATTACHMENT_SAVE_DIR
SYS_ATTACHMENT_SAVE_ID
SYS_ATTACHMENT_URL
SYS_AVATAR_PATH
SYS_AVATAR_URL
SYS_API_CODE
SYS_ATTACHMENT_SAFE
IS_ADMIN_CACHE 1
SQGS 迅睿开源框架
CI_DEBUG
1
IS_FB_DEBUG
0
ENVIRONMENT development
SYS_CACHE
0
SYS_CACHE_TYPE
2
SYS_CACHE_SHOW
0.01
SYS_CACHE_LIST
0.01
SYS_CACHE_SEARCH
0.01
SYS_CACHE_SMS
0
SYS_CACHE_CRON
3
SYS_CACHE_CLEAR
0
IS_USE_CMS /www/wwwroot/www.jingmu.net/dayrui/App/Cms/
IS_USE_MODULE /www/wwwroot/www.jingmu.net/dayrui/App/Cms/
IS_USE_MEMBER
FC_NOW_URL https://www.jingmu.net/html/baike/cf6dstrt0hm.html
FC_NOW_HOST https://www.jingmu.net/
DOMAIN_NAME www.jingmu.net
WEB_DIR /
CMSURI html/baike/cf6dstrt0hm.html
IS_API

                                                                    
APPPATH /www/wwwroot/www.jingmu.net/dayrui/System/
APP_DIR
IS_MEMBER

                                                                    
IS_HOME
1
FRAME_PHP_VERSION 8.0
FRAME_NAME System
FRAME_VERSION 4.7
EXIT_SUCCESS
0
EXIT_ERROR
1
EXIT_CONFIG
3
EXIT_UNKNOWN_FILE
4
EXIT_UNKNOWN_CLASS
5
EXIT_UNKNOWN_METHOD
6
EXIT_USER_INPUT
7
EXIT_DATABASE
8
EXIT__AUTO_MIN
9
EXIT__AUTO_MAX
125
EVENT_PRIORITY_LOW
200
EVENT_PRIORITY_NORMAL
100
EVENT_PRIORITY_HIGH
10
IS_COMMON
1
CMF_NAME 迅睿授权版
CMF_VERSION 4.7.5
CMF_UPDATE_TIME 1794896974
IS_SITES
0
SITE_ID
1
SITE_URL https://www.jingmu.net/
SITE_MURL https://www.jingmu.net/
SITE_NAME jingmu.net
SITE_LOGO /static/assets/logo-web.png
SITE_IS_MOBILE
0
SITE_IS_MOBILE_HTML
0
SITE_MOBILE_DIR mobile
SITE_MOBILE_NOT_PAD
0
SITE_THUMB_WATERMARK
0
SITE_THEME default
SITE_SEOJOIN _
SITE_REWRITE
0
SITE_TEMPLATE default
SITE_LANGUAGE zh-cn
SITE_TIME_FORMAT Y-m-d H:i:s
ADMIN_URL https://www.jingmu.net/
PAY_URL https://www.jingmu.net/
ROOT_URL https://www.jingmu.net/
OAUTH_URL https://www.jingmu.net/
THEME_PATH /static/
LANG_PATH /api/language/zh-cn/
ROOT_THEME_PATH /static/
HOME_THEME_PATH /static/default/
MOBILE_THEME_PATH https://www.jingmu.net/static/default/
SYS_UPLOAD_PATH /www/wwwroot/www.jingmu.net/public/uploadfile/
SYS_UPLOAD_URL https://www.jingmu.net/uploadfile/
CLIENT_URL https://www.jingmu.net/
CLIENT_NAME pc
IS_CLIENT
MEMBER_URL https://www.jingmu.net/index.php?s=member
SITE_FID
0
MEMBER_CNAME 姓名
SITE_ICP

                                                                    
SITE_TONGJI

                                                                    
SITE_LOGIN_TIME
36000
SITE_SCORE 金币
SITE_EXPERIENCE 经验
IS_API_HTTP
0
USER_HTTP_CODE f39e12e953d545bd36e23a79e74af11b
  1. /www/wwwroot/www.jingmu.net/public/index.php
  2. /www/wwwroot/www.jingmu.net/dayrui/Fcms/Init.php
  3. /www/wwwroot/www.jingmu.net/config/custom.php
  4. /www/wwwroot/www.jingmu.net/cache/config/system.php
  5. /www/wwwroot/www.jingmu.net/cache/config/cache.php
  6. /www/wwwroot/www.jingmu.net/cache/config/domain_app.php
  7. /www/wwwroot/www.jingmu.net/dayrui/Fcms/Core/Helper.php
  8. /www/wwwroot/www.jingmu.net/dayrui/System/Init.php
  9. /www/wwwroot/www.jingmu.net/dayrui/Fcms/Core/Auto.php
  10. /www/wwwroot/www.jingmu.net/dayrui/Fcms/Core/Service.php
  11. /www/wwwroot/www.jingmu.net/dayrui/Fcms/Core/Hooks.php
  12. /www/wwwroot/www.jingmu.net/dayrui/System/Extend/Run.php
  13. /www/wwwroot/www.jingmu.net/dayrui/Fcms/Core/Phpcmf.php
  14. /www/wwwroot/www.jingmu.net/dayrui/System/Extend/Controller.php
  15. /www/wwwroot/www.jingmu.net/dayrui/App/Tag/Config/Hooks.php
  16. /www/wwwroot/www.jingmu.net/dayrui/App/Safe/Config/Hooks.php
  17. /www/wwwroot/www.jingmu.net/dayrui/App/Safe/Config/Filters.php
  18. /www/wwwroot/www.jingmu.net/dayrui/App/Updatetime/Config/Hooks.php
  19. /www/wwwroot/www.jingmu.net/dayrui/App/Cms/Config/Auto.php
  20. /www/wwwroot/www.jingmu.net/dayrui/App/Cms/Config/Hooks.php
  21. /www/wwwroot/www.jingmu.net/dayrui/App/Cms/Config/Filters.php
  22. /www/wwwroot/www.jingmu.net/dayrui/App/Spider/Config/Hooks.php
  23. /www/wwwroot/www.jingmu.net/dayrui/App/Encryid/Config/Hooks.php
  24. /www/wwwroot/www.jingmu.net/dayrui/App/Fakepage/Config/Hooks.php
  25. /www/wwwroot/www.jingmu.net/dayrui/App/Hctapi/Config/Filters.php
  26. /www/wwwroot/www.jingmu.net/config/hooks.php
  27. /www/wwwroot/www.jingmu.net/dayrui/System/Extend/Hook.php
  28. /www/wwwroot/www.jingmu.net/dayrui/System/Config/Services.php
  29. /www/wwwroot/www.jingmu.net/dayrui/System/Config/BaseService.php
  30. /www/wwwroot/www.jingmu.net/dayrui/System/Config/Factories.php
  31. /www/wwwroot/www.jingmu.net/dayrui/System/Config/Factory.php
  32. /www/wwwroot/www.jingmu.net/dayrui/System/Config/BaseConfig.php
  33. /www/wwwroot/www.jingmu.net/dayrui/System/Config/Exceptions.php
  34. /www/wwwroot/www.jingmu.net/dayrui/System/Debug/Exceptions.php
  35. /www/wwwroot/www.jingmu.net/dayrui/System/Events/Events.php
  36. /www/wwwroot/www.jingmu.net/dayrui/System/Debug/Timer.php
  37. /www/wwwroot/www.jingmu.net/dayrui/System/Config/Toolbar.php
  38. /www/wwwroot/www.jingmu.net/dayrui/System/Debug/Toolbar.php
  39. /www/wwwroot/www.jingmu.net/dayrui/System/Debug/Toolbar/Collectors/Database.php
  40. /www/wwwroot/www.jingmu.net/dayrui/System/Debug/Toolbar/Collectors/BaseCollector.php
  41. /www/wwwroot/www.jingmu.net/dayrui/System/Config/Database.php
  42. /www/wwwroot/www.jingmu.net/dayrui/System/Database/Config.php
  43. /www/wwwroot/www.jingmu.net/dayrui/System/Debug/Toolbar/Collectors/Views.php
  44. /www/wwwroot/www.jingmu.net/dayrui/Fcms/Core/View.php
  45. /www/wwwroot/www.jingmu.net/dayrui/System/Debug/Toolbar/Collectors/Files.php
  46. /www/wwwroot/www.jingmu.net/dayrui/System/Debug/Toolbar/Collectors/Routes.php
  47. /www/wwwroot/www.jingmu.net/dayrui/Fcms/Control/Show.php
  48. /www/wwwroot/www.jingmu.net/dayrui/App/Cms/Extends/Home/Module.php
  49. /www/wwwroot/www.jingmu.net/dayrui/My/Config/Version.php
  50. /www/wwwroot/www.jingmu.net/cache/config/site.php
  51. /www/wwwroot/www.jingmu.net/dayrui/Fcms/Library/Cache.php
  52. /www/wwwroot/www.jingmu.net/dayrui/Fcms/Library/Lang.php
  53. /www/wwwroot/www.jingmu.net/public/api/language/zh-cn/lang.php
  54. /www/wwwroot/www.jingmu.net/dayrui/Fcms/Library/Input.php
  55. /www/wwwroot/www.jingmu.net/dayrui/Fcms/Library/Security.php
  56. /www/wwwroot/www.jingmu.net/dayrui/Fcms/Model/Member.php
  57. /www/wwwroot/www.jingmu.net/dayrui/Fcms/Core/Model.php
  58. /www/wwwroot/www.jingmu.net/dayrui/System/Extend/Model.php
  59. /www/wwwroot/www.jingmu.net/config/database.php
  60. /www/wwwroot/www.jingmu.net/dayrui/System/Database/Database.php
  61. /www/wwwroot/www.jingmu.net/dayrui/System/Database/MySQLi/Connection.php
  62. /www/wwwroot/www.jingmu.net/dayrui/System/Database/BaseConnection.php
  63. /www/wwwroot/www.jingmu.net/dayrui/System/Database/ConnectionInterface.php
  64. /www/wwwroot/www.jingmu.net/dayrui/App/Cms/Config/Run.php
  65. /www/wwwroot/www.jingmu.net/cache/config/domain_client.php
  66. /www/wwwroot/www.jingmu.net/dayrui/Fcms/Library/Router.php
  67. /www/wwwroot/www.jingmu.net/dayrui/Fcms/Model/App.php
  68. /www/wwwroot/www.jingmu.net/dayrui/System/Database/MySQLi/Builder.php
  69. /www/wwwroot/www.jingmu.net/dayrui/System/Database/BaseBuilder.php
  70. /www/wwwroot/www.jingmu.net/dayrui/System/Traits/ConditionalTrait.php
  71. /www/wwwroot/www.jingmu.net/dayrui/System/Database/Exceptions/DatabaseException.php
  72. /www/wwwroot/www.jingmu.net/dayrui/System/Exceptions/RuntimeException.php
  73. /www/wwwroot/www.jingmu.net/dayrui/System/Exceptions/ExceptionInterface.php
  74. /www/wwwroot/www.jingmu.net/dayrui/System/Database/Exceptions/ExceptionInterface.php
  75. /www/wwwroot/www.jingmu.net/dayrui/System/Exceptions/HasExitCodeInterface.php
  76. /www/wwwroot/www.jingmu.net/dayrui/Fcms/Library/Log.php
  77. /www/wwwroot/www.jingmu.net/dayrui/System/Debug/ExceptionHandler.php
  78. /www/wwwroot/www.jingmu.net/dayrui/System/Debug/BaseExceptionHandler.php
  79. /www/wwwroot/www.jingmu.net/dayrui/System/Debug/ExceptionHandlerInterface.php
  80. /www/wwwroot/www.jingmu.net/dayrui/System/Exceptions/Views/html/error_exception.php