string(39999) "


    
    System Error
    
    
    


    


[2] ErrorException in /home/wwwroot/kst.tpsns.com/thinkphp/library/think/cache/driver/File.php line 159 请求方式GET 请求地址 /

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

  1. if ($this->tag && !is_file($filename)) {
  2. $first = true;
  3. }
  4. $data = json_encode($value);
  5. if ($this->options['data_compress'] && function_exists('gzcompress')) {
  6. //数据压缩
  7. $data = gzcompress($data, 3);
  8. }
  9. $data = "<?php\n//" . sprintf('%012d', $expire) . "\n exit();?>\n" . $data;
  10. $result = file_put_contents($filename, $data);
  11. if ($result) {
  12. isset($first) && $this->setTagItem($filename);
  13. clearstatcache();
  14. return true;
  15. } else {
  16. return false;
  17. }
  18. }

Call Stack

  1. in /home/wwwroot/kst.tpsns.com/thinkphp/library/think/cache/driver/File.php line 159 请求方式GET 请求地址 /
  2. at Error::appError(2, 'file_put_contents():...', '/home/wwwroot/kst.tp...', 159, ['name' => '65aae800037550184d33...', 'value' => [], 'expire' => 0, ...])
  3. at file_put_contents('/home/wwwroot/kst.tp...', '<?php //000000000000...') in /home/wwwroot/kst.tpsns.com/thinkphp/library/think/cache/driver/File.php line 159 请求方式GET 请求地址 /
  4. at File->set('65aae800037550184d33...', [], 0) in /home/wwwroot/kst.tpsns.com/thinkphp/library/think/Cache.php line 148 请求方式GET 请求地址 /
  5. at Cache::set('65aae800037550184d33...', [], null) in /home/wwwroot/kst.tpsns.com/thinkphp/library/think/db/Query.php line 2409 请求方式GET 请求地址 /
  6. at Query->cacheData('65aae800037550184d33...', [], ['key' => true, 'expire' => null, 'tag' => null]) in /home/wwwroot/kst.tpsns.com/thinkphp/library/think/db/Query.php line 2354 请求方式GET 请求地址 /
  7. at Query->select() in /home/wwwroot/kst.tpsns.com/application/home/controller/Index.php line 135 请求方式GET 请求地址 /
  8. at Index->index()
  9. at ReflectionMethod->invokeArgs(object(Index), []) in /home/wwwroot/kst.tpsns.com/thinkphp/library/think/App.php line 346 请求方式GET 请求地址 /
  10. at App::invokeMethod([object(Index), 'index'], []) in /home/wwwroot/kst.tpsns.com/thinkphp/library/think/App.php line 612 请求方式GET 请求地址 /
  11. at App::module(['', null, null], ['app_host' => '', 'app_debug' => true, 'app_trace' => true, ...], false) in /home/wwwroot/kst.tpsns.com/thinkphp/library/think/App.php line 459 请求方式GET 请求地址 /
  12. at App::exec(['type' => 'module', 'module' => ['', null, null]], ['app_host' => '', 'app_debug' => true, 'app_trace' => true, ...]) in /home/wwwroot/kst.tpsns.com/thinkphp/library/think/App.php line 142 请求方式GET 请求地址 /
  13. at App::run() in /home/wwwroot/kst.tpsns.com/thinkphp/start.php line 19 请求方式GET 请求地址 /
  14. at require('/home/wwwroot/kst.tp...') in /home/wwwroot/kst.tpsns.com/index.php line 77 请求方式GET 请求地址 /

Environment Variables

GET Data
empty
POST Data
empty
Files
empty
Cookies
empty
Session
empty

Server/Request Data

USER
www
HOME
/home/www
HTTP_ACCEPT_ENCODING
gzip, br, zstd, deflate
HTTP_USER_AGENT
Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
HTTP_ACCEPT
*/*
HTTP_HOST
kastgc.cn
PATH_INFO
REDIRECT_STATUS
200
SERVER_NAME
kastgc.cn
SERVER_PORT
443
SERVER_ADDR
172.28.241.65
REMOTE_PORT
18561
REMOTE_ADDR
216.73.217.43
SERVER_SOFTWARE
nginx/1.20.1
GATEWAY_INTERFACE
CGI/1.1
HTTPS
on
REQUEST_SCHEME
https
SERVER_PROTOCOL
HTTP/2.0
DOCUMENT_ROOT
/home/wwwroot/kst.tpsns.com
DOCUMENT_URI
/index.php
REQUEST_URI
/
SCRIPT_NAME
/index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD
GET
QUERY_STRING
SCRIPT_FILENAME
/home/wwwroot/kst.tpsns.com/index.php
FCGI_ROLE
RESPONDER
PHP_SELF
REQUEST_TIME_FLOAT
1777545561.3911
REQUEST_TIME
1777545561
Environment Variables
empty

ThinkPHP Constants

IS_SAAS
0
SAAS_BASE_USER
0
PLUGIN_PATH
/home/wwwroot/kst.tpsns.com/plugins/
UPLOAD_PATH
public/upload/
TPSHOP_CACHE_TIME
31104000
SITE_URL
https://kastgc.cn
HTTP
https
INSTALL_DATE
1463741583
SERIALNUMBER
20160520065303oCWIoa
APP_PATH
/home/wwwroot/kst.tpsns.com/application/
NOW_TIME
1777545561
THINK_VERSION
5.0.15
THINK_START_TIME
1777545561.3917
THINK_START_MEM
418472
EXT
.php
DS
/
THINK_PATH
/home/wwwroot/kst.tpsns.com/thinkphp/
LIB_PATH
/home/wwwroot/kst.tpsns.com/thinkphp/library/
CORE_PATH
/home/wwwroot/kst.tpsns.com/thinkphp/library/think/
TRAIT_PATH
/home/wwwroot/kst.tpsns.com/thinkphp/library/traits/
ROOT_PATH
/home/wwwroot/kst.tpsns.com/
EXTEND_PATH
/home/wwwroot/kst.tpsns.com/extend/
VENDOR_PATH
/home/wwwroot/kst.tpsns.com/vendor/
RUNTIME_PATH
/home/wwwroot/kst.tpsns.com/runtime/
LOG_PATH
/home/wwwroot/kst.tpsns.com/runtime/log/
CACHE_PATH
/home/wwwroot/kst.tpsns.com/runtime/cache/
TEMP_PATH
/home/wwwroot/kst.tpsns.com/runtime/temp/
CONF_PATH
/home/wwwroot/kst.tpsns.com/application/
CONF_EXT
.php
ENV_PREFIX
PHP_
IS_CLI
false
IS_WIN
false
IS_AJAX
false
IS_GET
true
IS_POST
false
MODULE_NAME
home
CONTROLLER_NAME
Index
ACTION_NAME
index
PREFIX
tp_
SESSION_ID
"
string(35487) "


    
    System Error
    
    
    


    

Uncaught think\exception\ErrorException: file_put_contents(): Only 0 of 39999 bytes written, possibly out of free disk space in /home/wwwroot/kst.tpsns.com/thinkphp/library/think/exception/Handle.php:190
Stack trace:
#0 [internal function]: think\Error::appError(2, 'file_put_conten...', '/home/wwwroot/k...', 190, Array)
#1 /home/wwwroot/kst.tpsns.com/thinkphp/library/think/exception/Handle.php(190): file_put_contents('error.html', '<!DOCTYPE html>...')
#2 /home/wwwroot/kst.tpsns.com/thinkphp/library/think/exception/Handle.php(96): think\exception\Handle->convertExceptionToResponse(Object(think\exception\ErrorException))
#3 /home/wwwroot/kst.tpsns.com/thinkphp/library/think/Error.php(53): think\exception\Handle->render(Object(think\exception\ErrorException))
#4 [internal function]: think\Error::appException(Object(think\exception\ErrorException))
#5 {main}
thrown

  1. else
  2. include Config::get('error_tmpl');
  3. // 获取并清空缓存
  4. $content = ob_get_clean();
  5. $response = new Response($content, 'html');
  6. echo '<pre>';
  7. var_dump($content);
  8. // 将错误保存,访问方式 http://www.xxx.com/error.html
  9. file_put_contents('error.html',$content);
  10. if ($exception instanceof HttpException) {
  11. $statusCode = $exception->getStatusCode();
  12. $response->header($exception->getHeaders());
  13. }
  14. if (!isset($statusCode)) {
  15. $statusCode = 500;
  16. }
  17. $response->code($statusCode);

Environment Variables

GET Data
empty
POST Data
empty
Files
empty
Cookies
empty
Session
empty

Server/Request Data

USER
www
HOME
/home/www
HTTP_ACCEPT_ENCODING
gzip, br, zstd, deflate
HTTP_USER_AGENT
Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
HTTP_ACCEPT
*/*
HTTP_HOST
kastgc.cn
PATH_INFO
REDIRECT_STATUS
200
SERVER_NAME
kastgc.cn
SERVER_PORT
443
SERVER_ADDR
172.28.241.65
REMOTE_PORT
18561
REMOTE_ADDR
216.73.217.43
SERVER_SOFTWARE
nginx/1.20.1
GATEWAY_INTERFACE
CGI/1.1
HTTPS
on
REQUEST_SCHEME
https
SERVER_PROTOCOL
HTTP/2.0
DOCUMENT_ROOT
/home/wwwroot/kst.tpsns.com
DOCUMENT_URI
/index.php
REQUEST_URI
/
SCRIPT_NAME
/index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD
GET
QUERY_STRING
SCRIPT_FILENAME
/home/wwwroot/kst.tpsns.com/index.php
FCGI_ROLE
RESPONDER
PHP_SELF
REQUEST_TIME_FLOAT
1777545561.3911
REQUEST_TIME
1777545561
Environment Variables
empty

ThinkPHP Constants

IS_SAAS
0
SAAS_BASE_USER
0
PLUGIN_PATH
/home/wwwroot/kst.tpsns.com/plugins/
UPLOAD_PATH
public/upload/
TPSHOP_CACHE_TIME
31104000
SITE_URL
https://kastgc.cn
HTTP
https
INSTALL_DATE
1463741583
SERIALNUMBER
20160520065303oCWIoa
APP_PATH
/home/wwwroot/kst.tpsns.com/application/
NOW_TIME
1777545561
THINK_VERSION
5.0.15
THINK_START_TIME
1777545561.3917
THINK_START_MEM
418472
EXT
.php
DS
/
THINK_PATH
/home/wwwroot/kst.tpsns.com/thinkphp/
LIB_PATH
/home/wwwroot/kst.tpsns.com/thinkphp/library/
CORE_PATH
/home/wwwroot/kst.tpsns.com/thinkphp/library/think/
TRAIT_PATH
/home/wwwroot/kst.tpsns.com/thinkphp/library/traits/
ROOT_PATH
/home/wwwroot/kst.tpsns.com/
EXTEND_PATH
/home/wwwroot/kst.tpsns.com/extend/
VENDOR_PATH
/home/wwwroot/kst.tpsns.com/vendor/
RUNTIME_PATH
/home/wwwroot/kst.tpsns.com/runtime/
LOG_PATH
/home/wwwroot/kst.tpsns.com/runtime/log/
CACHE_PATH
/home/wwwroot/kst.tpsns.com/runtime/cache/
TEMP_PATH
/home/wwwroot/kst.tpsns.com/runtime/temp/
CONF_PATH
/home/wwwroot/kst.tpsns.com/application/
CONF_EXT
.php
ENV_PREFIX
PHP_
IS_CLI
false
IS_WIN
false
IS_AJAX
false
IS_GET
true
IS_POST
false
MODULE_NAME
home
CONTROLLER_NAME
Index
ACTION_NAME
index
PREFIX
tp_
SESSION_ID
"