[2] ErrorException in File.php line 133

file_get_contents(../runtime/cache/www.yfkj2015.com/9c/39b15b3b334828554a9240826776c3.php): failed to open stream: No such file or directory

  1. {
  2. $this->readTimes++;
  3. $filename = $this->getCacheKey($name);
  4. if (!is_file($filename)) {
  5. return $default;
  6. }
  7. $content = file_get_contents($filename);
  8. $this->expire = null;
  9. if (false !== $content) {
  10. $expire = (int) substr($content, 8, 12);
  11. if (0 != $expire && time() > filemtime($filename) + $expire) {
  12. //缓存过期删除缓存文件
  13. $this->unlink($filename);
  14. return $default;
  15. }

Call Stack

  1. in File.php line 133
  2. at Error::appError(2, 'file_get_contents(.....', '/www/wwwroot/vs.mini...', 133, ['name' => '5f88954ede269fa14bac...', 'default' => false, 'filename' => '../runtime/cache/www...'])
  3. at file_get_contents('../runtime/cache/www...') in File.php line 133
  4. at File->get('5f88954ede269fa14bac...')
  5. at call_user_func_array([object(File), 'get'], ['5f88954ede269fa14bac...']) in Cache.php line 130
  6. at Cache->__call('get', ['5f88954ede269fa14bac...']) in Connection.php line 2121
  7. at Connection->getCacheData(object(Query), ['key' => true, 'expire' => 60, 'tag' => null], null, '5f88954ede269fa14bac...') in Connection.php line 1362
  8. at Connection->column(object(Query), ['id', 'name', 'paternal_id'], '') in Query.php line 628
  9. at Query->column('id,name,paternal_id') in Base.php line 158
  10. at Base->getGoodsClassify() in Base.php line 71
  11. at Base->__construct(object(App))
  12. at ReflectionClass->newInstanceArgs([object(App)]) in Container.php line 439
  13. at Container->invokeClass('app\index\controller...', []) in Container.php line 284
  14. at Container->make('app\index\controller...', []) in App.php line 725
  15. at App->controller('goods', 'controller', false, 'Error') in Module.php line 94
  16. at Module->exec() in Dispatch.php line 168
  17. at Dispatch->run() in App.php line 432
  18. at App->think\{closure}(object(Request), object(Closure), null)
  19. at call_user_func_array(object(Closure), [object(Request), object(Closure), null]) in Middleware.php line 185
  20. at Middleware->think\{closure}(object(Request))
  21. at call_user_func(object(Closure), object(Request)) in Middleware.php line 130
  22. at Middleware->dispatch(object(Request)) in App.php line 435
  23. at App->run() in index.php line 22

Environment Variables

GET Dataempty
POST Dataempty
Filesempty
Cookiesempty
Session
think { "applet_id": 25 }
Server/Request Data
USER www
HOME /home/www
HTTP_USER_AGENT claudebot
HTTP_ACCEPT */*
HTTP_CONNECTION close
HTTP_X_FORWARDED_FOR 34.228.7.237
HTTP_HOST www.yfkj2015.com
HTTP_REMOTEIP 34.228.7.237
PATH_INFO
REDIRECT_STATUS 200
SERVER_NAME vs.miniappss.com
SERVER_PORT 80
SERVER_ADDR 172.23.128.12
REMOTE_PORT 16872
REMOTE_ADDR 100.122.184.78
SERVER_SOFTWARE nginx/1.22.0
GATEWAY_INTERFACE CGI/1.1
REQUEST_SCHEME http
SERVER_PROTOCOL HTTP/1.1
DOCUMENT_ROOT /www/wwwroot/vs.miniappss.com/public
DOCUMENT_URI /index.php
REQUEST_URI /list/classify_id/2214.html
SCRIPT_NAME /index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD GET
QUERY_STRING s=/list/classify_id/2214.html
SCRIPT_FILENAME /www/wwwroot/vs.miniappss.com/public/index.php
FCGI_ROLE RESPONDER
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1710823154.8172
REQUEST_TIME 1710823154
Environment Variablesempty
ThinkPHP Constants
TABLE_CACHE_TIME 60