[2] ErrorException in File.php line 133

file_get_contents(/www/wwwroot/www.financetown.com.cn/runtime/cache/c9/1446a5cafb6aedcc1aa709e36f4550.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(/w...', '/www/wwwroot/www.fin...', 133, ['name' => 'get_type_4989021ee32...', 'default' => false, 'filename' => '/www/wwwroot/www.fin...'])
  3. at file_get_contents('/www/wwwroot/www.fin...') in File.php line 133
  4. at File->get('get_type_4989021ee32...')
  5. at call_user_func_array([object(File), 'get'], ['get_type_4989021ee32...']) in Cache.php line 130
  6. at Cache->__call('get', ['get_type_4989021ee32...']) in Connection.php line 2121
  7. at Connection->getCacheData(object(Query), ['key' => 'get_type_4989021ee32...', 'expire' => 1, 'tag' => null], null, 'get_type_4989021ee32...') in Connection.php line 900
  8. at Connection->select(object(Query)) in Query.php line 3028
  9. at Query->select() in common.php line 1084
  10. at tag_channel(['typeid' => 5, 'type' => 'son', 'limit' => '', ...], ['iscache' => true, 'expire' => 1]) in bfda016eb11d3a13130b988cf0a7cc24.php line 90
  11. at include('/www/wwwroot/www.fin...') in File.php line 59
  12. at File->read('/www/wwwroot/www.fin...', ['session' => ['username' => ''], 'web' => ['webname' => '金融小镇网', 'basehost' => 'http://www.financeto...', 'seotitle' => '...', ...], 'category' => [['id' => 1, 'pid' => 0, 'catname' => '新闻资讯', ...], ['id' => 8, 'pid' => 1, 'catname' => '小镇要闻', ...], ['id' => 9, 'pid' => 1, 'catname' => '私募热点', ...], ...], ...]) in Template.php line 226
  13. at Template->fetch('./template/pc/articl...', ['session' => ['username' => ''], 'web' => ['webname' => '金融小镇网', 'basehost' => 'http://www.financeto...', 'seotitle' => '...', ...], 'category' => [['id' => 1, 'pid' => 0, 'catname' => '新闻资讯', ...], ['id' => 8, 'pid' => 1, 'catname' => '小镇要闻', ...], ['id' => 9, 'pid' => 1, 'catname' => '私募热点', ...], ...], ...], ['cache_time' => 0.1]) in Think.php line 93
  14. at Think->fetch('./template/pc/articl...', ['session' => ['username' => ''], 'web' => ['webname' => '金融小镇网', 'basehost' => 'http://www.financeto...', 'seotitle' => '...', ...], 'category' => [['id' => 1, 'pid' => 0, 'catname' => '新闻资讯', ...], ['id' => 8, 'pid' => 1, 'catname' => '小镇要闻', ...], ['id' => 9, 'pid' => 1, 'catname' => '私募热点', ...], ...], ...], ['cache_time' => 0.1]) in View.php line 192
  15. at View->fetch('//article_news', ['session' => ['username' => ''], 'web' => ['webname' => '金融小镇网', 'basehost' => 'http://www.financeto...', 'seotitle' => '...', ...], 'category' => [['id' => 1, 'pid' => 0, 'catname' => '新闻资讯', ...], ['id' => 8, 'pid' => 1, 'catname' => '小镇要闻', ...], ['id' => 9, 'pid' => 1, 'catname' => '私募热点', ...], ...], ...], ['cache_time' => 0.1], false) in View.php line 42
  16. at View->output('//article_news') in Response.php line 396
  17. at Response->getContent() in Response.php line 128
  18. at Response->send() in index.php line 26

Environment Variables

GET Dataempty
POST Dataempty
Filesempty
Cookiesempty
Sessionempty
Server/Request Data
USER www
HOME /home/www
HTTP_USER_AGENT claudebot
HTTP_ACCEPT */*
HTTP_HOST www.financetown.com.cn
PATH_INFO
REDIRECT_STATUS 200
SERVER_NAME www.financetown.com.cn
SERVER_PORT 443
SERVER_ADDR 172.22.239.72
REMOTE_PORT 54922
REMOTE_ADDR 34.230.84.106
SERVER_SOFTWARE nginx/1.18.0
GATEWAY_INTERFACE CGI/1.1
HTTPS on
REQUEST_SCHEME https
SERVER_PROTOCOL HTTP/2.0
DOCUMENT_ROOT /www/wwwroot/www.financetown.com.cn
DOCUMENT_URI /index.php
REQUEST_URI /arc/9-14910.html
SCRIPT_NAME /index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD GET
QUERY_STRING s=/arc/9-14910.html
SCRIPT_FILENAME /www/wwwroot/www.financetown.com.cn/index.php
FCGI_ROLE RESPONDER
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1710848936.0645
REQUEST_TIME 1710848936
Environment Variablesempty
ThinkPHP Constants
APP_VERSION 2.1.1
APP_NAME EndCMS内容管理
UPLOAD_DIR /www/wwwroot/www.financetown.com.cn/uploads/
APP_PATH /www/wwwroot/www.financetown.com.cn/application
DEFAULT_THUMB /static/images/default.png