365亚洲体育网入口官网

[2] ErrorException in File.php line 33

mkdir(): File exists

  1. * @param string $content 缓存的内容
  2. * @return void|array
  3. */
  4. public function write($cacheFile, $content)
  5. {
  6. // 检测模板目录
  7. $dir = dirname($cacheFile);
  8. if (!is_dir($dir)) {
  9. mkdir($dir, 0755, true);
  10. }
  11. // 生成模板缓存文件
  12. if (false === file_put_contents($cacheFile, $content)) {
  13. throw new Exception('cache write error:' . $cacheFile, 11602);
  14. }
  15. }
  16. /**

Call Stack

  1. in File.php line 33
  2. at Error::appError()
  3. at mkdir() in File.php line 33
  4. at File->write() in Template.php line 399
  5. at Template->compiler() in Template.php line 218
  6. at Template->fetch() in Think.php line 93
  7. at Think->fetch() in View.php line 192
  8. at View->fetch() in View.php line 42
  9. at View->output() in Response.php line 396
  10. at Response->getContent() in Response.php line 128
  11. at Response->send() in index.php line 12

Environment Variables

GET Dataempty
POST Dataempty
Filesempty
Cookiesempty
Sessionempty
Server/Request Data
USER www
HOME /home/www
HTTP_ACCEPT_ENCODING gzip
HTTP_ACCEPT */*
HTTP_HOST www.xjmhjt.com
HTTP_USER_AGENT Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)
PATH_INFO
REDIRECT_STATUS 200
SERVER_NAME xinjiangone.hjyhy.com
SERVER_PORT 80
SERVER_ADDR 172.21.51.255
REMOTE_PORT 39958
REMOTE_ADDR 23.90.23.210
SERVER_SOFTWARE nginx/1.24.0
GATEWAY_INTERFACE CGI/1.1
REQUEST_SCHEME http
SERVER_PROTOCOL HTTP/1.1
DOCUMENT_ROOT /www/wwwroot/xinjiang/first
DOCUMENT_URI /index.php
REQUEST_URI /newpage/id/117.html
SCRIPT_NAME /index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD GET
QUERY_STRING s=/newpage/id/117.html
SCRIPT_FILENAME /www/wwwroot/xinjiang/first/index.php
FCGI_ROLE RESPONDER
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1781652838.2366
REQUEST_TIME 1781652838
Environment Variablesempty
ThinkPHP Constants
APP_PATH /www/wwwroot/xinjiang/first/application/