[2] ErrorException in File.php line 34

file_put_contents(): Only 0 of 7986 bytes written, possibly out of free disk space

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

Call Stack

  1. in File.php line 34
  2. at Error::appError(2, 'file_put_contents():...', 'D:\phpstudy_pro\WWW\...', 34, ['cacheFile' => 'D:\phpstudy_pro\WWW\...', 'content' => '<?php if (!defined('...', 'dir' => 'D:\phpstudy_pro\WWW\...'])
  3. at file_put_contents('D:\phpstudy_pro\WWW\...', '<?php if (!defined('...') in File.php line 34
  4. at File->write('D:\phpstudy_pro\WWW\...', '<?php if (!defined('...') in Template.php line 348
  5. at Template->compiler('<?php if (!defined('...', 'D:\phpstudy_pro\WWW\...') in Template.php line 182
  6. at Template->fetch('themes/simpleboot3/p...', ['site_info' => ['site_name' => '...', 'site_seo_title' => '...', 'site_seo_keywords' => '...', ...], 'theme_vars' => ['top_slide' => '', 'enable_mobile' => 1, 'company_name' => 'ThinkCMF'], 'theme_widgets' => ['features' => ['title' => '快速了解ThinkCMF', 'display' => '1', 'vars' => ['sub_title' => 'Quickly understand t...', 'features' => [['title' => 'MVC分层模式', 'icon' => 'bars', 'content' => '...'], ['title' => '用户管理', 'icon' => 'group', 'content' => 'ThinkCMF内置了灵...'], ['title' => '云端部署', 'icon' => 'cloud', 'content' => '...'], ...]]], 'last_news' => ['title' => '最新资讯', 'display' => '1', 'vars' => ['last_news_category_id' => '']]]], []) in Think.php line 86
  7. at Think->fetch('themes/simpleboot3/p...', ['site_info' => ['site_name' => '...', 'site_seo_title' => '...', 'site_seo_keywords' => '...', ...], 'theme_vars' => ['top_slide' => '', 'enable_mobile' => 1, 'company_name' => 'ThinkCMF'], 'theme_widgets' => ['features' => ['title' => '快速了解ThinkCMF', 'display' => '1', 'vars' => ['sub_title' => 'Quickly understand t...', 'features' => [['title' => 'MVC分层模式', 'icon' => 'bars', 'content' => '...'], ['title' => '用户管理', 'icon' => 'group', 'content' => 'ThinkCMF内置了灵...'], ['title' => '云端部署', 'icon' => 'cloud', 'content' => '...'], ...]]], 'last_news' => ['title' => '最新资讯', 'display' => '1', 'vars' => ['last_news_category_id' => '']]]], []) in View.php line 163
  8. at View->fetch('themes/simpleboot3/p...', ['site_info' => ['site_name' => '...', 'site_seo_title' => '...', 'site_seo_keywords' => '...', ...], 'theme_vars' => ['top_slide' => '', 'enable_mobile' => 1, 'company_name' => 'ThinkCMF'], 'theme_widgets' => ['features' => ['title' => '快速了解ThinkCMF', 'display' => '1', 'vars' => ['sub_title' => 'Quickly understand t...', 'features' => [['title' => 'MVC分层模式', 'icon' => 'bars', 'content' => '...'], ['title' => '用户管理', 'icon' => 'group', 'content' => 'ThinkCMF内置了灵...'], ['title' => '云端部署', 'icon' => 'cloud', 'content' => '...'], ...]]], 'last_news' => ['title' => '最新资讯', 'display' => '1', 'vars' => ['last_news_category_id' => '']]]], ['__ROOT__' => '', '__URL__' => '/portal/index', '__STATIC__' => '/static', ...], []) in Controller.php line 120
  9. at Controller->fetch('themes/simpleboot3/p...', [], [], []) in HomeBaseController.php line 88
  10. at HomeBaseController->fetch('themes/simpleboot3/p...') in IndexController.php line 21
  11. at IndexController->index()
  12. at ReflectionMethod->invokeArgs(object(IndexController), []) in App.php line 355
  13. at App::invokeMethod([object(IndexController), 'index'], []) in App.php line 621
  14. at App::module(['', null, null], ['app_host' => '', 'app_debug' => true, 'app_trace' => true, ...], true) in App.php line 468
  15. at App::exec(['type' => 'module', 'module' => ['', null, null]], ['app_host' => '', 'app_debug' => true, 'app_trace' => true, ...]) in App.php line 151
  16. at App::run() in index.php line 46

Environment Variables

GET Data

p
35013
POST Data
empty
Files
empty
Cookies
empty
Session
empty

Server/Request Data

PATH
C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\dotnet\;C:\Program Files\Microsoft SQL Server\130\Tools\Binn\;C:\Program Files\Microsoft SQL Server\Client SDK\ODBC\170\Tools\Binn\;C:\Program Files\mysql\mysql-5.7.22-winx64\bin;C:\Program Files\Java\jdk1.8.0_201\bin;C:\apache-tomcat-9.0.31\bin;;C:\Users\Administrator\AppData\Local\Programs\Microsoft VS Code\bin;D:\redis\redis;
SYSTEMROOT
C:\Windows
COMSPEC
C:\Windows\system32\cmd.exe
PATHEXT
.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
WINDIR
C:\Windows
PHPRC
D:/phpstudy_pro/Extensions/php/php7.3.4nts
_FCGI_SHUTDOWN_EVENT_
9820
HTTP_CONNECTION
close
SCRIPT_NAME
/index.php
REQUEST_URI
/?p=35013
QUERY_STRING
p=35013
REQUEST_METHOD
GET
SERVER_PROTOCOL
HTTP/1.1
GATEWAY_INTERFACE
CGI/1.1
REMOTE_PORT
58760
SCRIPT_FILENAME
D:/phpstudy_pro/WWW/ZongjueWeb/public/index.php
SERVER_ADMIN
admin@example.com
CONTEXT_DOCUMENT_ROOT
D:/phpstudy_pro/WWW/ZongjueWeb/public
CONTEXT_PREFIX
REQUEST_SCHEME
http
DOCUMENT_ROOT
D:/phpstudy_pro/WWW/ZongjueWeb/public
REMOTE_ADDR
54.226.222.183
SERVER_PORT
80
SERVER_ADDR
172.17.222.178
SERVER_NAME
www.dmeduc.com
SERVER_SOFTWARE
Apache/2.4.39 (Win64) OpenSSL/1.1.1b mod_fcgid/2.3.9a mod_log_rotate/1.02
SERVER_SIGNATURE
SystemRoot
C:\Windows
HTTP_HOST
www.dmeduc.com
HTTP_USER_AGENT
claudebot
HTTP_ACCEPT
*/*
FCGI_ROLE
RESPONDER
PHP_SELF
/index.php
REQUEST_TIME_FLOAT
1710847306.621
REQUEST_TIME
1710847306
Environment Variables
empty

ThinkPHP Constants

APP_DEBUG
true
CMF_ROOT
D:\phpstudy_pro\WWW\ZongjueWeb\public/../
APP_PATH
D:\phpstudy_pro\WWW\ZongjueWeb\public/../app/
DIR_LOG
D:/ZongjueWeb/ilab/log
APP_NAME
ilab
ILAB_SERVER_HOST
http://www.ilab-x.com/project/log/upload
ILAB_FILE_HOST
http://www.ilab-x.com/project/log/attachment/upload
CMF_PATH
D:\phpstudy_pro\WWW\ZongjueWeb\public/../simplewind/cmf/
PLUGINS_PATH
D:\phpstudy_pro\WWW\ZongjueWeb\public/plugins/
EXTEND_PATH
D:\phpstudy_pro\WWW\ZongjueWeb\public/../simplewind/extend/
VENDOR_PATH
D:\phpstudy_pro\WWW\ZongjueWeb\public/../simplewind/vendor/
RUNTIME_PATH
D:\phpstudy_pro\WWW\ZongjueWeb\public/../data/runtime/
THINKCMF_VERSION
5.0.180626
THINK_VERSION
5.0.20
THINK_START_TIME
1710847306.622
THINK_START_MEM
412752
EXT
.php
DS
\
THINK_PATH
D:\phpstudy_pro\WWW\ZongjueWeb\simplewind\thinkphp\
LIB_PATH
D:\phpstudy_pro\WWW\ZongjueWeb\simplewind\thinkphp\library\
CORE_PATH
D:\phpstudy_pro\WWW\ZongjueWeb\simplewind\thinkphp\library\think\
TRAIT_PATH
D:\phpstudy_pro\WWW\ZongjueWeb\simplewind\thinkphp\library\traits\
ROOT_PATH
D:\phpstudy_pro\WWW\ZongjueWeb\
LOG_PATH
D:\phpstudy_pro\WWW\ZongjueWeb\public/../data/runtime/log\
CACHE_PATH
D:\phpstudy_pro\WWW\ZongjueWeb\public/../data/runtime/cache\
TEMP_PATH
D:\phpstudy_pro\WWW\ZongjueWeb\public/../data/runtime/temp\
CONF_PATH
D:\phpstudy_pro\WWW\ZongjueWeb\public/../app/
CONF_EXT
.php
ENV_PREFIX
PHP_
IS_CLI
false
IS_WIN
true
HTMLPURIFIER_PREFIX
D:\phpstudy_pro\WWW\ZongjueWeb\simplewind\vendor\ezyang\htmlpurifier\library
QINIU_FUNCTIONS_VERSION
7.2.5
0.134313s