2026-11-29 11:12:04 — PHP8.4.28 —

Error

Undefined constant "CodeIgniter\Database\MySQLi\MYSQLI_STORE_RESULT"

/www/sites/www.hstztc.cn/index/dayrui/System/Database/Database.php at line 143

136      */
137     protected function initDriver(string $driver, string $class, $argument): object
138     {
139         $classname = (! str_contains($driver, '\\'))
140             ? "CodeIgniter\\Database\\{$driver}\\{$class}"
141             : $driver . '\\' . $class;
142 
143         return new $classname($argument);
144     }
145 
146     /**
147      * Check the PHP database extension is loaded.
148      *
149      * @param string $driver DB driver or FQCN for custom driver
150      */
  1. /www/sites/www.hstztc.cn/index/dayrui/System/Database/Database.php : 61   —  CodeIgniter\Database\Database->initDriver ()

    54 
    55         if (empty($params['DBDriver'])) {
    56             throw new InvalidArgumentException('You have not selected a database type to connect to.');
    57         }
    58 
    59         assert($this->checkDbExtension($params['DBDriver']));
    60 
    61         $this->connections[$alias] = $this->initDriver($params['DBDriver'], 'Connection', $params);
    62 
    63         return $this->connections[$alias];
    64     }
    65 
    66     /**
    67      * Creates a Forge instance for the current database type.
    68      */
    
  2. /www/sites/www.hstztc.cn/index/dayrui/System/Database/Config.php : 82   —  CodeIgniter\Database\Database->load ()

    75 
    76         if ($getShared && isset(static::$instances[$group])) {
    77             return static::$instances[$group];
    78         }
    79 
    80         static::ensureFactory();
    81 
    82         $connection = static::$factory->load($config, $group);
    83 
    84         static::$instances[$group] = $connection;
    85 
    86         return $connection;
    87     }
    88 
    89     /**
    
  3. /www/sites/www.hstztc.cn/index/dayrui/System/Extend/Model.php : 19   —  CodeIgniter\Database\Config::connect ()

    12     static function _load_db() {
    13 
    14         // 数据库
    15         if (self::$db) {
    16             return [self::$db, self::$db->DBPrefix];
    17         }
    18 
    19         self::$db = \Config\Database::connect('default');
    20 
    21         return [self::$db, self::$db->DBPrefix];
    22     }
    23 
    24     static function _load_db_source($name) {
    25 
    26         // 数据库
    
  4. /www/sites/www.hstztc.cn/index/dayrui/Fcms/Core/Model.php : 43   —  Frame\Model::_load_db ()

    36 
    37     protected $date_field;
    38     protected $param;
    39     protected $init;
    40 
    41     public function __construct() {
    42 
    43         list($this->db, $this->prefix) = \Frame\Model::_load_db();
    44 
    45         $this->uid = \Phpcmf\Service::C()->uid;
    46         $this->site = \Phpcmf\Service::C()->site;
    47         $this->admin = \Phpcmf\Service::C()->admin;
    48         $this->member = \Phpcmf\Service::C()->member;
    49         $this->siteid = defined('SITE_ID') ? SITE_ID : 0;
    50     }
    
  5. /www/sites/www.hstztc.cn/index/dayrui/Fcms/Core/Service.php : 456   —  Phpcmf\Model->__construct ()

    449                     if (class_exists($newClassName2)) {
    450                         static::$instances[$_cname] = new $newClassName2();
    451                         return static::$instances[$_cname];
    452                     }
    453                 }
    454             }
    455 
    456             static::$instances[$_cname] = new $newClassName();
    457         }
    458 
    459         return static::$instances[$_cname];
    460     }
    461 
    462     /**
    463      * 引用应用的helper
    
  6. /www/sites/www.hstztc.cn/index/dayrui/Fcms/Core/Phpcmf.php : 319   —  Phpcmf\Service::M ()

    312                 }
    313             }
    314         } elseif (dr_is_app('httpapi') && \Phpcmf\Service::L('input')->request('appid')) {
    315             define('IS_API_HTTP', 1);
    316             \Phpcmf\Service::M('http', 'httpapi')->check_auth();
    317         } else {
    318             define('IS_API_HTTP', 0);
    319             $this->uid = (int)\Phpcmf\Service::M('member')->member_uid();
    320             $this->member = \Phpcmf\Service::M('member')->get_member($this->uid);
    321             if (!$this->member) {
    322                 $this->uid = 0;
    323             }
    324             // 验证账号cookie的有效性
    325             if ($this->member && !\Phpcmf\Service::M('member')->check_member_cookie($this->member)) {
    326                 $this->uid = 0;
    
  7. /www/sites/www.hstztc.cn/index/dayrui/System/Extend/Run.php : 115   —  Phpcmf\Common->__construct ()

    108 
    109         $class = $namespace.'\\'.$controller;
    110         if (! class_exists($class)) {
    111             throw \CodeIgniter\Exceptions\PageNotFoundException::forControllerNotFound($class);
    112             exit('<font color=red>控制器不存在</font>');
    113         }
    114 
    115         $app = new $class;
    116 
    117         if (! method_exists($app, $method)) {
    118             throw \CodeIgniter\Exceptions\PageNotFoundException::forMethodNotFound($class, $method);
    119             exit('<font color=red>方法不存在</font>');
    120         }
    121 
    122         if (IS_POST && SYS_CSRF) {
    
  8. /www/sites/www.hstztc.cn/index/dayrui/System/Init.php : 404   —  Frame\Run->bootWeb ()

    397         $tool->respond();
    398     });
    399 }
    400 
    401 
    402 // 启动框架
    403 $run = new \Frame\Run();
    404 $run->bootWeb();
    405 
    406 
    
  9. require /www/sites/www.hstztc.cn/index/dayrui/Fcms/Init.php   —   require()

  10. require /www/sites/www.hstztc.cn/index/public/index.php   —   require()

$_SERVER

Key Value
USER www-data
HOME /var/www
HTTP_ACCEPT_ENCODING gzip, br, zstd, deflate
HTTP_ACCEPT */*
PATH_INFO
SCRIPT_FILENAME /www/sites/www.hstztc.cn/index/public/index.php
REQUEST_TIME
1795921924
HTTP_X_FORWARDED_FOR 216.73.216.165
HTTP_COOKIE
HTTP_REFERER
HTTP_USER_AGENT Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
HTTP_HOST hstztc.cn
REDIRECT_STATUS 200
SERVER_NAME www.hstztc.cn
SERVER_PORT 443
SERVER_ADDR 10.7.0.10
REMOTE_PORT 45621
REMOTE_ADDR 216.73.216.165
SERVER_SOFTWARE nginx
GATEWAY_INTERFACE CGI/1.1
HTTPS on
REQUEST_SCHEME https
SERVER_PROTOCOL HTTP/2.0
DOCUMENT_ROOT /www/sites/www.hstztc.cn/index/public
DOCUMENT_URI /index.php
REQUEST_URI /
SCRIPT_NAME /index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD GET
QUERY_STRING
FCGI_ROLE RESPONDER
PHP_SELF /index.php
REQUEST_TIME_FLOAT
1795921924.4849

Constants

Key Value
IS_DEV
1
IS_EDIT_TPL
0
ROOTPATH /www/sites/www.hstztc.cn/index/public/
WEBPATH /www/sites/www.hstztc.cn/index/public/
FCPATH /www/sites/www.hstztc.cn/index/dayrui/
WRITEPATH /www/sites/www.hstztc.cn/index/cache/
CONFIGPATH /www/sites/www.hstztc.cn/index/config/
SELF index.php
IS_ADMIN

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

                                                                    
IS_POST

                                                                    
IS_AJAX_POST

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

                                                                    
APPPATH /www/sites/www.hstztc.cn/index/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.3
CMF_UPDATE_TIME 1790550871
IS_SITES
0
SITE_ID
1
SITE_URL https://www.hstztc.cn/
SITE_MURL https://www.hstztc.cn/
SITE_NAME 宜兴市丁蜀镇宏胜特种陶瓷厂
SITE_LOGO https://www.hstztc.cn/uploadfile/202305/9eaa0bd7b85b07a.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 hongsheng
SITE_SEOJOIN _
SITE_REWRITE
0
SITE_TEMPLATE hongsheng
SITE_LANGUAGE zh-cn
SITE_TIME_FORMAT Y-m-d H:i:s
ADMIN_URL https://hstztc.cn/
PAY_URL https://www.hstztc.cn/
ROOT_URL https://www.hstztc.cn/
OAUTH_URL https://www.hstztc.cn/
THEME_PATH https://www.hstztc.cn/static/
LANG_PATH https://www.hstztc.cn/api/language/zh-cn/
ROOT_THEME_PATH https://www.hstztc.cn/static/
HOME_THEME_PATH https://www.hstztc.cn/static/hongsheng/
MOBILE_THEME_PATH https://www.hstztc.cn/static/hongsheng/
SYS_UPLOAD_PATH /www/sites/www.hstztc.cn/index/public/uploadfile/
SYS_UPLOAD_URL https://www.hstztc.cn/uploadfile/
CLIENT_URL https://www.hstztc.cn/
CLIENT_NAME pc
IS_CLIENT
MEMBER_URL https://www.hstztc.cn/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
  1. /www/sites/www.hstztc.cn/index/public/index.php
  2. /www/sites/www.hstztc.cn/index/dayrui/Fcms/Init.php
  3. /www/sites/www.hstztc.cn/index/config/custom.php
  4. /www/sites/www.hstztc.cn/index/cache/config/system.php
  5. /www/sites/www.hstztc.cn/index/cache/config/cache.php
  6. /www/sites/www.hstztc.cn/index/cache/config/domain_app.php
  7. /www/sites/www.hstztc.cn/index/dayrui/Fcms/Core/Helper.php
  8. /www/sites/www.hstztc.cn/index/dayrui/System/Init.php
  9. /www/sites/www.hstztc.cn/index/dayrui/Fcms/Core/Auto.php
  10. /www/sites/www.hstztc.cn/index/dayrui/Fcms/Core/Service.php
  11. /www/sites/www.hstztc.cn/index/dayrui/Fcms/Core/Hooks.php
  12. /www/sites/www.hstztc.cn/index/dayrui/System/Extend/Run.php
  13. /www/sites/www.hstztc.cn/index/dayrui/Fcms/Core/Phpcmf.php
  14. /www/sites/www.hstztc.cn/index/dayrui/System/Extend/Controller.php
  15. /www/sites/www.hstztc.cn/index/dayrui/App/Safe/Config/Hooks.php
  16. /www/sites/www.hstztc.cn/index/dayrui/App/Safe/Config/Filters.php
  17. /www/sites/www.hstztc.cn/index/dayrui/App/Cms/Config/Auto.php
  18. /www/sites/www.hstztc.cn/index/dayrui/App/Cms/Config/Hooks.php
  19. /www/sites/www.hstztc.cn/index/dayrui/App/Cms/Config/Filters.php
  20. /www/sites/www.hstztc.cn/index/dayrui/App/Member/Config/Hooks.php
  21. /www/sites/www.hstztc.cn/index/dayrui/App/Database_management/Config/Hooks.php
  22. /www/sites/www.hstztc.cn/index/dayrui/App/Database_management/Config/Filters.php
  23. /www/sites/www.hstztc.cn/index/dayrui/App/Uploadfile_cleanup/Config/Hooks.php
  24. /www/sites/www.hstztc.cn/index/dayrui/App/Uploadfile_cleanup/Config/Filters.php
  25. /www/sites/www.hstztc.cn/index/config/hooks.php
  26. /www/sites/www.hstztc.cn/index/dayrui/System/Extend/Hook.php
  27. /www/sites/www.hstztc.cn/index/dayrui/System/Config/Services.php
  28. /www/sites/www.hstztc.cn/index/dayrui/System/Config/BaseService.php
  29. /www/sites/www.hstztc.cn/index/dayrui/System/Config/Factories.php
  30. /www/sites/www.hstztc.cn/index/dayrui/System/Config/Factory.php
  31. /www/sites/www.hstztc.cn/index/dayrui/System/Config/BaseConfig.php
  32. /www/sites/www.hstztc.cn/index/dayrui/System/Config/Exceptions.php
  33. /www/sites/www.hstztc.cn/index/dayrui/System/Debug/Exceptions.php
  34. /www/sites/www.hstztc.cn/index/dayrui/System/Events/Events.php
  35. /www/sites/www.hstztc.cn/index/dayrui/System/Debug/Timer.php
  36. /www/sites/www.hstztc.cn/index/dayrui/System/Config/Toolbar.php
  37. /www/sites/www.hstztc.cn/index/dayrui/System/Debug/Toolbar.php
  38. /www/sites/www.hstztc.cn/index/dayrui/System/Debug/Toolbar/Collectors/Database.php
  39. /www/sites/www.hstztc.cn/index/dayrui/System/Debug/Toolbar/Collectors/BaseCollector.php
  40. /www/sites/www.hstztc.cn/index/dayrui/System/Config/Database.php
  41. /www/sites/www.hstztc.cn/index/dayrui/System/Database/Config.php
  42. /www/sites/www.hstztc.cn/index/dayrui/System/Debug/Toolbar/Collectors/Views.php
  43. /www/sites/www.hstztc.cn/index/dayrui/Fcms/Core/View.php
  44. /www/sites/www.hstztc.cn/index/dayrui/System/Debug/Toolbar/Collectors/Files.php
  45. /www/sites/www.hstztc.cn/index/dayrui/System/Debug/Toolbar/Collectors/Routes.php
  46. /www/sites/www.hstztc.cn/index/dayrui/Fcms/Control/Home.php
  47. /www/sites/www.hstztc.cn/index/dayrui/My/Config/Version.php
  48. /www/sites/www.hstztc.cn/index/cache/config/site.php
  49. /www/sites/www.hstztc.cn/index/dayrui/Fcms/Library/Cache.php
  50. /www/sites/www.hstztc.cn/index/dayrui/Fcms/Library/Lang.php
  51. /www/sites/www.hstztc.cn/index/public/api/language/zh-cn/lang.php
  52. /www/sites/www.hstztc.cn/index/dayrui/Fcms/Library/Input.php
  53. /www/sites/www.hstztc.cn/index/dayrui/Fcms/Library/Security.php
  54. /www/sites/www.hstztc.cn/index/dayrui/Fcms/Model/Member.php
  55. /www/sites/www.hstztc.cn/index/dayrui/Fcms/Core/Model.php
  56. /www/sites/www.hstztc.cn/index/dayrui/System/Extend/Model.php
  57. /www/sites/www.hstztc.cn/index/config/database.php
  58. /www/sites/www.hstztc.cn/index/dayrui/System/Database/Database.php
  59. /www/sites/www.hstztc.cn/index/dayrui/System/Database/MySQLi/Connection.php
  60. /www/sites/www.hstztc.cn/index/dayrui/System/Database/BaseConnection.php
  61. /www/sites/www.hstztc.cn/index/dayrui/System/Database/ConnectionInterface.php
  62. /www/sites/www.hstztc.cn/index/dayrui/System/Debug/ExceptionHandler.php
  63. /www/sites/www.hstztc.cn/index/dayrui/System/Debug/BaseExceptionHandler.php
  64. /www/sites/www.hstztc.cn/index/dayrui/System/Debug/ExceptionHandlerInterface.php
  65. /www/sites/www.hstztc.cn/index/dayrui/System/Exceptions/Views/html/error_exception.php