string(43860) "


    
    System Error
    
    
    


    

  1. $name = substr($name, 0, 2) . DS . substr($name, 2);
  2. }
  3. if ($this->options['prefix']) {
  4. $name = $this->options['prefix'] . DS . $name;
  5. }
  6. $filename = $this->options['path'] . $name . '.php';
  7. $dir = dirname($filename);
  8. if ($auto && !is_dir($dir)) {
  9. mkdir($dir, 0755, true);
  10. }
  11. return $filename;
  12. }
  13. /**
  14. * 判断缓存是否存在
  15. * @access public
  16. * @param string $name 缓存变量名
  17. * @return bool

Call Stack

  1. in /home/wwwroot/kst.tpsns.com/thinkphp/library/think/cache/driver/File.php line 84 请求方式GET 请求地址 /Home/Goods/goodsList/id/111/stock/1
  2. at Error::appError(2, 'mkdir(): No space le...', '/home/wwwroot/kst.tp...', 84, ['name' => 'tpshop_cache_prefix/...', 'auto' => true, 'filename' => '/home/wwwroot/kst.tp...', ...])
  3. at mkdir('/home/wwwroot/kst.tp...', 493, true) in /home/wwwroot/kst.tpsns.com/thinkphp/library/think/cache/driver/File.php line 84 请求方式GET 请求地址 /Home/Goods/goodsList/id/111/stock/1
  4. at File->getCacheKey('tpshop_cache_prefix/...', true) in /home/wwwroot/kst.tpsns.com/thinkphp/library/think/cache/driver/File.php line 149 请求方式GET 请求地址 /Home/Goods/goodsList/id/111/stock/1
  5. at File->set('f6f78779e15c7e5ae0b4...', [['id' => 1, 'name' => 'express_switch', 'value' => '0', ...], ['id' => 2, 'name' => 'kd100_key', 'value' => 'VHLwQnlO9948', ...], ['id' => 3, 'name' => 'kdniao_id', 'value' => '1649559', ...], ...], 0) in /home/wwwroot/kst.tpsns.com/thinkphp/library/think/Cache.php line 148 请求方式GET 请求地址 /Home/Goods/goodsList/id/111/stock/1
  6. at Cache::set('f6f78779e15c7e5ae0b4...', [['id' => 1, 'name' => 'express_switch', 'value' => '0', ...], ['id' => 2, 'name' => 'kd100_key', 'value' => 'VHLwQnlO9948', ...], ['id' => 3, 'name' => 'kdniao_id', 'value' => '1649559', ...], ...], null) in /home/wwwroot/kst.tpsns.com/thinkphp/library/think/db/Query.php line 2409 请求方式GET 请求地址 /Home/Goods/goodsList/id/111/stock/1
  7. at Query->cacheData('f6f78779e15c7e5ae0b4...', [['id' => 1, 'name' => 'express_switch', 'value' => '0', ...], ['id' => 2, 'name' => 'kd100_key', 'value' => 'VHLwQnlO9948', ...], ['id' => 3, 'name' => 'kdniao_id', 'value' => '1649559', ...], ...], ['key' => true, 'expire' => null, 'tag' => null]) in /home/wwwroot/kst.tpsns.com/thinkphp/library/think/db/Query.php line 2354 请求方式GET 请求地址 /Home/Goods/goodsList/id/111/stock/1
  8. at Query->select() in /home/wwwroot/kst.tpsns.com/application/home/controller/Base.php line 151 请求方式GET 请求地址 /Home/Goods/goodsList/id/111/stock/1
  9. at Base->get_tpshop_config() in /home/wwwroot/kst.tpsns.com/application/home/controller/Base.php line 78 请求方式GET 请求地址 /Home/Goods/goodsList/id/111/stock/1
  10. at Base->public_assign() in /home/wwwroot/kst.tpsns.com/application/home/controller/Base.php line 42 请求方式GET 请求地址 /Home/Goods/goodsList/id/111/stock/1
  11. at Base->_initialize() in /home/wwwroot/kst.tpsns.com/thinkphp/library/think/Controller.php line 99 请求方式GET 请求地址 /Home/Goods/goodsList/id/111/stock/1
  12. at Controller->__construct() in /home/wwwroot/kst.tpsns.com/application/home/controller/Base.php line 24 请求方式GET 请求地址 /Home/Goods/goodsList/id/111/stock/1
  13. at Base->__construct()
  14. at ReflectionClass->newInstanceArgs([]) in /home/wwwroot/kst.tpsns.com/thinkphp/library/think/App.php line 362 请求方式GET 请求地址 /Home/Goods/goodsList/id/111/stock/1
  15. at App::invokeClass('app\home\controller\...') in /home/wwwroot/kst.tpsns.com/thinkphp/library/think/Loader.php line 459 请求方式GET 请求地址 /Home/Goods/goodsList/id/111/stock/1
  16. at Loader::controller('Goods', 'controller', false, 'Error') in /home/wwwroot/kst.tpsns.com/thinkphp/library/think/App.php line 577 请求方式GET 请求地址 /Home/Goods/goodsList/id/111/stock/1
  17. at App::module(['Home', 'Goods', 'goodsList'], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...], false) in /home/wwwroot/kst.tpsns.com/thinkphp/library/think/App.php line 459 请求方式GET 请求地址 /Home/Goods/goodsList/id/111/stock/1
  18. at App::exec(['type' => 'module', 'module' => ['Home', 'Goods', 'goodsList']], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...]) in /home/wwwroot/kst.tpsns.com/thinkphp/library/think/App.php line 142 请求方式GET 请求地址 /Home/Goods/goodsList/id/111/stock/1
  19. at App::run() in /home/wwwroot/kst.tpsns.com/thinkphp/start.php line 19 请求方式GET 请求地址 /Home/Goods/goodsList/id/111/stock/1
  20. at require('/home/wwwroot/kst.tp...') in /home/wwwroot/kst.tpsns.com/index.php line 77 请求方式GET 请求地址 /Home/Goods/goodsList/id/111/stock/1

Environment Variables

GET Data

id
111
stock
1
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
//Home/Goods/goodsList/id/111/stock/1
REDIRECT_STATUS
200
SERVER_NAME
kastgc.cn
SERVER_PORT
443
SERVER_ADDR
172.28.241.65
REMOTE_PORT
18292
REMOTE_ADDR
52.15.191.241
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
/Home/Goods/goodsList/id/111/stock/1
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
//Home/Goods/goodsList/id/111/stock/1
REQUEST_TIME_FLOAT
1738487795.396
REQUEST_TIME
1738487795
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
1738487795
THINK_VERSION
5.0.15
THINK_START_TIME
1738487795.3967
THINK_START_MEM
418728
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
Goods
ACTION_NAME
goodsList
PREFIX
tp_
SESSION_ID
"
string(36099) "


    
    System Error
    
    
    


    

Uncaught think\exception\ErrorException: file_put_contents(): Only 0 of 43860 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

id
111
stock
1
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
//Home/Goods/goodsList/id/111/stock/1
REDIRECT_STATUS
200
SERVER_NAME
kastgc.cn
SERVER_PORT
443
SERVER_ADDR
172.28.241.65
REMOTE_PORT
18292
REMOTE_ADDR
52.15.191.241
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
/Home/Goods/goodsList/id/111/stock/1
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
//Home/Goods/goodsList/id/111/stock/1
REQUEST_TIME_FLOAT
1738487795.396
REQUEST_TIME
1738487795
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
1738487795
THINK_VERSION
5.0.15
THINK_START_TIME
1738487795.3967
THINK_START_MEM
418728
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
Goods
ACTION_NAME
goodsList
PREFIX
tp_
SESSION_ID
"