[2] ErrorException in File.php line 159

file_put_contents(/data/user/htdocs/runtime/cache/b4/fcc83eed79e7d1e09e3c6bf10a8632.php): failed to open stream: No such file or directory

  1. if ($this->tag && !is_file($filename)) {
  2. $first = true;
  3. }
  4. $data = serialize($value);
  5. if ($this->options['data_compress'] && function_exists('gzcompress')) {
  6. //数据压缩
  7. $data = gzcompress($data, 3);
  8. }
  9. $data = "\n" . $data;
  10. $result = file_put_contents($filename, $data);
  11. if ($result) {
  12. isset($first) && $this->setTagItem($filename);
  13. clearstatcache();
  14. return true;
  15. } else {
  16. return false;
  17. }
  18. }

Call Stack

  1. in File.php line 159
  2. at Error::appError(2, 'file_put_contents(/d...', '/data/user/htdocs/zh...', 159, ['name' => 'navChildAllabout_loc...', 'value' => true, 'expire' => 0, ...])
  3. at file_put_contents('/data/user/htdocs/ru...', '') in File.php line 159
  4. at File->set('navChildAllabout_loc...', true) in Driver.php line 131
  5. at Driver->remember('navChildAllabout', object(Closure), null) in Cache.php line 231
  6. at Cache::remember('navChildAllabout', object(Closure)) in common.php line 123
  7. at get_nav_child_all('about') in 4929fd0ea35eae3c81faf348dde8e652.php line 5
  8. at include('/data/user/htdocs/ru...') in File.php line 53
  9. 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
  10. 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
  11. 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
  12. at View->fetch('common/footer', ['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
  13. at Controller->fetch('common/footer') in Common.php line 14
  14. at Common->footer(0)
  15. at ReflectionMethod->invokeArgs(object(Common), [0]) in App.php line 196
  16. at App::invokeMethod([object(Common), 'footer'], []) in Loader.php line 596
  17. at Loader::action('Common/footer', [], 'widget') in helper.php line 155
  18. at widget('Common/footer') in 1754c1bb839b2eeeb7ba852d529b7ebf.php line 10
  19. at include('/data/user/htdocs/ru...') in File.php line 53
  20. 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
  21. 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
  22. 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
  23. 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
  24. at Controller->fetch() in News.php line 22
  25. at News->item()
  26. at ReflectionMethod->invokeArgs(object(News), []) in App.php line 196
  27. at App::invokeMethod([object(News), 'item'], []) in App.php line 412
  28. at App::module([null, 'news', 'item'], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...], false) in App.php line 295
  29. at App::exec(['type' => 'module', 'module' => [null, 'news', 'item'], 'convert' => false], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...]) in App.php line 123
  30. at App::run() in start.php line 19
  31. at require('/data/user/htdocs/zh...') in index.php line 29

Environment Variables

GET Data
empty
POST Data
empty
Files
empty

Cookies

PHPSESSID
hjghtrpulhi457gtagearkvp1d
Session
empty

Server/Request Data

USER
nobody
HOME
/
HTTP_COOKIE
PHPSESSID=hjghtrpulhi457gtagearkvp1d
HTTP_ACCEPT_ENCODING
gzip
HTTP_ACCEPT
*/*
HTTP_HOST
www.sdbenan.com
HTTP_USER_AGENT
Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
REDIRECT_STATUS
200
SERVER_NAME
wh-nqit4kdp7gb68z4jlbs.my3w.com
SERVER_PORT
80
SERVER_ADDR
10.17.22.96
REMOTE_PORT
58390
REMOTE_ADDR
50.2.185.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/xinwenzixun/708.html
SCRIPT_NAME
/index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD
GET
QUERY_STRING
s=/news/xinwenzixun/708.html
PATH_INFO
/news/xinwenzixun/708.html
SCRIPT_FILENAME
/data/user/htdocs/index.php
FCGI_ROLE
RESPONDER
PHP_SELF
/index.php
REQUEST_TIME_FLOAT
1756525624.2124
REQUEST_TIME
1756525624
Environment Variables
empty

ThinkPHP Constants

APP_DEBUG
true
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/
DEFAULT_MOUDULE
portal
THINK_VERSION
5.0.24
THINK_START_TIME
1756525624.2125
THINK_START_MEM
403728
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_
MODEL
0
IS_CLI
false
IS_WIN
false
XML 地图