string(220637) "


    
    System Error
    
    
    


    


[2] ErrorException in /www/wwwroot/sun.tpsns.com/thinkphp/library/think/cache/driver/File.php line 159 请求方式GET 请求地址 /Home/Goods/goodsList/id/29/brand_id/13/promotion/javscript:

file_put_contents(/www/wwwroot/sun.tpsns.com/runtime/cache/tpshop_cache_prefix/56/69dd672f9d04b5c9fc68570d366093.php): failed to open stream: No such file or directory

  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 /www/wwwroot/sun.tpsns.com/thinkphp/library/think/cache/driver/File.php line 159 请求方式GET 请求地址 /Home/Goods/goodsList/id/29/brand_id/13/promotion/javscript:
  2. at Error::appError(2, 'file_put_contents(/w...', '/www/wwwroot/sun.tps...', 159, ['name' => 'common_get_goods_cat...', 'value' => [['id' => 1, 'name' => '狗狗主粮', 'mobile_name' => '狗狗主粮', ...], ['id' => 22, 'name' => '狗狗零食', 'mobile_name' => '狗狗零食', ...], ['id' => 36, 'name' => '狗狗玩具', 'mobile_name' => '狗狗玩具', ...], ...], 'expire' => 0, ...])
  3. at file_put_contents('/www/wwwroot/sun.tps...', '<?php //000000000000...') in /www/wwwroot/sun.tpsns.com/thinkphp/library/think/cache/driver/File.php line 159 请求方式GET 请求地址 /Home/Goods/goodsList/id/29/brand_id/13/promotion/javscript:
  4. at File->set('common_get_goods_cat...', [['id' => 1, 'name' => '狗狗主粮', 'mobile_name' => '狗狗主粮', ...], ['id' => 22, 'name' => '狗狗零食', 'mobile_name' => '狗狗零食', ...], ['id' => 36, 'name' => '狗狗玩具', 'mobile_name' => '狗狗玩具', ...], ...], null) in /www/wwwroot/sun.tpsns.com/thinkphp/library/think/Cache.php line 148 请求方式GET 请求地址 /Home/Goods/goodsList/id/29/brand_id/13/promotion/javscript:
  5. at Cache::set('common_get_goods_cat...', [['id' => 1, 'name' => '狗狗主粮', 'mobile_name' => '狗狗主粮', ...], ['id' => 22, 'name' => '狗狗零食', 'mobile_name' => '狗狗零食', ...], ['id' => 36, 'name' => '狗狗玩具', 'mobile_name' => '狗狗玩具', ...], ...], null) in /www/wwwroot/sun.tpsns.com/thinkphp/helper.php line 673 请求方式GET 请求地址 /Home/Goods/goodsList/id/29/brand_id/13/promotion/javscript:
  6. at S('common_get_goods_cat...', [['id' => 1, 'name' => '狗狗主粮', 'mobile_name' => '狗狗主粮', ...], ['id' => 22, 'name' => '狗狗零食', 'mobile_name' => '狗狗零食', ...], ['id' => 36, 'name' => '狗狗玩具', 'mobile_name' => '狗狗玩具', ...], ...]) in /www/wwwroot/sun.tpsns.com/application/common.php line 1642 请求方式GET 请求地址 /Home/Goods/goodsList/id/29/brand_id/13/promotion/javscript:
  7. at get_goods_category_tree() in /www/wwwroot/sun.tpsns.com/application/home/controller/Base.php line 83 请求方式GET 请求地址 /Home/Goods/goodsList/id/29/brand_id/13/promotion/javscript:
  8. at Base->public_assign() in /www/wwwroot/sun.tpsns.com/application/home/controller/Base.php line 42 请求方式GET 请求地址 /Home/Goods/goodsList/id/29/brand_id/13/promotion/javscript:
  9. at Base->_initialize() in /www/wwwroot/sun.tpsns.com/thinkphp/library/think/Controller.php line 111 请求方式GET 请求地址 /Home/Goods/goodsList/id/29/brand_id/13/promotion/javscript:
  10. at Controller->__construct() in /www/wwwroot/sun.tpsns.com/application/home/controller/Base.php line 24 请求方式GET 请求地址 /Home/Goods/goodsList/id/29/brand_id/13/promotion/javscript:
  11. at Base->__construct()
  12. at ReflectionClass->newInstanceArgs([]) in /www/wwwroot/sun.tpsns.com/thinkphp/library/think/App.php line 364 请求方式GET 请求地址 /Home/Goods/goodsList/id/29/brand_id/13/promotion/javscript:
  13. at App::invokeClass('app\home\controller\...') in /www/wwwroot/sun.tpsns.com/thinkphp/library/think/Loader.php line 459 请求方式GET 请求地址 /Home/Goods/goodsList/id/29/brand_id/13/promotion/javscript:
  14. at Loader::controller('Goods', 'controller', false, 'Error') in /www/wwwroot/sun.tpsns.com/thinkphp/library/think/App.php line 580 请求方式GET 请求地址 /Home/Goods/goodsList/id/29/brand_id/13/promotion/javscript:
  15. at App::module(['Home', 'Goods', 'goodsList'], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...], null) in /www/wwwroot/sun.tpsns.com/thinkphp/library/think/App.php line 462 请求方式GET 请求地址 /Home/Goods/goodsList/id/29/brand_id/13/promotion/javscript:
  16. at App::exec(['type' => 'module', 'module' => ['Home', 'Goods', 'goodsList']], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...]) in /www/wwwroot/sun.tpsns.com/thinkphp/library/think/App.php line 142 请求方式GET 请求地址 /Home/Goods/goodsList/id/29/brand_id/13/promotion/javscript:
  17. at App::run() in /www/wwwroot/sun.tpsns.com/thinkphp/start.php line 19 请求方式GET 请求地址 /Home/Goods/goodsList/id/29/brand_id/13/promotion/javscript:
  18. at require('/www/wwwroot/sun.tps...') in /www/wwwroot/sun.tpsns.com/index.php line 137 请求方式GET 请求地址 /Home/Goods/goodsList/id/29/brand_id/13/promotion/javscript:

Environment Variables

GET Data

id
29
brand_id
13
promotion
javscript:
POST Data
empty
Files
empty

Cookies

PHPSESSID
03ml74rgvf5k7ufa1lihs0qu25
Session
empty

Server/Request Data

USER
www
HOME
/home/www
FCGI_ROLE
RESPONDER
SCRIPT_FILENAME
/www/wwwroot/sun.tpsns.com/index.php
QUERY_STRING
s=/Home/Goods/goodsList/id/29/brand_id/13/promotion/javscript:
REQUEST_METHOD
GET
CONTENT_TYPE
CONTENT_LENGTH
SCRIPT_NAME
/index.php
REQUEST_URI
/Home/Goods/goodsList/id/29/brand_id/13/promotion/javscript:
DOCUMENT_URI
/index.php
DOCUMENT_ROOT
/www/wwwroot/sun.tpsns.com
SERVER_PROTOCOL
HTTP/1.1
REQUEST_SCHEME
http
GATEWAY_INTERFACE
CGI/1.1
SERVER_SOFTWARE
nginx/1.24.0
REMOTE_ADDR
216.73.216.105
REMOTE_PORT
27444
SERVER_ADDR
172.27.37.71
SERVER_PORT
80
SERVER_NAME
sun.tpsns.com
REDIRECT_STATUS
200
PATH_INFO
/Home/Goods/goodsList/id/29/brand_id/13/promotion/javscript:
HTTP_ACCEPT
*/*
HTTP_USER_AGENT
Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
HTTP_COOKIE
PHPSESSID=03ml74rgvf5k7ufa1lihs0qu25
HTTP_ACCEPT_ENCODING
gzip, br, zstd, deflate
HTTP_HOST
sun.tpsns.com
HTTP_VIA
1.1 squid-proxy-5b5d847c96-b4zpw (squid/6.13)
HTTP_X_FORWARDED_FOR
10.1.239.47
HTTP_CACHE_CONTROL
max-age=259200
HTTP_CONNECTION
keep-alive
PHP_SELF
/index.php
REQUEST_TIME_FLOAT
1772418293.051
REQUEST_TIME
1772418293
HTTPS
on
Environment Variables
empty

ThinkPHP Constants

IS_SAAS
0
SAAS_BASE_USER
0
PLUGIN_PATH
/www/wwwroot/sun.tpsns.com/plugins/
UPLOAD_PATH
public/upload/
TPSHOP_CACHE_TIME
31104000
SITE_URL
https://sun.tpsns.com
HTTP
https
INSTALL_DATE
1463741583
SERIALNUMBER
20160520065303oCWIoa
APP_PATH
/www/wwwroot/sun.tpsns.com/application/
NOW_TIME
1772418293
THINK_VERSION
5.0.15
THINK_START_TIME
1772418293.052
THINK_START_MEM
325888
EXT
.php
DS
/
THINK_PATH
/www/wwwroot/sun.tpsns.com/thinkphp/
LIB_PATH
/www/wwwroot/sun.tpsns.com/thinkphp/library/
CORE_PATH
/www/wwwroot/sun.tpsns.com/thinkphp/library/think/
TRAIT_PATH
/www/wwwroot/sun.tpsns.com/thinkphp/library/traits/
ROOT_PATH
/www/wwwroot/sun.tpsns.com/
EXTEND_PATH
/www/wwwroot/sun.tpsns.com/extend/
VENDOR_PATH
/www/wwwroot/sun.tpsns.com/vendor/
RUNTIME_PATH
/www/wwwroot/sun.tpsns.com/runtime/
LOG_PATH
/www/wwwroot/sun.tpsns.com/runtime/log/
CACHE_PATH
/www/wwwroot/sun.tpsns.com/runtime/cache/
TEMP_PATH
/www/wwwroot/sun.tpsns.com/runtime/temp/
CONF_PATH
/www/wwwroot/sun.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
" System Error


[2] ErrorException in /www/wwwroot/sun.tpsns.com/thinkphp/library/think/cache/driver/File.php line 159 请求方式GET 请求地址 /Home/Goods/goodsList/id/29/brand_id/13/promotion/javscript:

file_put_contents(/www/wwwroot/sun.tpsns.com/runtime/cache/tpshop_cache_prefix/56/69dd672f9d04b5c9fc68570d366093.php): failed to open stream: No such file or directory

  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 /www/wwwroot/sun.tpsns.com/thinkphp/library/think/cache/driver/File.php line 159 请求方式GET 请求地址 /Home/Goods/goodsList/id/29/brand_id/13/promotion/javscript:
  2. at Error::appError(2, 'file_put_contents(/w...', '/www/wwwroot/sun.tps...', 159, ['name' => 'common_get_goods_cat...', 'value' => [['id' => 1, 'name' => '狗狗主粮', 'mobile_name' => '狗狗主粮', ...], ['id' => 22, 'name' => '狗狗零食', 'mobile_name' => '狗狗零食', ...], ['id' => 36, 'name' => '狗狗玩具', 'mobile_name' => '狗狗玩具', ...], ...], 'expire' => 0, ...])
  3. at file_put_contents('/www/wwwroot/sun.tps...', '<?php //000000000000...') in /www/wwwroot/sun.tpsns.com/thinkphp/library/think/cache/driver/File.php line 159 请求方式GET 请求地址 /Home/Goods/goodsList/id/29/brand_id/13/promotion/javscript:
  4. at File->set('common_get_goods_cat...', [['id' => 1, 'name' => '狗狗主粮', 'mobile_name' => '狗狗主粮', ...], ['id' => 22, 'name' => '狗狗零食', 'mobile_name' => '狗狗零食', ...], ['id' => 36, 'name' => '狗狗玩具', 'mobile_name' => '狗狗玩具', ...], ...], null) in /www/wwwroot/sun.tpsns.com/thinkphp/library/think/Cache.php line 148 请求方式GET 请求地址 /Home/Goods/goodsList/id/29/brand_id/13/promotion/javscript:
  5. at Cache::set('common_get_goods_cat...', [['id' => 1, 'name' => '狗狗主粮', 'mobile_name' => '狗狗主粮', ...], ['id' => 22, 'name' => '狗狗零食', 'mobile_name' => '狗狗零食', ...], ['id' => 36, 'name' => '狗狗玩具', 'mobile_name' => '狗狗玩具', ...], ...], null) in /www/wwwroot/sun.tpsns.com/thinkphp/helper.php line 673 请求方式GET 请求地址 /Home/Goods/goodsList/id/29/brand_id/13/promotion/javscript:
  6. at S('common_get_goods_cat...', [['id' => 1, 'name' => '狗狗主粮', 'mobile_name' => '狗狗主粮', ...], ['id' => 22, 'name' => '狗狗零食', 'mobile_name' => '狗狗零食', ...], ['id' => 36, 'name' => '狗狗玩具', 'mobile_name' => '狗狗玩具', ...], ...]) in /www/wwwroot/sun.tpsns.com/application/common.php line 1642 请求方式GET 请求地址 /Home/Goods/goodsList/id/29/brand_id/13/promotion/javscript:
  7. at get_goods_category_tree() in /www/wwwroot/sun.tpsns.com/application/home/controller/Base.php line 83 请求方式GET 请求地址 /Home/Goods/goodsList/id/29/brand_id/13/promotion/javscript:
  8. at Base->public_assign() in /www/wwwroot/sun.tpsns.com/application/home/controller/Base.php line 42 请求方式GET 请求地址 /Home/Goods/goodsList/id/29/brand_id/13/promotion/javscript:
  9. at Base->_initialize() in /www/wwwroot/sun.tpsns.com/thinkphp/library/think/Controller.php line 111 请求方式GET 请求地址 /Home/Goods/goodsList/id/29/brand_id/13/promotion/javscript:
  10. at Controller->__construct() in /www/wwwroot/sun.tpsns.com/application/home/controller/Base.php line 24 请求方式GET 请求地址 /Home/Goods/goodsList/id/29/brand_id/13/promotion/javscript:
  11. at Base->__construct()
  12. at ReflectionClass->newInstanceArgs([]) in /www/wwwroot/sun.tpsns.com/thinkphp/library/think/App.php line 364 请求方式GET 请求地址 /Home/Goods/goodsList/id/29/brand_id/13/promotion/javscript:
  13. at App::invokeClass('app\home\controller\...') in /www/wwwroot/sun.tpsns.com/thinkphp/library/think/Loader.php line 459 请求方式GET 请求地址 /Home/Goods/goodsList/id/29/brand_id/13/promotion/javscript:
  14. at Loader::controller('Goods', 'controller', false, 'Error') in /www/wwwroot/sun.tpsns.com/thinkphp/library/think/App.php line 580 请求方式GET 请求地址 /Home/Goods/goodsList/id/29/brand_id/13/promotion/javscript:
  15. at App::module(['Home', 'Goods', 'goodsList'], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...], null) in /www/wwwroot/sun.tpsns.com/thinkphp/library/think/App.php line 462 请求方式GET 请求地址 /Home/Goods/goodsList/id/29/brand_id/13/promotion/javscript:
  16. at App::exec(['type' => 'module', 'module' => ['Home', 'Goods', 'goodsList']], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...]) in /www/wwwroot/sun.tpsns.com/thinkphp/library/think/App.php line 142 请求方式GET 请求地址 /Home/Goods/goodsList/id/29/brand_id/13/promotion/javscript:
  17. at App::run() in /www/wwwroot/sun.tpsns.com/thinkphp/start.php line 19 请求方式GET 请求地址 /Home/Goods/goodsList/id/29/brand_id/13/promotion/javscript:
  18. at require('/www/wwwroot/sun.tps...') in /www/wwwroot/sun.tpsns.com/index.php line 137 请求方式GET 请求地址 /Home/Goods/goodsList/id/29/brand_id/13/promotion/javscript:

Environment Variables

GET Data

id
29
brand_id
13
promotion
javscript:
POST Data
empty
Files
empty

Cookies

PHPSESSID
03ml74rgvf5k7ufa1lihs0qu25
Session
empty

Server/Request Data

USER
www
HOME
/home/www
FCGI_ROLE
RESPONDER
SCRIPT_FILENAME
/www/wwwroot/sun.tpsns.com/index.php
QUERY_STRING
s=/Home/Goods/goodsList/id/29/brand_id/13/promotion/javscript:
REQUEST_METHOD
GET
CONTENT_TYPE
CONTENT_LENGTH
SCRIPT_NAME
/index.php
REQUEST_URI
/Home/Goods/goodsList/id/29/brand_id/13/promotion/javscript:
DOCUMENT_URI
/index.php
DOCUMENT_ROOT
/www/wwwroot/sun.tpsns.com
SERVER_PROTOCOL
HTTP/1.1
REQUEST_SCHEME
http
GATEWAY_INTERFACE
CGI/1.1
SERVER_SOFTWARE
nginx/1.24.0
REMOTE_ADDR
216.73.216.105
REMOTE_PORT
27444
SERVER_ADDR
172.27.37.71
SERVER_PORT
80
SERVER_NAME
sun.tpsns.com
REDIRECT_STATUS
200
PATH_INFO
/Home/Goods/goodsList/id/29/brand_id/13/promotion/javscript:
HTTP_ACCEPT
*/*
HTTP_USER_AGENT
Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
HTTP_COOKIE
PHPSESSID=03ml74rgvf5k7ufa1lihs0qu25
HTTP_ACCEPT_ENCODING
gzip, br, zstd, deflate
HTTP_HOST
sun.tpsns.com
HTTP_VIA
1.1 squid-proxy-5b5d847c96-b4zpw (squid/6.13)
HTTP_X_FORWARDED_FOR
10.1.239.47
HTTP_CACHE_CONTROL
max-age=259200
HTTP_CONNECTION
keep-alive
PHP_SELF
/index.php
REQUEST_TIME_FLOAT
1772418293.051
REQUEST_TIME
1772418293
HTTPS
on
Environment Variables
empty

ThinkPHP Constants

IS_SAAS
0
SAAS_BASE_USER
0
PLUGIN_PATH
/www/wwwroot/sun.tpsns.com/plugins/
UPLOAD_PATH
public/upload/
TPSHOP_CACHE_TIME
31104000
SITE_URL
https://sun.tpsns.com
HTTP
https
INSTALL_DATE
1463741583
SERIALNUMBER
20160520065303oCWIoa
APP_PATH
/www/wwwroot/sun.tpsns.com/application/
NOW_TIME
1772418293
THINK_VERSION
5.0.15
THINK_START_TIME
1772418293.052
THINK_START_MEM
325888
EXT
.php
DS
/
THINK_PATH
/www/wwwroot/sun.tpsns.com/thinkphp/
LIB_PATH
/www/wwwroot/sun.tpsns.com/thinkphp/library/
CORE_PATH
/www/wwwroot/sun.tpsns.com/thinkphp/library/think/
TRAIT_PATH
/www/wwwroot/sun.tpsns.com/thinkphp/library/traits/
ROOT_PATH
/www/wwwroot/sun.tpsns.com/
EXTEND_PATH
/www/wwwroot/sun.tpsns.com/extend/
VENDOR_PATH
/www/wwwroot/sun.tpsns.com/vendor/
RUNTIME_PATH
/www/wwwroot/sun.tpsns.com/runtime/
LOG_PATH
/www/wwwroot/sun.tpsns.com/runtime/log/
CACHE_PATH
/www/wwwroot/sun.tpsns.com/runtime/cache/
TEMP_PATH
/www/wwwroot/sun.tpsns.com/runtime/temp/
CONF_PATH
/www/wwwroot/sun.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