[2] ErrorException in File.php line 35

file_put_contents(/www/wwwroot/www.vici.net.cn/runtime/temp/c8eeb9524afdbdeb30baf2e482c5e80d.php): failed to open stream: Operation not permitted

  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 35
  2. at Error::appError(2, 'file_put_contents(/w...', '/www/wwwroot/www.vic...', 35, ['cacheFile' => '/www/wwwroot/www.vic...', 'content' => '<?php /*a:3:{s:82:"/...', 'dir' => '/www/wwwroot/www.vic...'])
  3. at file_put_contents('/www/wwwroot/www.vic...', '<?php /*a:3:{s:82:"/...') in File.php line 35
  4. at File->write('/www/wwwroot/www.vic...', '<?php /*a:3:{s:82:"/...') in Template.php line 417
  5. at Template->compiler('<?php /*a:3:{s:82:"/...', '/www/wwwroot/www.vic...') in Template.php line 225
  6. at Template->fetch('/www/wwwroot/www.vic...', ['config' => ['id' => 1, 'name' => '...', 'title' => '...', ...], 'footnews' => [['id' => 71, 'tid' => 1, 'title' => '品牌精选', ...], ['id' => 72, 'tid' => 1, 'title' => '名人活动', ...], ['id' => 73, 'tid' => 1, 'title' => '设计者说', ...], ...], 'footproduct' => [['id' => 24, 'title' => 'ED5系列', 'en_title' => '', ...], ['id' => 23, 'title' => 'CO5系列', 'en_title' => '', ...], ['id' => 22, 'title' => 'RA4系列', 'en_title' => '', ...], ...], ...], []) in Think.php line 87
  7. at Think->fetch('/www/wwwroot/www.vic...', ['config' => ['id' => 1, 'name' => '...', 'title' => '...', ...], 'footnews' => [['id' => 71, 'tid' => 1, 'title' => '品牌精选', ...], ['id' => 72, 'tid' => 1, 'title' => '名人活动', ...], ['id' => 73, 'tid' => 1, 'title' => '设计者说', ...], ...], 'footproduct' => [['id' => 24, 'title' => 'ED5系列', 'en_title' => '', ...], ['id' => 23, 'title' => 'CO5系列', 'en_title' => '', ...], ['id' => 22, 'title' => 'RA4系列', 'en_title' => '', ...], ...], ...], []) in View.php line 175
  8. at View->fetch('', ['config' => ['id' => 1, 'name' => '...', 'title' => '...', ...], 'footnews' => [['id' => 71, 'tid' => 1, 'title' => '品牌精选', ...], ['id' => 72, 'tid' => 1, 'title' => '名人活动', ...], ['id' => 73, 'tid' => 1, 'title' => '设计者说', ...], ...], 'footproduct' => [['id' => 24, 'title' => 'ED5系列', 'en_title' => '', ...], ['id' => 23, 'title' => 'CO5系列', 'en_title' => '', ...], ['id' => 22, 'title' => 'RA4系列', 'en_title' => '', ...], ...], ...], []) in Controller.php line 123
  9. at Controller->fetch() in English.php line 62
  10. at English->en_product_detail()
  11. at ReflectionMethod->invokeArgs(object(English), []) in Container.php line 214
  12. at Container->invokeMethod([object(English), 'en_product_detail'], ['id' => '20']) in Module.php line 124
  13. at Module->run() in App.php line 362
  14. at App->run() in index.php line 19

Environment Variables

GET Data
id 20
POST Dataempty
Filesempty
Cookiesempty
Sessionempty
Server/Request Data
USER www
HOME /home/www
HTTP_HOST www.vici.net.cn
HTTP_USER_AGENT claudebot
HTTP_ACCEPT */*
PATH_INFO /en_product_detail.html
REDIRECT_STATUS 200
SERVER_NAME www.vici.net.cn
SERVER_PORT 80
SERVER_ADDR 172.24.245.164
REMOTE_PORT 50582
REMOTE_ADDR 44.200.196.114
SERVER_SOFTWARE nginx/1.22.1
GATEWAY_INTERFACE CGI/1.1
REQUEST_SCHEME http
SERVER_PROTOCOL HTTP/1.1
DOCUMENT_ROOT /www/wwwroot/www.vici.net.cn/public
DOCUMENT_URI /index.php
REQUEST_URI /en_product_detail.html?id=20
SCRIPT_NAME /index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD GET
QUERY_STRING s=/en_product_detail.html&id=20
SCRIPT_FILENAME /www/wwwroot/www.vici.net.cn/public/index.php
FCGI_ROLE RESPONDER
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1711626129.6211
REQUEST_TIME 1711626129
Environment Variablesempty
ThinkPHP Constantsempty