[2] ErrorException in active.php line 217

unlink(/www/wwwroot/thzy.vip/runtime/temp/d38e2f3a3251b85e31f12d407905101a.php): No such file or directory

  1. */
  2. function clear_directory($dir) {
  3. if (!is_dir($dir)) {
  4. return false;
  5. }
  6. $files = glob($dir . '*');
  7. foreach ($files as $file) {
  8. if (is_file($file)) {
  9. unlink($file);
  10. } elseif (is_dir($file)) {
  11. clear_directory($file . '/');
  12. rmdir($file);
  13. }
  14. }
  15. return true;
  16. }
  17. }

Call Stack

  1. in active.php line 217
  2. at Error::appError(2, 'unlink(/www/wwwroot/...', '/www/wwwroot/thzy.vi...', 217, ['dir' => '/www/wwwroot/thzy.vi...', 'files' => ['/www/wwwroot/thzy.vi...'], 'file' => '/www/wwwroot/thzy.vi...'])
  3. at unlink('/www/wwwroot/thzy.vi...') in active.php line 217
  4. at clear_directory('/www/wwwroot/thzy.vi...') in active.php line 189
  5. at clear_system_cache('template') in active.php line 646
  6. at include('/www/wwwroot/thzy.vi...') in Config.php line 80
  7. at Config::load('/www/wwwroot/thzy.vi...', 'active') in App.php line 262
  8. at App::init() in App.php line 182
  9. at App::initCommon() in App.php line 82
  10. at App::run() in start.php line 19
  11. at require('/www/wwwroot/thzy.vi...') in index.php line 39

Environment Variables

GET Data
empty
POST Data
empty
Files
empty
Cookies
empty
Session
empty

Server/Request Data

USER
www
HOME
/home/www
HTTP_X_FORWARDED_PROTO
https
HTTP_CF_VISITOR
{"scheme":"https"}
HTTP_CF_IPCOUNTRY
US
HTTP_CF_CONNECTING_IP
2606:c700:1:70::2
HTTP_CDN_LOOP
cloudflare; loops=1
HTTP_USER_AGENT
Go-http-client/2.0
HTTP_CF_RAY
9eee9e6e5aeaf3ec-LAX
HTTP_ACCEPT_ENCODING
gzip, br
HTTP_X_FORWARDED_FOR
2606:c700:1:70::2
HTTP_HOST
thzy1.me
PATH_INFO
REDIRECT_STATUS
200
SERVER_NAME
thzy.me
SERVER_PORT
443
SERVER_ADDR
45.58.182.122
REMOTE_PORT
13981
REMOTE_ADDR
172.70.214.8
SERVER_SOFTWARE
nginx/1.28.0
GATEWAY_INTERFACE
CGI/1.1
HTTPS
on
REQUEST_SCHEME
https
SERVER_PROTOCOL
HTTP/2.0
DOCUMENT_ROOT
/www/wwwroot/thzy.vip
DOCUMENT_URI
/index.php
REQUEST_URI
/
SCRIPT_NAME
/index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD
GET
QUERY_STRING
SCRIPT_FILENAME
/www/wwwroot/thzy.vip/index.php
FCGI_ROLE
RESPONDER
PHP_SELF
/index.php
REQUEST_TIME_FLOAT
1776630120.7134
REQUEST_TIME
1776630120
Environment Variables
empty

ThinkPHP Constants

ROOT_PATH
/www/wwwroot/thzy.vip/
APP_PATH
/www/wwwroot/thzy.vip/application/
MAC_COMM
/www/wwwroot/thzy.vip/application/common/common/
MAC_HOME_COMM
/www/wwwroot/thzy.vip/application/index/common/
MAC_ADMIN_COMM
/www/wwwroot/thzy.vip/application/admin/common/
MAC_START_TIME
1776630120.7136
BIND_MODULE
index
ENTRANCE
index
IN_FILE
/index.php
THINK_VERSION
5.0.24
THINK_START_TIME
1776630120.714
THINK_START_MEM
383528
EXT
.php
DS
/
THINK_PATH
/www/wwwroot/thzy.vip/thinkphp/
LIB_PATH
/www/wwwroot/thzy.vip/thinkphp/library/
CORE_PATH
/www/wwwroot/thzy.vip/thinkphp/library/think/
TRAIT_PATH
/www/wwwroot/thzy.vip/thinkphp/library/traits/
EXTEND_PATH
/www/wwwroot/thzy.vip/extend/
VENDOR_PATH
/www/wwwroot/thzy.vip/vendor/
RUNTIME_PATH
/www/wwwroot/thzy.vip/runtime/
LOG_PATH
/www/wwwroot/thzy.vip/runtime/log/
CACHE_PATH
/www/wwwroot/thzy.vip/runtime/cache/
TEMP_PATH
/www/wwwroot/thzy.vip/runtime/temp/
CONF_PATH
/www/wwwroot/thzy.vip/application/
CONF_EXT
.php
ENV_PREFIX
PHP_
IS_CLI
false
IS_WIN
false
ADDON_PATH
/www/wwwroot/thzy.vip/addons/
SYSTEM_MAINTENANCE_LOADED
true