string(48283) "


    
    System Error
    
    
    


    

[2] ErrorException in /www/wwwroot/www.xctecno.it/thinkphp/library/think/cache/driver/File.php line 113 请求方式GET 请求地址 /index.php/home/Goods/goodsList/id/226/brand_id/7

file_get_contents(/www/wwwroot/www.xctecno.it/runtime/cache/tpshop_cache_prefix/6c/8cd9d2cb27f6fb97fbb772eee20e74.php): failed to open stream: No such file or directory

  1. * @param mixed $default 默认值
  2. * @return mixed
  3. */
  4. public function get($name, $default = false)
  5. {
  6. $filename = $this->getCacheKey($name);
  7. if (!is_file($filename)) {
  8. return $default;
  9. }
  10. $content = file_get_contents($filename);
  11. $this->expire = null;
  12. if (false !== $content) {
  13. $expire = (int) substr($content, 8, 12);
  14. if (0 != $expire && time() > filemtime($filename) + $expire) {
  15. return $default;
  16. }
  17. $this->expire = $expire;
  18. $content = substr($content, 32);
  19. if ($this->options['data_compress'] && function_exists('gzcompress')) {

Call Stack

  1. in /www/wwwroot/www.xctecno.it/thinkphp/library/think/cache/driver/File.php line 113 请求方式GET 请求地址 /index.php/home/Goods/goodsList/id/226/brand_id/7
  2. at Error::appError(2, 'file_get_contents(/w...', '/www/wwwroot/www.xct...', 113, ['name' => '9ddf11516629b283ad18...', 'default' => false, 'filename' => '/www/wwwroot/www.xct...'])
  3. at file_get_contents('/www/wwwroot/www.xct...') in /www/wwwroot/www.xctecno.it/thinkphp/library/think/cache/driver/File.php line 113 请求方式GET 请求地址 /index.php/home/Goods/goodsList/id/226/brand_id/7
  4. at File->get('9ddf11516629b283ad18...', false) in /www/wwwroot/www.xctecno.it/thinkphp/library/think/Cache.php line 133 请求方式GET 请求地址 /index.php/home/Goods/goodsList/id/226/brand_id/7
  5. at Cache::get('9ddf11516629b283ad18...') in /www/wwwroot/www.xctecno.it/thinkphp/library/think/db/Query.php line 451 请求方式GET 请求地址 /index.php/home/Goods/goodsList/id/226/brand_id/7
  6. at Query->column('value', 'code') in /www/wwwroot/www.xctecno.it/application/common.php line 2765 请求方式GET 请求地址 /index.php/home/Goods/goodsList/id/226/brand_id/7
  7. at field_lang('it', 'goods_category', 442, 'name', 'Honor 70 Lite (2023)') in /www/wwwroot/www.xctecno.it/runtime/temp/8e5b4436313890d5b8e26e7ad15f35af.php line 642 请求方式GET 请求地址 /index.php/home/Goods/goodsList/id/226/brand_id/7
  8. at include('/www/wwwroot/www.xct...') in /www/wwwroot/www.xctecno.it/thinkphp/library/think/template/driver/File.php line 50 请求方式GET 请求地址 /index.php/home/Goods/goodsList/id/226/brand_id/7
  9. at File->read('/www/wwwroot/www.xct...', ['action' => 'goodsList', 'template_now_time' => 1787014438, 'lang' => 'it', ...]) in /www/wwwroot/www.xctecno.it/thinkphp/library/think/Template.php line 200 请求方式GET 请求地址 /index.php/home/Goods/goodsList/id/226/brand_id/7
  10. at Template->fetch('./template/pc/rainbo...', ['action' => 'goodsList', 'template_now_time' => 1787014438, 'lang' => 'it', ...], []) in /www/wwwroot/www.xctecno.it/thinkphp/library/think/view/driver/Think.php line 90 请求方式GET 请求地址 /index.php/home/Goods/goodsList/id/226/brand_id/7
  11. at Think->fetch('./template/pc/rainbo...', ['action' => 'goodsList', 'template_now_time' => 1787014438, 'lang' => 'it', ...], []) in /www/wwwroot/www.xctecno.it/thinkphp/library/think/View.php line 163 请求方式GET 请求地址 /index.php/home/Goods/goodsList/id/226/brand_id/7
  12. at View->fetch('', ['action' => 'goodsList', 'template_now_time' => 1787014438, 'lang' => 'it', ...], ['__ROOT__' => '', '__URL__' => '/index.php/home/good...', '__STATIC__' => '/template/pc/rainbow...', ...], []) in /www/wwwroot/www.xctecno.it/thinkphp/library/think/Controller.php line 172 请求方式GET 请求地址 /index.php/home/Goods/goodsList/id/226/brand_id/7
  13. at Controller->fetch() in /www/wwwroot/www.xctecno.it/application/home/controller/Goods.php line 378 请求方式GET 请求地址 /index.php/home/Goods/goodsList/id/226/brand_id/7
  14. at Goods->goodsList()
  15. at ReflectionMethod->invokeArgs(object(Goods), []) in /www/wwwroot/www.xctecno.it/thinkphp/library/think/App.php line 348 请求方式GET 请求地址 /index.php/home/Goods/goodsList/id/226/brand_id/7
  16. at App::invokeMethod([object(Goods), 'goodsList'], []) in /www/wwwroot/www.xctecno.it/thinkphp/library/think/App.php line 616 请求方式GET 请求地址 /index.php/home/Goods/goodsList/id/226/brand_id/7
  17. at App::module(['home', 'Goods', 'goodsList'], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...], false) in /www/wwwroot/www.xctecno.it/thinkphp/library/think/App.php line 461 请求方式GET 请求地址 /index.php/home/Goods/goodsList/id/226/brand_id/7
  18. at App::exec(['type' => 'module', 'module' => ['home', 'Goods', 'goodsList']], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...]) in /www/wwwroot/www.xctecno.it/thinkphp/library/think/App.php line 142 请求方式GET 请求地址 /index.php/home/Goods/goodsList/id/226/brand_id/7
  19. at App::run() in /www/wwwroot/www.xctecno.it/thinkphp/start.php line 19 请求方式GET 请求地址 /index.php/home/Goods/goodsList/id/226/brand_id/7
  20. at require('/www/wwwroot/www.xct...') in /www/wwwroot/www.xctecno.it/index.php line 63 请求方式GET 请求地址 /index.php/home/Goods/goodsList/id/226/brand_id/7

Environment Variables

GET Data

id
226
brand_id
7
POST Data
empty
Files
empty

Cookies

is_mobile
0
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
www.xctecno.it
PATH_INFO
/home/Goods/goodsList/id/226/brand_id/7
REDIRECT_STATUS
200
SERVER_NAME
www.xctecno.it
SERVER_PORT
443
SERVER_ADDR
172.16.0.135
REMOTE_PORT
17751
REMOTE_ADDR
216.73.216.21
SERVER_SOFTWARE
nginx/1.24.0
GATEWAY_INTERFACE
CGI/1.1
HTTPS
on
REQUEST_SCHEME
https
SERVER_PROTOCOL
HTTP/2.0
DOCUMENT_ROOT
/www/wwwroot/www.xctecno.it
DOCUMENT_URI
/index.php/home/Goods/goodsList/id/226/brand_id/7
REQUEST_URI
/index.php/home/Goods/goodsList/id/226/brand_id/7
SCRIPT_NAME
/index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD
GET
QUERY_STRING
SCRIPT_FILENAME
/www/wwwroot/www.xctecno.it/index.php
FCGI_ROLE
RESPONDER
PHP_SELF
/index.php/home/Goods/goodsList/id/226/brand_id/7
REQUEST_TIME_FLOAT
1787014438.6237
REQUEST_TIME
1787014438
Environment Variables
empty

ThinkPHP Constants

IS_SAAS
0
SAAS_BASE_USER
0
PLUGIN_PATH
/www/wwwroot/www.xctecno.it/plugins/
UPLOAD_PATH
public/upload/
TPSHOP_CACHE_TIME
1
SITE_URL
https://www.xctecno.it
HTTP
https
INSTALL_DATE
1463741583
SERIALNUMBER
20160520065303oCWIoa
APP_PATH
/www/wwwroot/www.xctecno.it/application/
NOW_TIME
1787014438
THINK_VERSION
5.0.15
THINK_START_TIME
1787014438.6246
THINK_START_MEM
414264
EXT
.php
DS
/
THINK_PATH
/www/wwwroot/www.xctecno.it/thinkphp/
LIB_PATH
/www/wwwroot/www.xctecno.it/thinkphp/library/
CORE_PATH
/www/wwwroot/www.xctecno.it/thinkphp/library/think/
TRAIT_PATH
/www/wwwroot/www.xctecno.it/thinkphp/library/traits/
ROOT_PATH
/www/wwwroot/www.xctecno.it/
EXTEND_PATH
/www/wwwroot/www.xctecno.it/extend/
VENDOR_PATH
/www/wwwroot/www.xctecno.it/vendor/
RUNTIME_PATH
/www/wwwroot/www.xctecno.it/runtime/
LOG_PATH
/www/wwwroot/www.xctecno.it/runtime/log/
CACHE_PATH
/www/wwwroot/www.xctecno.it/runtime/cache/
TEMP_PATH
/www/wwwroot/www.xctecno.it/runtime/temp/
CONF_PATH
/www/wwwroot/www.xctecno.it/application/
CONF_EXT
.php
ENV_PREFIX
PHP_
IS_CLI
false
IS_WIN
false
ADDON_PATH
/www/wwwroot/www.xctecno.it/addons/
EXTEND_MODULE
1
EXTEND_ANDROID
2
EXTEND_IOS
3
EXTEND_ENTRUST
4
EXTEND_MINIAPP
5
EXTEND_H5
6
TIME_MOUTH
4
IS_AJAX
false
IS_GET
true
IS_POST
false
MODULE_NAME
home
CONTROLLER_NAME
Goods
ACTION_NAME
goodsList
PREFIX
tp_
LANG
it
SESSION_ID
"
Fatal error: Uncaught think\exception\ErrorException: file_put_contents(error.html): failed to open stream: Permission denied in /www/wwwroot/www.xctecno.it/thinkphp/library/think/exception/Handle.php:190 Stack trace: #0 [internal function]: think\Error::appError(2, 'file_put_conten...', '/www/wwwroot/ww...', 190, Array) #1 /www/wwwroot/www.xctecno.it/thinkphp/library/think/exception/Handle.php(190): file_put_contents('error.html', '<!DOCTYPE html>...') #2 /www/wwwroot/www.xctecno.it/thinkphp/library/think/exception/Handle.php(96): think\exception\Handle->convertExceptionToResponse(Object(think\exception\ErrorException)) #3 /www/wwwroot/www.xctecno.it/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 in /www/wwwroot/www.xctecno.it/thinkphp/library/think/exception/Handle.php on line 190
string(39595) "


    
    System Error
    
    
    


    

Uncaught think\exception\ErrorException: file_put_contents(error.html): failed to open stream: Permission denied in /www/wwwroot/www.xctecno.it/thinkphp/library/think/exception/Handle.php:190
Stack trace:
#0 [internal function]: think\Error::appError(2, 'file_put_conten...', '/www/wwwroot/ww...', 190, Array)
#1 /www/wwwroot/www.xctecno.it/thinkphp/library/think/exception/Handle.php(190): file_put_contents('error.html', '<!DOCTYPE html>...')
#2 /www/wwwroot/www.xctecno.it/thinkphp/library/think/exception/Handle.php(96): think\exception\Handle->convertExceptionToResponse(Object(think\exception\ErrorException))
#3 /www/wwwroot/www.xctecno.it/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
226
brand_id
7
POST Data
empty
Files
empty

Cookies

is_mobile
0
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
www.xctecno.it
PATH_INFO
/home/Goods/goodsList/id/226/brand_id/7
REDIRECT_STATUS
200
SERVER_NAME
www.xctecno.it
SERVER_PORT
443
SERVER_ADDR
172.16.0.135
REMOTE_PORT
17751
REMOTE_ADDR
216.73.216.21
SERVER_SOFTWARE
nginx/1.24.0
GATEWAY_INTERFACE
CGI/1.1
HTTPS
on
REQUEST_SCHEME
https
SERVER_PROTOCOL
HTTP/2.0
DOCUMENT_ROOT
/www/wwwroot/www.xctecno.it
DOCUMENT_URI
/index.php/home/Goods/goodsList/id/226/brand_id/7
REQUEST_URI
/index.php/home/Goods/goodsList/id/226/brand_id/7
SCRIPT_NAME
/index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD
GET
QUERY_STRING
SCRIPT_FILENAME
/www/wwwroot/www.xctecno.it/index.php
FCGI_ROLE
RESPONDER
PHP_SELF
/index.php/home/Goods/goodsList/id/226/brand_id/7
REQUEST_TIME_FLOAT
1787014438.6237
REQUEST_TIME
1787014438
Environment Variables
empty

ThinkPHP Constants

IS_SAAS
0
SAAS_BASE_USER
0
PLUGIN_PATH
/www/wwwroot/www.xctecno.it/plugins/
UPLOAD_PATH
public/upload/
TPSHOP_CACHE_TIME
1
SITE_URL
https://www.xctecno.it
HTTP
https
INSTALL_DATE
1463741583
SERIALNUMBER
20160520065303oCWIoa
APP_PATH
/www/wwwroot/www.xctecno.it/application/
NOW_TIME
1787014438
THINK_VERSION
5.0.15
THINK_START_TIME
1787014438.6246
THINK_START_MEM
414264
EXT
.php
DS
/
THINK_PATH
/www/wwwroot/www.xctecno.it/thinkphp/
LIB_PATH
/www/wwwroot/www.xctecno.it/thinkphp/library/
CORE_PATH
/www/wwwroot/www.xctecno.it/thinkphp/library/think/
TRAIT_PATH
/www/wwwroot/www.xctecno.it/thinkphp/library/traits/
ROOT_PATH
/www/wwwroot/www.xctecno.it/
EXTEND_PATH
/www/wwwroot/www.xctecno.it/extend/
VENDOR_PATH
/www/wwwroot/www.xctecno.it/vendor/
RUNTIME_PATH
/www/wwwroot/www.xctecno.it/runtime/
LOG_PATH
/www/wwwroot/www.xctecno.it/runtime/log/
CACHE_PATH
/www/wwwroot/www.xctecno.it/runtime/cache/
TEMP_PATH
/www/wwwroot/www.xctecno.it/runtime/temp/
CONF_PATH
/www/wwwroot/www.xctecno.it/application/
CONF_EXT
.php
ENV_PREFIX
PHP_
IS_CLI
false
IS_WIN
false
ADDON_PATH
/www/wwwroot/www.xctecno.it/addons/
EXTEND_MODULE
1
EXTEND_ANDROID
2
EXTEND_IOS
3
EXTEND_ENTRUST
4
EXTEND_MINIAPP
5
EXTEND_H5
6
TIME_MOUTH
4
IS_AJAX
false
IS_GET
true
IS_POST
false
MODULE_NAME
home
CONTROLLER_NAME
Goods
ACTION_NAME
goodsList
PREFIX
tp_
LANG
it
SESSION_ID
"
Fatal error: Uncaught think\exception\ErrorException: file_put_contents(): open_basedir restriction in effect. File(error.html) is not within the allowed path(s): (/www/wwwroot/www.xctecno.it/:/tmp/) in /www/wwwroot/www.xctecno.it/thinkphp/library/think/exception/Handle.php:190 Stack trace: #0 [internal function]: think\Error::appError(2, 'file_put_conten...', '/www/wwwroot/ww...', 190, Array) #1 /www/wwwroot/www.xctecno.it/thinkphp/library/think/exception/Handle.php(190): file_put_contents('error.html', '<!DOCTYPE html>...') #2 /www/wwwroot/www.xctecno.it/thinkphp/library/think/exception/Handle.php(96): think\exception\Handle->convertExceptionToResponse(Object(think\exception\ErrorException)) #3 /www/wwwroot/www.xctecno.it/thinkphp/library/think/Error.php(53): think\exception\Handle->render(Object(think\exception\ErrorException)) #4 /www/wwwroot/www.xctecno.it/thinkphp/library/think/Error.php(89): think\Error::appException(Object(think\exception\ErrorException)) #5 [internal function]: think\Error::appShutdown() #6 {main in /www/wwwroot/www.xctecno.it/thinkphp/library/think/exception/Handle.php on line 190