string(26) "html_7kzhanqun_new_81.html"

[2] ErrorException in File.php line 37

file_put_contents(html_7kzhanqun_new_81.html): failed to open stream: Permission denied

  1. {
  2. // 检测模板目录
  3. $dir = dirname($cacheFile);
  4. if (!is_dir($dir)) {
  5. mkdir($dir, 0755, true);
  6. }
  7. // 生成模板缓存文件
  8. if (false === file_put_contents($cacheFile, $content)) {
  9. throw new Exception('cache write error:' . $cacheFile, 11602);
  10. }
  11. }
  12. /**
  13. * 读取编译编译
  14. * @access public
  15. * @param string $cacheFile 缓存的文件名
  16. * @param array $vars 变量数组

Call Stack

  1. in File.php line 37
  2. at Error::appError(2, 'file_put_contents(ht...', '/mnt/7kzhanqun/vendo...', 37, ['cacheFile' => 'html_7kzhanqun_new_8...', 'content' => ' <!doctype html> <h...', 'dir' => '.'])
  3. at file_put_contents('html_7kzhanqun_new_8...', ' <!doctype html> <h...') in File.php line 37
  4. at File->write('html_7kzhanqun_new_8...', ' <!doctype html> <h...') in HomeBaseController.php line 389
  5. at HomeBaseController->buildHtml('index', '', ':index') in IndexController.php line 32
  6. at IndexController->index()
  7. at ReflectionMethod->invokeArgs(object(IndexController), []) in Container.php line 395
  8. at Container->invokeReflectMethod(object(IndexController), object(ReflectionMethod), ['build' => '2', 'site_id' => '81']) in Module.php line 131
  9. at Module->think\route\dispatch\{closure}(object(Request), object(Closure), null)
  10. at call_user_func_array(object(Closure), [object(Request), object(Closure), null]) in Middleware.php line 185
  11. at Middleware->think\{closure}(object(Request))
  12. at call_user_func(object(Closure), object(Request)) in Middleware.php line 130
  13. at Middleware->dispatch(object(Request), 'controller') in Module.php line 136
  14. at Module->exec() in Dispatch.php line 168
  15. at Dispatch->run() in App.php line 488
  16. at App->think\{closure}(object(Request), object(Closure), null)
  17. at call_user_func_array(object(Closure), [object(Request), object(Closure), null]) in Middleware.php line 185
  18. at Middleware->think\{closure}(object(Request))
  19. at call_user_func(object(Closure), object(Request)) in Middleware.php line 130
  20. at Middleware->dispatch(object(Request)) in App.php line 491
  21. at App->run() in index.php line 35

Environment Variables

GET Data
build 2
site_id 81
POST Dataempty
Filesempty
Cookiesempty
Sessionempty
Server/Request Data
USER www
HOME /home/www
HTTP_ACCEPT */*
HTTP_HOST new.newnew.ceshi9.cn
PATH_INFO
REDIRECT_STATUS 200
SERVER_NAME new.newnew.ceshi9.cn
SERVER_PORT 80
SERVER_ADDR 172.21.25.23
REMOTE_PORT 58096
REMOTE_ADDR 47.238.224.208
SERVER_SOFTWARE nginx/1.22.1
GATEWAY_INTERFACE CGI/1.1
REQUEST_SCHEME http
SERVER_PROTOCOL HTTP/1.1
DOCUMENT_ROOT /mnt/7kzhanqun_new/public
DOCUMENT_URI /index.php
REQUEST_URI /index.php?build=2&site_id=81
SCRIPT_NAME /index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD GET
QUERY_STRING build=2&site_id=81
SCRIPT_FILENAME /mnt/7kzhanqun_new/public/index.php
FCGI_ROLE RESPONDER
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1773771260.0004
REQUEST_TIME 1773771260
Environment Variablesempty
ThinkPHP Constants
APP_DEBUG false
CMF_ROOT /mnt/7kzhanqun/
CMF_DATA /mnt/7kzhanqun/data/
APP_PATH /mnt/7kzhanqun/app/
WEB_ROOT /mnt/7kzhanqun/public/
LARAVEL_START 1773771260.0004
HTMLPURIFIER_PREFIX /mnt/7kzhanqun/vendor/ezyang/htmlpurifier/library
FILTER_VALIDATE_BOOL 258
PINYIN_DEFAULT 4096
PINYIN_TONE 2
PINYIN_NO_TONE 4
PINYIN_ASCII_TONE 8
PINYIN_NAME 16
PINYIN_KEEP_NUMBER 32
PINYIN_KEEP_ENGLISH 64
PINYIN_UMLAUT_V 128
PINYIN_KEEP_PUNCTUATION 256
0.298679s