[2] ErrorException in File.php line 84

mkdir(): File exists

  1. $name = substr($name, 0, 2) . DS . substr($name, 2);
  2. }
  3. if ($this->options['prefix']) {
  4. $name = $this->options['prefix'] . DS . $name;
  5. }
  6. $filename = $this->options['path'] . $name . '.php';
  7. $dir = dirname($filename);
  8. if ($auto && !is_dir($dir)) {
  9. mkdir($dir, 0755, true);
  10. }
  11. return $filename;
  12. }
  13. /**
  14. * 判断缓存是否存在
  15. * @access public
  16. * @param string $name 缓存变量名
  17. * @return bool

Call Stack

  1. in File.php line 84
  2. at Error::appError(2, 'mkdir(): File exists', '/data/user/htdocs/zh...', 84, ['name' => '2a/3a991cbe0b000fcbb...', 'auto' => true, 'filename' => '/data/user/htdocs/ru...', ...])
  3. at mkdir('/data/user/htdocs/ru...', 493, true) in File.php line 84
  4. at File->getCacheKey('2a/3a991cbe0b000fcbb...', true) in File.php line 149
  5. at File->set('navChildAll158', [['id' => 186, 'guid' => 'qiyegaikuo', 'nav_name' => '企业概括', ...], ['id' => 187, 'guid' => 'qiyewenhua', 'nav_name' => '企业文化', ...], ['id' => 188, 'guid' => 'fazhanlicheng', 'nav_name' => '发展历程', ...], ...], 0) in Driver.php line 135
  6. at Driver->remember('navChildAll158', [['id' => 186, 'guid' => 'qiyegaikuo', 'nav_name' => '企业概括', ...], ['id' => 187, 'guid' => 'qiyewenhua', 'nav_name' => '企业文化', ...], ['id' => 188, 'guid' => 'fazhanlicheng', 'nav_name' => '发展历程', ...], ...], null) in Cache.php line 231
  7. at Cache::remember('navChildAll158', object(Closure)) in common.php line 123
  8. at get_nav_child_all(158) in 46e7ddcc8f857095432b17c88070ca2e.php line 2
  9. at include('/data/user/htdocs/ru...') in File.php line 53
  10. 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
  11. 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
  12. 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
  13. 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/product', '__STATIC__' => '/public/static/', ...], []) in Controller.php line 120
  14. at Controller->fetch('common/item_header') in Common.php line 19
  15. at Common->item_header(0)
  16. at ReflectionMethod->invokeArgs(object(Common), [0]) in App.php line 196
  17. at App::invokeMethod([object(Common), 'item_header'], []) in Loader.php line 596
  18. at Loader::action('Common/item_header', [], 'widget') in helper.php line 155
  19. at widget('Common/item_header') in b4390833f53c1c9af6ddf12b78f37ee0.php line 2
  20. at include('/data/user/htdocs/ru...') in File.php line 53
  21. 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
  22. 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
  23. 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
  24. 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/product', '__STATIC__' => '/public/static/', ...], []) in Controller.php line 120
  25. at Controller->fetch() in Base.php line 21
  26. at Base->_empty('product_show')
  27. at ReflectionMethod->invokeArgs(object(Product), ['product_show']) in App.php line 196
  28. at App::invokeMethod([object(Product), '_empty'], ['product_show']) in App.php line 412
  29. at App::module([null, 'product', 'product_show'], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...], false) in App.php line 295
  30. at App::exec(['type' => 'module', 'module' => [null, 'product', 'product_show'], 'convert' => false], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...]) in App.php line 123
  31. at App::run() in start.php line 19
  32. at require('/data/user/htdocs/zh...') in index.php line 29

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
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
39668
REMOTE_ADDR
104.206.1.86
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
/product/product_show/485.html
SCRIPT_NAME
/index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD
GET
QUERY_STRING
s=/product/product_show/485.html
PATH_INFO
/product/product_show/485.html
SCRIPT_FILENAME
/data/user/htdocs/index.php
FCGI_ROLE
RESPONDER
PHP_SELF
/index.php
REQUEST_TIME_FLOAT
1715132382.7316
REQUEST_TIME
1715132382
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
1715132382.7317
THINK_START_MEM
402648
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