[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' => '70/7cc501f92da0b3c63...', '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('70/7cc501f92da0b3c63...', true) in File.php line 149
  5. at File->set('navChildAll155_lock', true) in Driver.php line 131
  6. at Driver->remember('navChildAll155', object(Closure), null) in Cache.php line 231
  7. at Cache::remember('navChildAll155', object(Closure)) in common.php line 123
  8. at get_nav_child_all(155) in bb19ce3b7e2149a84f7bfe88c635751e.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/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__' => '/index.php/portal/in...', '__STATIC__' => '/public/static/', ...], []) in Controller.php line 120
  14. at Controller->fetch('common/header') in Common.php line 10
  15. at Common->header(0)
  16. at ReflectionMethod->invokeArgs(object(Common), [0]) in App.php line 196
  17. at App::invokeMethod([object(Common), 'header'], []) in Loader.php line 596
  18. at Loader::action('Common/header', [], 'widget') in helper.php line 155
  19. at widget('Common/header') in 8a70759e84a31c6368d9e6f480beabe8.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__' => '/index.php/portal/in...', '__STATIC__' => '/public/static/', ...], []) in Controller.php line 120
  25. at Controller->fetch() in Index.php line 17
  26. at Index->index()
  27. at ReflectionMethod->invokeArgs(object(Index), []) in App.php line 196
  28. at App::invokeMethod([object(Index), 'index'], []) in App.php line 412
  29. at App::module(['', null, null], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...], true) in App.php line 295
  30. at App::exec(['type' => 'module', 'module' => ['', null, null]], ['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

p
products_show
lanmu
2
c_id
56
id
192
p_id
4
POST Data
empty
Files
empty
Cookies
empty
Session
empty

Server/Request Data

USER
nobody
HOME
/
HTTP_HOST
www.sdbenan.com
HTTP_USER_AGENT
claudebot
HTTP_ACCEPT
*/*
REDIRECT_STATUS
200
SERVER_NAME
wh-nqit4kdp7gb68z4jlbs.my3w.com
SERVER_PORT
80
SERVER_ADDR
10.17.22.96
REMOTE_PORT
58760
REMOTE_ADDR
3.239.119.159
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
/index.php?p=products_show&lanmu=2&c_id=56&id=192&p_id=4
SCRIPT_NAME
/index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD
GET
QUERY_STRING
p=products_show&lanmu=2&c_id=56&id=192&p_id=4
PATH_INFO
SCRIPT_FILENAME
/data/user/htdocs/index.php
FCGI_ROLE
RESPONDER
PHP_SELF
/index.php
REQUEST_TIME_FLOAT
1711648861.856
REQUEST_TIME
1711648861
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
1711648861.8561
THINK_START_MEM
403280
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