[2] ErrorException in File.php line 35

file_put_contents(/www/wwwroot/www.vici.net.cn/runtime/temp/4cc221f028eec77e68114e5c04bb9751.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:68:"/...', 'dir' => '/www/wwwroot/www.vic...'])
  3. at file_put_contents('/www/wwwroot/www.vic...', '<?php /*a:3:{s:68:"/...') in File.php line 35
  4. at File->write('/www/wwwroot/www.vic...', '<?php /*a:3:{s:68:"/...') in Template.php line 417
  5. at Template->compiler('<?php /*a:3:{s:68:"/...', '/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 Index.php line 181
  10. at Index->store()
  11. at ReflectionMethod->invokeArgs(object(Index), []) in Container.php line 214
  12. at Container->invokeMethod([object(Index), 'store'], ['addr' => '...']) 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
addr 青岛市同德路8号居然之家一层
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 /store.html
REDIRECT_STATUS 200
SERVER_NAME www.vici.net.cn
SERVER_PORT 80
SERVER_ADDR 172.24.245.164
REMOTE_PORT 48394
REMOTE_ADDR 35.175.172.94
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 /store.html?addr=%E9%9D%92%E5%B2%9B%E5%B8%82%E5%90%8C%E5%BE%B7%E8%B7%AF8%E5%8F%B7%E5%B1%85%E7%84%B6%E4%B9%8B%E5%AE%B6%E4%B8%80%E5%B1%82
SCRIPT_NAME /index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD GET
QUERY_STRING s=/store.html&addr=%E9%9D%92%E5%B2%9B%E5%B8%82%E5%90%8C%E5%BE%B7%E8%B7%AF8%E5%8F%B7%E5%B1%85%E7%84%B6%E4%B9%8B%E5%AE%B6%E4%B8%80%E5%B1%82
SCRIPT_FILENAME /www/wwwroot/www.vici.net.cn/public/index.php
FCGI_ROLE RESPONDER
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1711620875.5237
REQUEST_TIME 1711620875
Environment Variablesempty
ThinkPHP Constantsempty