[2] ErrorException in File.php line 188

file_put_contents(/www/wwwroot/zhongte82691.cn/runtime/cache/4b/34b77fcc825c62ced0a505aa4a28a3.php): failed to open stream: Permission denied

  1. $data = $this->serialize($value);
  2. if ($this->options['data_compress'] && function_exists('gzcompress')) {
  3. //數據壓縮
  4. $data = gzcompress($data, 3);
  5. }
  6. $data = "<?php\n//" . sprintf('%012d', $expire) . "\n exit();?>\n" . $data;
  7. $result = file_put_contents($filename, $data);
  8. if ($result) {
  9. isset($first) && $this->setTagItem($filename);
  10. clearstatcache();
  11. return true;
  12. } else {
  13. return false;
  14. }
  15. }

Call Stack

  1. in File.php line 188
  2. at Error::appError(2, 'file_put_contents(/w...', '/www/wwwroot/szydgl....', 188, ['name' => 'sys_config', 'value' => ['sys' => ['config_group' => ['base' => '基礎', 'sys' => '系統', 'upload' => '上傳', ...], 'app_debug' => '1', 'app_trace' => '0', ...], 'base' => ['site_domain' => 'ppq4.zhongte82691.cn', 'site_status' => '1', 'site_title' => '...', ...], 'upload' => ['upload_image_size' => '0', 'upload_image_ext' => 'jpg,png,gif,jpeg,ico', 'thumb_type' => '2', ...], ...], 'expire' => 0, ...])
  3. at file_put_contents('/www/wwwroot/szydgl....', '<?php //000000000000...') in File.php line 188
  4. at File->set('sys_config', ['sys' => ['config_group' => ['base' => '基礎', 'sys' => '系統', 'upload' => '上傳', ...], 'app_debug' => '1', 'app_trace' => '0', ...], 'base' => ['site_domain' => 'ppq4.zhongte82691.cn', 'site_status' => '1', 'site_title' => '...', ...], 'upload' => ['upload_image_size' => '0', 'upload_image_ext' => 'jpg,png,gif,jpeg,ico', 'thumb_type' => '2', ...], ...], null)
  5. at call_user_func_array([object(File), 'set'], ['sys_config', ['sys' => ['config_group' => ['base' => '基礎', 'sys' => '系統', 'upload' => '上傳', ...], 'app_debug' => '1', 'app_trace' => '0', ...], 'base' => ['site_domain' => 'ppq4.zhongte82691.cn', 'site_status' => '1', 'site_title' => '...', ...], 'upload' => ['upload_image_size' => '0', 'upload_image_ext' => 'jpg,png,gif,jpeg,ico', 'thumb_type' => '2', ...], ...], null]) in Cache.php line 130
  6. at Cache->__call('set', ['sys_config', ['sys' => ['config_group' => ['base' => '基礎', 'sys' => '系統', 'upload' => '上傳', ...], 'app_debug' => '1', 'app_trace' => '0', ...], 'base' => ['site_domain' => 'ppq4.zhongte82691.cn', 'site_status' => '1', 'site_title' => '...', ...], 'upload' => ['upload_image_size' => '0', 'upload_image_ext' => 'jpg,png,gif,jpeg,ico', 'thumb_type' => '2', ...], ...], null])
  7. at Cache->set('sys_config', ['sys' => ['config_group' => ['base' => '基礎', 'sys' => '系統', 'upload' => '上傳', ...], 'app_debug' => '1', 'app_trace' => '0', ...], 'base' => ['site_domain' => 'ppq4.zhongte82691.cn', 'site_status' => '1', 'site_title' => '...', ...], 'upload' => ['upload_image_size' => '0', 'upload_image_ext' => 'jpg,png,gif,jpeg,ico', 'thumb_type' => '2', ...], ...], null)
  8. at call_user_func_array([object(Cache), 'set'], ['sys_config', ['sys' => ['config_group' => ['base' => '基礎', 'sys' => '系統', 'upload' => '上傳', ...], 'app_debug' => '1', 'app_trace' => '0', ...], 'base' => ['site_domain' => 'ppq4.zhongte82691.cn', 'site_status' => '1', 'site_title' => '...', ...], 'upload' => ['upload_image_size' => '0', 'upload_image_ext' => 'jpg,png,gif,jpeg,ico', 'thumb_type' => '2', ...], ...], null]) in Facade.php line 123
  9. at Facade::__callStatic('set', ['sys_config', ['sys' => ['config_group' => ['base' => '基礎', 'sys' => '系統', 'upload' => '上傳', ...], 'app_debug' => '1', 'app_trace' => '0', ...], 'base' => ['site_domain' => 'ppq4.zhongte82691.cn', 'site_status' => '1', 'site_title' => '...', ...], 'upload' => ['upload_image_size' => '0', 'upload_image_ext' => 'jpg,png,gif,jpeg,ico', 'thumb_type' => '2', ...], ...], null]) in helper.php line 143
  10. at Cache::set('sys_config', ['sys' => ['config_group' => ['base' => '基礎', 'sys' => '系統', 'upload' => '上傳', ...], 'app_debug' => '1', 'app_trace' => '0', ...], 'base' => ['site_domain' => 'ppq4.zhongte82691.cn', 'site_status' => '1', 'site_title' => '...', ...], 'upload' => ['upload_image_size' => '0', 'upload_image_ext' => 'jpg,png,gif,jpeg,ico', 'thumb_type' => '2', ...], ...], null) in helper.php line 143
  11. at cache('sys_config', ['sys' => ['config_group' => ['base' => '基礎', 'sys' => '系統', 'upload' => '上傳', ...], 'app_debug' => '1', 'app_trace' => '0', ...], 'base' => ['site_domain' => 'ppq4.zhongte82691.cn', 'site_status' => '1', 'site_title' => '...', ...], 'upload' => ['upload_image_size' => '0', 'upload_image_ext' => 'jpg,png,gif,jpeg,ico', 'thumb_type' => '2', ...], ...]) in SystemConfig.php line 62
  12. at SystemConfig::getConfig() in Base.php line 42
  13. at Base->run()
  14. at ReflectionMethod->invokeArgs(object(Base), []) in Container.php line 373
  15. at Container->invokeMethod(['app\common\behavior\...', 'run'], [null]) in Container.php line 411
  16. at Container->invoke(['app\common\behavior\...', 'run'], [null]) in Hook.php line 208
  17. at Hook->execTag('app\common\behavior\...', 'module_init', null) in Hook.php line 149
  18. at Hook->listen('module_init') in Module.php line 88
  19. at Module->exec() in Dispatch.php line 168
  20. at Dispatch->run() in App.php line 432
  21. at App->think\{closure}(object(Request), object(Closure), null)
  22. at call_user_func_array(object(Closure), [object(Request), object(Closure), null]) in Middleware.php line 185
  23. at Middleware->think\{closure}(object(Request))
  24. at call_user_func(object(Closure), object(Request)) in Middleware.php line 130
  25. at Middleware->dispatch(object(Request)) in App.php line 435
  26. at App->run() in index.php line 34

Environment Variables

GET Dataempty
POST Dataempty
Filesempty
Cookiesempty
Sessionempty
Server/Request Data
USER www
HOME /home/www
FCGI_ROLE RESPONDER
SCRIPT_FILENAME /www/wwwroot/zhongte82691.cn/public/index.php
QUERY_STRING
REQUEST_METHOD GET
CONTENT_TYPE
CONTENT_LENGTH
SCRIPT_NAME /index.php
REQUEST_URI /
DOCUMENT_URI /index.php
DOCUMENT_ROOT /www/wwwroot/zhongte82691.cn/public
SERVER_PROTOCOL HTTP/1.1
REQUEST_SCHEME http
GATEWAY_INTERFACE CGI/1.1
SERVER_SOFTWARE nginx/1.14.0
REMOTE_ADDR 127.0.0.1
REMOTE_PORT 33954
SERVER_ADDR 127.0.0.1
SERVER_PORT 80
SERVER_NAME zhongte82691.cn
REDIRECT_STATUS 200
PATH_INFO
HTTP_HOST ppq4.zhongte82691.cn
HTTP_X_REAL_IP 156.238.58.42
HTTP_X_FORWARDED_FOR 66.210.232.222, 156.238.58.42
HTTP_USER_AGENT Mozilla/5.0 (compatible; Baiduspider/2.0; +http://www.baidu.com/search/spider.html)
HTTP_ACCEPT */*
HTTP_ACCEPT_ENCODING gzip,deflate
HTTP_REFERER http://ppq4.zhongte82691.cn/
HTTP_CLIENT_IP 62.254.101.239
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1569615050.7324
REQUEST_TIME 1569615050
Environment Variablesempty
ThinkPHP Constants
APP_PATH /www/wwwroot/zhongte82691.cn/public/application/
ROOT_PATH /www/wwwroot/zhongte82691.cn/
IN_SYSTEM true