string(42741) "


    
    System Error
    
    
    


    
  1. }
  2. /**
  3. * 递归调用找到 重子重孙
  4. * @param type $cat_id
  5. */
  6. function getCatGrandson2($cat_id)
  7. {
  8. $GLOBALS['catGrandson'][] = $cat_id;
  9. foreach($GLOBALS['category_id_arr'] as $k => $v)
  10. {
  11. // 找到孙子
  12. if($v == $cat_id)
  13. {
  14. getCatGrandson2($k); // 继续找孙子
  15. }
  16. }
  17. }

Call Stack

  1. in /www/wwwroot/www.xctecno.it/application/common.php line 513 请求方式GET 请求地址 /index.php/Home/Goods/goodsList/id/479/spec/1_3/p/2.html
  2. at Error::appError(2, 'Invalid argument sup...', '/www/wwwroot/www.xct...', 513, ['cat_id' => 498]) in /www/wwwroot/www.xctecno.it/application/common.php line 513 请求方式GET 请求地址 /index.php/Home/Goods/goodsList/id/479/spec/1_3/p/2.html
  3. at getCatGrandson2(498) in /www/wwwroot/www.xctecno.it/application/common.php line 479 请求方式GET 请求地址 /index.php/Home/Goods/goodsList/id/479/spec/1_3/p/2.html
  4. at getCatGrandson(479) in /www/wwwroot/www.xctecno.it/application/home/controller/Goods.php line 234 请求方式GET 请求地址 /index.php/Home/Goods/goodsList/id/479/spec/1_3/p/2.html
  5. at Goods->goodsList()
  6. 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/479/spec/1_3/p/2.html
  7. 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/479/spec/1_3/p/2.html
  8. 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/479/spec/1_3/p/2.html
  9. 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/479/spec/1_3/p/2.html
  10. at App::run() in /www/wwwroot/www.xctecno.it/thinkphp/start.php line 19 请求方式GET 请求地址 /index.php/Home/Goods/goodsList/id/479/spec/1_3/p/2.html
  11. at require('/www/wwwroot/www.xct...') in /www/wwwroot/www.xctecno.it/index.php line 63 请求方式GET 请求地址 /index.php/Home/Goods/goodsList/id/479/spec/1_3/p/2.html

Environment Variables

GET Data

id
479
spec
1_3
p
2
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/479/spec/1_3/p/2.html
REDIRECT_STATUS
200
SERVER_NAME
www.xctecno.it
SERVER_PORT
443
SERVER_ADDR
172.16.0.135
REMOTE_PORT
62369
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/479/spec/1_3/p/2.html
REQUEST_URI
/index.php/Home/Goods/goodsList/id/479/spec/1_3/p/2.html
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/479/spec/1_3/p/2.html
REQUEST_TIME_FLOAT
1787020181.7229
REQUEST_TIME
1787020181
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
1787020181
THINK_VERSION
5.0.15
THINK_START_TIME
1787020181.7237
THINK_START_MEM
414392
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(39895) "


    
    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
479
spec
1_3
p
2
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/479/spec/1_3/p/2.html
REDIRECT_STATUS
200
SERVER_NAME
www.xctecno.it
SERVER_PORT
443
SERVER_ADDR
172.16.0.135
REMOTE_PORT
62369
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/479/spec/1_3/p/2.html
REQUEST_URI
/index.php/Home/Goods/goodsList/id/479/spec/1_3/p/2.html
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/479/spec/1_3/p/2.html
REQUEST_TIME_FLOAT
1787020181.7229
REQUEST_TIME
1787020181
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
1787020181
THINK_VERSION
5.0.15
THINK_START_TIME
1787020181.7237
THINK_START_MEM
414392
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