string(37910) "


    
    System Error
    
    
    


    
  1. $route = [$module, $controller, $action];
  2. // 检查地址是否被定义过路由
  3. $name = strtolower($module . '/' . Loader::parseName($controller, 1) . '/' . $action);
  4. $name2 = '';
  5. if (empty($module) || isset($bind) && $module == $bind) {
  6. $name2 = strtolower(Loader::parseName($controller, 1) . '/' . $action);
  7. }
  8. if (isset(self::$rules['name'][$name]) || isset(self::$rules['name'][$name2])) {
  9. throw new HttpException(404, 'invalid request:' . str_replace('|', $depr, $url));
  10. }
  11. }
  12. return ['type' => 'module', 'module' => $route];
  13. }
  14. /**
  15. * 解析URL的pathinfo参数和变量
  16. * @access private
  17. * @param string $url URL地址

Environment Variables

GET Data
empty
POST Data
empty
Files
empty

Cookies

is_mobile
0
PHPSESSID
6lgb9jb83rkrfiba0mbinp6p32
Session
empty

Server/Request Data

USER
www
HOME
/home/www
HTTP_COOKIE
is_mobile=0; PHPSESSID=6lgb9jb83rkrfiba0mbinp6p32
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/Index/index.html
REDIRECT_STATUS
200
SERVER_NAME
www.xctecno.it
SERVER_PORT
443
SERVER_ADDR
172.16.0.135
REMOTE_PORT
29030
REMOTE_ADDR
216.73.216.168
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
REQUEST_URI
/home/Index/index.html
SCRIPT_NAME
/index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD
GET
QUERY_STRING
s=home/Index/index.html
SCRIPT_FILENAME
/www/wwwroot/www.xctecno.it/index.php
FCGI_ROLE
RESPONDER
PHP_SELF
/index.php
REQUEST_TIME_FLOAT
1781776101.9609
REQUEST_TIME
1781776101
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
1781776101
THINK_VERSION
5.0.15
THINK_START_TIME
1781776101.9617
THINK_START_MEM
416136
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
"
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(123): think\exception\Handle->convertExceptionToResponse(Object(think\exception\HttpException)) #3 /www/wwwroot/www.xctecno.it/thinkphp/library/think/exception/Handle.php(94): think\exception\Handle->renderHttpException(Object(think\exception\HttpException)) #4 /www/wwwroot/www.xctecno.it/thinkphp/library/think/Error.php(53): think\exception\Handle->render(Object(think\exception\HttpException)) #5 [internal function]: think\Error::appException(Object(think\exception\HttpException)) #6 {main} throw in /www/wwwroot/www.xctecno.it/thinkphp/library/think/exception/Handle.php on line 190
string(37344) "


    
    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(123): think\exception\Handle->convertExceptionToResponse(Object(think\exception\HttpException))
#3 /www/wwwroot/www.xctecno.it/thinkphp/library/think/exception/Handle.php(94): think\exception\Handle->renderHttpException(Object(think\exception\HttpException))
#4 /www/wwwroot/www.xctecno.it/thinkphp/library/think/Error.php(53): think\exception\Handle->render(Object(think\exception\HttpException))
#5 [internal function]: think\Error::appException(Object(think\exception\HttpException))
#6 {main}
throw

  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

is_mobile
0
PHPSESSID
6lgb9jb83rkrfiba0mbinp6p32
Session
empty

Server/Request Data

USER
www
HOME
/home/www
HTTP_COOKIE
is_mobile=0; PHPSESSID=6lgb9jb83rkrfiba0mbinp6p32
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/Index/index.html
REDIRECT_STATUS
200
SERVER_NAME
www.xctecno.it
SERVER_PORT
443
SERVER_ADDR
172.16.0.135
REMOTE_PORT
29030
REMOTE_ADDR
216.73.216.168
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
REQUEST_URI
/home/Index/index.html
SCRIPT_NAME
/index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD
GET
QUERY_STRING
s=home/Index/index.html
SCRIPT_FILENAME
/www/wwwroot/www.xctecno.it/index.php
FCGI_ROLE
RESPONDER
PHP_SELF
/index.php
REQUEST_TIME_FLOAT
1781776101.9609
REQUEST_TIME
1781776101
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
1781776101
THINK_VERSION
5.0.15
THINK_START_TIME
1781776101.9617
THINK_START_MEM
416136
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
"
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