[0] HttpException in Url.php line 64

控制器不存在:supbro-boost修复笔

  1. if ($this->param['auto_search']) {
  2. $controller = $this->autoFindController($module, $path);
  3. } else {
  4. // 解析控制器
  5. $controller = !empty($path) ? array_shift($path) : null;
  6. }
  7. if ($controller && !preg_match('/^[A-Za-z0-9][\w|\.]*$/', $controller)) {
  8. throw new HttpException(404, 'controller not exists:' . $controller);
  9. }
  10. // 解析操作
  11. $action = !empty($path) ? array_shift($path) : null;
  12. // 解析额外参数
  13. if ($path) {
  14. if ($this->rule->getConfig('url_param_type')) {
  15. $var += $path;

Call Stack

  1. in Url.php line 64
  2. at Url->parseUrl('product|supbro-boost...') in Url.php line 23
  3. at Url->init() in App.php line 447
  4. at App->run() in index.php line 33

Environment Variables

GET Data
add-to-cart 633
POST Dataempty
Filesempty
Cookiesempty
Sessionempty
Server/Request Data
USER www
HOME /home/www
HTTP_HOST www.supbrospray.com
HTTP_USER_AGENT claudebot
HTTP_ACCEPT */*
PATH_INFO
REDIRECT_STATUS 200
SERVER_NAME supbrospray.com
SERVER_PORT 80
SERVER_ADDR 172.16.5.2
REMOTE_PORT 59318
REMOTE_ADDR 44.203.219.117
SERVER_SOFTWARE nginx/1.16.1
GATEWAY_INTERFACE CGI/1.1
REQUEST_SCHEME http
SERVER_PROTOCOL HTTP/1.1
DOCUMENT_ROOT /www/wwwroot/supbrospray.com/public
DOCUMENT_URI /index.php
REQUEST_URI /product/supbro-boost%E4%BF%AE%E5%A4%8D%E7%AC%94/?add-to-cart=633
SCRIPT_NAME /index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD GET
QUERY_STRING s=product/supbro-boost%E4%BF%AE%E5%A4%8D%E7%AC%94/&add-to-cart=633
SCRIPT_FILENAME /www/wwwroot/supbrospray.com/public/index.php
FCGI_ROLE RESPONDER
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1711646939.087
REQUEST_TIME 1711646939
Environment Variablesempty
ThinkPHP Constants
APP_DEBUG true
CMF_ROOT /www/wwwroot/supbrospray.com/
CMF_DATA /www/wwwroot/supbrospray.com/data/
APP_PATH /www/wwwroot/supbrospray.com/app/
WEB_ROOT /www/wwwroot/supbrospray.com/public/
HTMLPURIFIER_PREFIX /www/wwwroot/supbrospray.com/vendor/ezyang/htmlpurifier/library
0.066464s