[2] ErrorException in File.php line 245

unlink(/www/wwwroot/xxinfang.com/runtime/cache/home_cache/a2/b3b6a595dd68653faeb0b309e15a0a.php): No such file or directory

  1. /**
  2. * 判断文件是否存在后,删除
  3. * @param $path
  4. * @return bool
  5. * @author byron sampson <xiaobo.sun@qq.com>
  6. * @return boolean
  7. */
  8. private function unlink($path)
  9. {
  10. return is_file($path) && unlink($path);
  11. }
  12. }

Call Stack

  1. in File.php line 245
  2. at Error::appError(2, 'unlink(/www/wwwroot/...', '/www/wwwroot/xxinfan...', 245, ['path' => '/www/wwwroot/xxinfan...'])
  3. at unlink('/www/wwwroot/xxinfan...') in File.php line 245
  4. at File->unlink('/www/wwwroot/xxinfan...') in File.php line 114
  5. at File->get('7a254c9a95effec33bc9...', false) in Cache.php line 115
  6. at Cache::get('7a254c9a95effec33bc9...') in Query.php line 448
  7. at Query->column('name', 'code') in common.php line 1277
  8. at getcitylist(460200) in e0ea63acd9af3899c12c212f2d057734.php line 451
  9. at include('/www/wwwroot/xxinfan...') in File.php line 50
  10. at File->read('/www/wwwroot/xxinfan...', ['contact' => ['id' => 1, 'create_time' => 1688481305, 'address' => '...', ...], 'module' => 'News', 'action' => 'detail', ...]) in Template.php line 196
  11. at Template->fetch('/www/wwwroot/xxinfan...', ['contact' => ['id' => 1, 'create_time' => 1688481305, 'address' => '...', ...], 'module' => 'News', 'action' => 'detail', ...], []) in Think.php line 84
  12. at Think->fetch('/www/wwwroot/xxinfan...', ['contact' => ['id' => 1, 'create_time' => 1688481305, 'address' => '...', ...], 'module' => 'News', 'action' => 'detail', ...], []) in View.php line 159
  13. at View->fetch('news/detail', ['contact' => ['id' => 1, 'create_time' => 1688481305, 'address' => '...', ...], 'module' => 'News', 'action' => 'detail', ...], [], []) in Controller.php line 111
  14. at Controller->fetch('news/detail') in News.php line 137
  15. at News->detail()
  16. at ReflectionMethod->invokeArgs(object(News), []) in App.php line 343
  17. at App::invokeMethod([object(News), 'detail'], []) in App.php line 611
  18. at App::module(['home', 'news', 'detail'], ['app_debug' => false, 'app_trace' => false, 'app_status' => '', ...], false) in App.php line 456
  19. at App::exec(['type' => 'module', 'module' => ['home', 'news', 'detail'], 'convert' => false], ['app_debug' => true, 'app_trace' => false, 'app_status' => '', ...]) in App.php line 139
  20. at App::run() in start.php line 18
  21. at require('/www/wwwroot/xxinfan...') in index.php line 15

Exception Datas

Error Context
path /www/wwwroot/xxinfang.com/runtime/cache/home_cache/a2/b3b6a595dd68653faeb0b309e15a0a.php

Environment Variables

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

Server/Request Data

USER
www
HOME
/home/www
HTTP_HOST
www.xxinfang.com
HTTP_REFERER
http://xxinfang.com/news/5101
HTTP_USER_AGENT
claudebot
HTTP_ACCEPT
*/*
PATH_INFO
/news/5101
REDIRECT_STATUS
200
SERVER_NAME
xxinfang.com
SERVER_PORT
80
SERVER_ADDR
172.16.0.45
REMOTE_PORT
34802
REMOTE_ADDR
52.55.55.239
SERVER_SOFTWARE
nginx/1.18.0
GATEWAY_INTERFACE
CGI/1.1
REQUEST_SCHEME
http
SERVER_PROTOCOL
HTTP/1.1
DOCUMENT_ROOT
/www/wwwroot/xxinfang.com
DOCUMENT_URI
/index.php
REQUEST_URI
/news/5101
SCRIPT_NAME
/index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD
GET
QUERY_STRING
s=/news/5101
SCRIPT_FILENAME
/www/wwwroot/xxinfang.com/index.php
FCGI_ROLE
RESPONDER
PHP_SELF
/index.php
REQUEST_TIME_FLOAT
1711622020.0034
REQUEST_TIME
1711622020
Environment Variables
empty

ThinkPHP Constants

APP_PATH
/www/wwwroot/xxinfang.com/application/
PUBLIC_PATH
/www/wwwroot/xxinfang.com/public/
THINK_VERSION
5.0.9
THINK_START_TIME
1711622020.0039
THINK_START_MEM
366008
EXT
.php
DS
/
THINK_PATH
/www/wwwroot/xxinfang.com/thinkphp/
LIB_PATH
/www/wwwroot/xxinfang.com/thinkphp/library/
CORE_PATH
/www/wwwroot/xxinfang.com/thinkphp/library/think/
TRAIT_PATH
/www/wwwroot/xxinfang.com/thinkphp/library/traits/
ROOT_PATH
/www/wwwroot/xxinfang.com/
EXTEND_PATH
/www/wwwroot/xxinfang.com/extend/
VENDOR_PATH
/www/wwwroot/xxinfang.com/vendor/
RUNTIME_PATH
/www/wwwroot/xxinfang.com/runtime/
LOG_PATH
/www/wwwroot/xxinfang.com/runtime/log/
CACHE_PATH
/www/wwwroot/xxinfang.com/runtime/cache/
CONF_PATH
/www/wwwroot/xxinfang.com/application/
CONF_EXT
.php
ENV_PREFIX
PHP_
IS_CLI
false
IS_WIN
false
FILTER_VALIDATE_BOOL
258
HOME_CACHE_PATH
/www/wwwroot/xxinfang.com/runtime/cache/home_cache/
TEMP_PATH
/www/wwwroot/xxinfang.com/runtime/cache/home_cache/temp/