[2] ErrorException in File.php line 250

unlink(/data/user/htdocs/runtime/cache/2b): No such file or directory

  1. $files = (array) glob($this->options['path'] . ($this->options['prefix'] ? $this->options['prefix'] . DS : '') . '*');
  2. foreach ($files as $path) {
  3. if (is_dir($path)) {
  4. $matches = glob($path . '/*.php');
  5. if (is_array($matches)) {
  6. array_map('unlink', $matches);
  7. }
  8. rmdir($path);
  9. } else {
  10. unlink($path);
  11. }
  12. }
  13. return true;
  14. }
  15. /**
  16. * 判断文件是否存在后,删除
  17. * @param $path
  18. * @return bool

Call Stack

  1. in File.php line 250
  2. at Error::appError(2, 'unlink(/data/user/ht...', '/data/user/htdocs/zh...', 250, ['tag' => null, 'files' => ['/data/user/htdocs/ru...', '/data/user/htdocs/ru...'], 'path' => '/data/user/htdocs/ru...'])
  3. at unlink('/data/user/htdocs/ru...') in File.php line 250
  4. at File->clear(null) in Cache.php line 202
  5. at Cache::clear() in common.php line 111
  6. at get_nav_child_all(158) in 46e7ddcc8f857095432b17c88070ca2e.php line 2
  7. at include('/data/user/htdocs/ru...') in File.php line 53
  8. at File->read('/data/user/htdocs/ru...', ['setting' => ['title' => ['id' => 20, 'title' => '网站名称', 'key' => 'title', ...], 'author' => ['id' => 21, 'title' => '网站作者', 'key' => 'author', ...], 'generator' => ['id' => 22, 'title' => '程序引擎', 'key' => 'generator', ...], ...], 'static_path' => '/public/static/', 'common_path' => '/public/static/commo...', ...]) in Template.php line 188
  9. at Template->fetch('/data/user/htdocs/ap...', ['setting' => ['title' => ['id' => 20, 'title' => '网站名称', 'key' => 'title', ...], 'author' => ['id' => 21, 'title' => '网站作者', 'key' => 'author', ...], 'generator' => ['id' => 22, 'title' => '程序引擎', 'key' => 'generator', ...], ...], 'static_path' => '/public/static/', 'common_path' => '/public/static/commo...', ...], []) in Think.php line 86
  10. at Think->fetch('/data/user/htdocs/ap...', ['setting' => ['title' => ['id' => 20, 'title' => '网站名称', 'key' => 'title', ...], 'author' => ['id' => 21, 'title' => '网站作者', 'key' => 'author', ...], 'generator' => ['id' => 22, 'title' => '程序引擎', 'key' => 'generator', ...], ...], 'static_path' => '/public/static/', 'common_path' => '/public/static/commo...', ...], []) in View.php line 163
  11. at View->fetch('common/item_header', ['setting' => ['title' => ['id' => 20, 'title' => '网站名称', 'key' => 'title', ...], 'author' => ['id' => 21, 'title' => '网站作者', 'key' => 'author', ...], 'generator' => ['id' => 22, 'title' => '程序引擎', 'key' => 'generator', ...], ...], 'static_path' => '/public/static/', 'common_path' => '/public/static/commo...', ...], ['__ROOT__' => '', '__URL__' => '/portal/news', '__STATIC__' => '/public/static/', ...], []) in Controller.php line 120
  12. at Controller->fetch('common/item_header') in Common.php line 19
  13. at Common->item_header(0)
  14. at ReflectionMethod->invokeArgs(object(Common), [0]) in App.php line 196
  15. at App::invokeMethod([object(Common), 'item_header'], []) in Loader.php line 596
  16. at Loader::action('Common/item_header', [], 'widget') in helper.php line 155
  17. at widget('Common/item_header') in 1754c1bb839b2eeeb7ba852d529b7ebf.php line 2
  18. at include('/data/user/htdocs/ru...') in File.php line 53
  19. at File->read('/data/user/htdocs/ru...', ['setting' => ['title' => ['id' => 20, 'title' => '网站名称', 'key' => 'title', ...], 'author' => ['id' => 21, 'title' => '网站作者', 'key' => 'author', ...], 'generator' => ['id' => 22, 'title' => '程序引擎', 'key' => 'generator', ...], ...], 'static_path' => '/public/static/', 'common_path' => '/public/static/commo...', ...]) in Template.php line 188
  20. at Template->fetch('/data/user/htdocs/ap...', ['setting' => ['title' => ['id' => 20, 'title' => '网站名称', 'key' => 'title', ...], 'author' => ['id' => 21, 'title' => '网站作者', 'key' => 'author', ...], 'generator' => ['id' => 22, 'title' => '程序引擎', 'key' => 'generator', ...], ...], 'static_path' => '/public/static/', 'common_path' => '/public/static/commo...', ...], []) in Think.php line 86
  21. at Think->fetch('/data/user/htdocs/ap...', ['setting' => ['title' => ['id' => 20, 'title' => '网站名称', 'key' => 'title', ...], 'author' => ['id' => 21, 'title' => '网站作者', 'key' => 'author', ...], 'generator' => ['id' => 22, 'title' => '程序引擎', 'key' => 'generator', ...], ...], 'static_path' => '/public/static/', 'common_path' => '/public/static/commo...', ...], []) in View.php line 163
  22. at View->fetch('', ['setting' => ['title' => ['id' => 20, 'title' => '网站名称', 'key' => 'title', ...], 'author' => ['id' => 21, 'title' => '网站作者', 'key' => 'author', ...], 'generator' => ['id' => 22, 'title' => '程序引擎', 'key' => 'generator', ...], ...], 'static_path' => '/public/static/', 'common_path' => '/public/static/commo...', ...], ['__ROOT__' => '', '__URL__' => '/portal/news', '__STATIC__' => '/public/static/', ...], []) in Controller.php line 120
  23. at Controller->fetch() in News.php line 22
  24. at News->item()
  25. at ReflectionMethod->invokeArgs(object(News), []) in App.php line 196
  26. at App::invokeMethod([object(News), 'item'], []) in App.php line 412
  27. at App::module([null, 'news', 'item'], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...], false) in App.php line 295
  28. at App::exec(['type' => 'module', 'module' => [null, 'news', 'item'], 'convert' => false], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...]) in App.php line 123
  29. at App::run() in start.php line 19
  30. at require('/data/user/htdocs/zh...') in index.php line 14

Environment Variables

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

Server/Request Data

USER
nobody
HOME
/
HTTP_ACCEPT_ENCODING
gzip
HTTP_ACCEPT
*/*
HTTP_HOST
www.sdbenan.com
HTTP_USER_AGENT
CCBot/2.0 (https://commoncrawl.org/faq/)
REDIRECT_STATUS
200
SERVER_NAME
wh-nqit4kdp7gb68z4jlbs.my3w.com
SERVER_PORT
80
SERVER_ADDR
10.19.227.69
REMOTE_PORT
42554
REMOTE_ADDR
23.27.201.58
SERVER_SOFTWARE
nginx/1.18.0
GATEWAY_INTERFACE
CGI/1.1
REQUEST_SCHEME
http
SERVER_PROTOCOL
HTTP/1.1
DOCUMENT_ROOT
/data/user/htdocs
DOCUMENT_URI
/index.php
REQUEST_URI
/news/gongsixinwen/167.html
SCRIPT_NAME
/index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD
GET
QUERY_STRING
s=/news/gongsixinwen/167.html
PATH_INFO
/news/gongsixinwen/167.html
SCRIPT_FILENAME
/data/user/htdocs/index.php
FCGI_ROLE
RESPONDER
PHP_SELF
/index.php
REQUEST_TIME_FLOAT
1679527053.6395
REQUEST_TIME
1679527053
Environment Variables
empty

ThinkPHP Constants

IS_PUBLIC
false
ROOT_PATH
/data/user/htdocs/
PUBLIC_NAME
public
APP_PATH
/data/user/htdocs/application/
WEJOY_PATH
/data/user/htdocs/zhmx/
EXTEND_PATH
/data/user/htdocs/zhmx/extend/
VENDOR_PATH
/data/user/htdocs/zhmx/vendor/
THINK_VERSION
5.0.24
THINK_START_TIME
1679527053.6397
THINK_START_MEM
385728
EXT
.php
DS
/
THINK_PATH
/data/user/htdocs/zhmx/thinkphp/
LIB_PATH
/data/user/htdocs/zhmx/thinkphp/library/
CORE_PATH
/data/user/htdocs/zhmx/thinkphp/library/think/
TRAIT_PATH
/data/user/htdocs/zhmx/thinkphp/library/traits/
RUNTIME_PATH
/data/user/htdocs/runtime/
LOG_PATH
/data/user/htdocs/runtime/log/
CACHE_PATH
/data/user/htdocs/runtime/cache/
TEMP_PATH
/data/user/htdocs/runtime/temp/
CONF_PATH
/data/user/htdocs/application/
CONF_EXT
.php
ENV_PREFIX
PHP_
APP_DEBUG
true
MODEL
0
IS_CLI
false
IS_WIN
false