[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' => '2b/845dd0bda04802bac...', '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('2b/845dd0bda04802bac...', true) in File.php line 149
  5. at File->set('navChildAll157_lock', true) in Driver.php line 131
  6. at Driver->remember('navChildAll157', object(Closure), null) in Cache.php line 231
  7. at Cache::remember('navChildAll157', object(Closure)) in common.php line 123
  8. at get_nav_child_all(157) 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__' => '/portal/jiejuefangan', '__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 6e1896d0865b200e598c01c268a7a84f.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/jiejuefangan', '__STATIC__' => '/public/static/', ...], []) in Controller.php line 120
  25. at Controller->fetch() in Jiejuefangan.php line 21
  26. at Jiejuefangan->two()
  27. at ReflectionMethod->invokeArgs(object(Jiejuefangan), []) in App.php line 196
  28. at App::invokeMethod([object(Jiejuefangan), 'two'], []) in App.php line 412
  29. at App::module([null, 'jiejuefangan', 'two'], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...], false) in App.php line 295
  30. at App::exec(['type' => 'module', 'module' => [null, 'jiejuefangan', 'two'], '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

PHPSESSID
2n8svq3uunnuvk6ntksq71o76c
Session
empty

Server/Request Data

USER
nobody
HOME
/
HTTP_COOKIE
PHPSESSID=2n8svq3uunnuvk6ntksq71o76c
HTTP_ACCEPT_ENCODING
gzip
HTTP_ACCEPT
*/*
HTTP_HOST
www.sdbenan.com
HTTP_USER_AGENT
Mozilla/5.0 (Linux; Android 7.0;) AppleWebKit/537.36 (KHTML, like Gecko) Mobile Safari/537.36 (compatible; PetalBot;+https://webmaster.petalsearch.com/site/petalbot)
REDIRECT_STATUS
200
SERVER_NAME
wh-nqit4kdp7gb68z4jlbs.my3w.com
SERVER_PORT
80
SERVER_ADDR
10.19.240.113
REMOTE_PORT
41702
REMOTE_ADDR
45.43.234.218
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
/jiejuefangan/chengshizongheti
SCRIPT_NAME
/index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD
GET
QUERY_STRING
s=/jiejuefangan/chengshizongheti
PATH_INFO
/jiejuefangan/chengshizongheti
SCRIPT_FILENAME
/data/user/htdocs/index.php
FCGI_ROLE
RESPONDER
PHP_SELF
/index.php
REQUEST_TIME_FLOAT
1709012507.9834
REQUEST_TIME
1709012507
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
wap
THINK_VERSION
5.0.24
THINK_START_TIME
1709012507.9835
THINK_START_MEM
404248
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 地图