[2] ErrorException in File.php line 80

mkdir(): Permission denied

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

Call Stack

  1. in File.php line 80
  2. at Error::appError(2, 'mkdir(): Permission ...', 'D:\wwwroot\wxomcom\w...', 80, ['name' => '4c\e09a41bb313c2ca47...', 'filename' => 'D:\wwwroot\wxomcom\w...', 'dir' => 'D:\wwwroot\wxomcom\w...'])
  3. at mkdir('D:\wwwroot\wxomcom\w...', 493, true) in File.php line 80
  4. at File->getCacheKey('4c\e09a41bb313c2ca47...') in File.php line 105
  5. at File->get('think:xy_article|52', false) in Cache.php line 115
  6. at Cache::get('think:xy_article|52') in Query.php line 2227
  7. at Query->update(['click' => ['exp', 'click+1']]) in Query.php line 581
  8. at Query->setField('click', ['exp', 'click+1']) in Query.php line 610
  9. at Query->setInc('click') in Product.php line 187
  10. at Product->productDetail([['image' => '', 'thumb_image' => '']]) in Product.php line 40
  11. at Product->index('')
  12. at ReflectionMethod->invokeArgs(object(Product), ['']) in App.php line 197
  13. at App::invokeMethod([object(Product), 'index'], []) in App.php line 414
  14. at App::module(['index', 'Product', 'index'], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...], false) in App.php line 296
  15. at App::exec(['type' => 'module', 'module' => ['index', 'Product', 'index'], 'convert' => false], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...]) in App.php line 124
  16. at App::run() in start.php line 18
  17. at require('D:\wwwroot\wxomcom\w...') in index.php line 49

Exception Datas

Error Context
name 4c\e09a41bb313c2ca475743b690f4ed0
filename D:\wwwroot\wxomcom\wwwroot\runtime\cache\4c\e09a41bb313c2ca475743b690f4ed0.php
dir D:\wwwroot\wxomcom\wwwroot\runtime\cache\4c

Environment Variables

GET Data
empty
POST Data
empty
Files
empty

Cookies

PHPSESSID
82v8sj7aasnbnudtpplb3mqdi6

Session

index_lang_id
1
index_lang_name
CN
index_lang_template
default

Server/Request Data

_FCGI_X_PIPE_
\\.\pipe\IISFCGI-df04edeb-edb5-4a36-8b51-be71503f84ea
PHP_FCGI_MAX_REQUESTS
1000
PHPRC
C:\php_70
ALLUSERSPROFILE
C:\ProgramData
APPDATA
C:\Windows\system32\config\systemprofile\AppData\Roaming
APP_POOL_CONFIG
C:\inetpub\temp\apppools\wxomcom\wxomcom.config
APP_POOL_ID
wxomcom
CommonProgramFiles
C:\Program Files (x86)\Common Files
CommonProgramFiles(x86)
C:\Program Files (x86)\Common Files
CommonProgramW6432
C:\Program Files\Common Files
COMPUTERNAME
EBS-24507
ComSpec
C:\Windows\system32\cmd.exe
DriverData
C:\Windows\System32\Drivers\DriverData
LOCALAPPDATA
C:\Windows\system32\config\systemprofile\AppData\Local
NUMBER_OF_PROCESSORS
4
OS
Windows_NT
Path
C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\php_52;D:\mysql\bin;c:\Program Files (x86)\Microsoft ASP.NET\ASP.NET Web Pages\v1.0\;C:\Windows\system32\config\systemprofile\AppData\Local\Microsoft\WindowsApps
PATHEXT
.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
PROCESSOR_ARCHITECTURE
x86
PROCESSOR_ARCHITEW6432
AMD64
PROCESSOR_IDENTIFIER
Intel64 Family 6 Model 63 Stepping 2, GenuineIntel
PROCESSOR_LEVEL
6
PROCESSOR_REVISION
3f02
ProgramData
C:\ProgramData
ProgramFiles
C:\Program Files (x86)
ProgramFiles(x86)
C:\Program Files (x86)
ProgramW6432
C:\Program Files
PSModulePath
C:\Program Files\WindowsPowerShell\Modules;C:\Windows\system32\WindowsPowerShell\v1.0\Modules
PUBLIC
C:\Users\Public
SystemDrive
C:
SystemRoot
C:\Windows
TEMP
C:\Windows\TEMP
TMP
C:\Windows\TEMP
USERDOMAIN
WORKGROUP
USERNAME
EBS-24507$
USERPROFILE
C:\Windows\system32\config\systemprofile
windir
C:\Windows
ORIG_PATH_INFO
/index.php/sbzs/show_52.html
URL
/index.php
SERVER_SOFTWARE
Microsoft-IIS/10.0
SERVER_PROTOCOL
HTTP/1.1
SERVER_PORT_SECURE
0
SERVER_PORT
80
SERVER_NAME
SCRIPT_NAME
/index.php
SCRIPT_FILENAME
d:\wwwroot\wxomcom\wwwroot\index.php
REQUEST_URI
/sbzs/show_52.html
REQUEST_METHOD
GET
REMOTE_USER
REMOTE_PORT
57336
REMOTE_HOST
127.0.0.1
REMOTE_ADDR
127.0.0.1
QUERY_STRING
PATH_TRANSLATED
d:\wwwroot\wxomcom\wwwroot\index.php\sbzs\show_52.html
PATH_INFO
/sbzs/show_52.html
LOGON_USER
LOCAL_ADDR
127.0.0.1
INSTANCE_META_PATH
/LM/W3SVC/10412
INSTANCE_NAME
WXOMCOM
INSTANCE_ID
10412
HTTPS_SERVER_SUBJECT
HTTPS_SERVER_ISSUER
HTTPS_SECRETKEYSIZE
HTTPS_KEYSIZE
HTTPS
off
GATEWAY_INTERFACE
CGI/1.1
DOCUMENT_ROOT
d:\wwwroot\wxomcom\wwwroot
CONTENT_TYPE
CONTENT_LENGTH
0
CERT_SUBJECT
CERT_SERIALNUMBER
CERT_ISSUER
CERT_FLAGS
CERT_COOKIE
AUTH_USER
AUTH_PASSWORD
AUTH_TYPE
APPL_PHYSICAL_PATH
d:\wwwroot\wxomcom\wwwroot\
APPL_MD_PATH
/LM/W3SVC/10412/ROOT
IIS_UrlRewriteModule
7,1,1993,2336
WEBSOCKET_VERSION
13
UNENCODED_URL
/sbzs/show_52.html
IIS_WasUrlRewritten
1
HTTP_X_ORIGINAL_URL
/sbzs/show_52.html
HTTP_X_REAL_IP
173.247.227.74
HTTP_X_FORWARDED_FOR
173.247.227.74
HTTP_USER_AGENT
Linguee Bot (http://www.linguee.com/bot; bot@linguee.com)
HTTP_HOST
HTTP_COOKIE
PHPSESSID=82v8sj7aasnbnudtpplb3mqdi6
HTTP_ACCEPT
*/*
HTTP_CONTENT_LENGTH
0
HTTP_CONNECTION
close
FCGI_ROLE
RESPONDER
PHP_SELF
/index.php/sbzs/show_52.html
REQUEST_TIME_FLOAT
1591511626.3781
REQUEST_TIME
1591511626
Environment Variables
empty

ThinkPHP Constants

APP_PATH
D:\wwwroot\wxomcom\wwwroot/application/
BIND_MODULE
index
THINK_VERSION
5.0.11
THINK_START_TIME
1591511626.3815
THINK_START_MEM
360920
EXT
.php
DS
\
THINK_PATH
D:\wwwroot\wxomcom\wwwroot\tp123\
LIB_PATH
D:\wwwroot\wxomcom\wwwroot\tp123\library\
CORE_PATH
D:\wwwroot\wxomcom\wwwroot\tp123\library\think\
TRAIT_PATH
D:\wwwroot\wxomcom\wwwroot\tp123\library\traits\
ROOT_PATH
D:\wwwroot\wxomcom\wwwroot\
EXTEND_PATH
D:\wwwroot\wxomcom\wwwroot\extend\
VENDOR_PATH
D:\wwwroot\wxomcom\wwwroot\vendor\
RUNTIME_PATH
D:\wwwroot\wxomcom\wwwroot\runtime\
LOG_PATH
D:\wwwroot\wxomcom\wwwroot\runtime\log\
CACHE_PATH
D:\wwwroot\wxomcom\wwwroot\runtime\cache\
TEMP_PATH
D:\wwwroot\wxomcom\wwwroot\runtime\temp\
CONF_PATH
D:\wwwroot\wxomcom\wwwroot/application/
CONF_EXT
.php
ENV_PREFIX
PHP_
IS_CLI
false
IS_WIN
true