#0 [0]HttpException in Url.php line 62

控制器不存在:page-view-id-52

  1. $path = $this->rule->parseUrlPath($url);
  2. if (empty($path)) {
  3. return [null, null];
  4. }
  5. // 解析控制器
  6. $controller = !empty($path) ? array_shift($path) : null;
  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. $var = [];
  13. // 解析额外参数
  14. if ($path) {
  15. preg_replace_callback('/(\w+)\|([^\|]+)/', function ($match) use (&$var) {

Call Stack

  1. in Url.php line 62
  2. at Url->parseUrl('page-view-id-52') in Url.php line 31
  3. at Url->__construct(object(Request), object(Domain), 'page-view-id-52') in Route.php line 812
  4. at Route->url('page-view-id-52') in Route.php line 777
  5. at Route->check() in Route.php line 737
  6. at Route->dispatch(object(Request), object(Closure)) in Http.php line 213
  7. at Http->dispatchToRoute(object(Request)) in Http.php line 203
  8. at Http->think\{closure}(object(Request)) in Pipeline.php line 59
  9. at Pipeline->think\{closure}(object(Request)) in SessionInit.php line 67
  10. at SessionInit->handle(object(Request), object(Closure))
  11. at call_user_func([object(SessionInit), 'handle'], object(Request), object(Closure)) in Middleware.php line 142
  12. at Middleware->think\{closure}(object(Request), object(Closure)) in Pipeline.php line 84
  13. at Pipeline->think\{closure}(object(Request)) in Pipeline.php line 65
  14. at Pipeline->then(object(Closure)) in Http.php line 204
  15. at Http->runWithRequest(object(Request)) in Http.php line 162
  16. at Http->run() in index.php line 20

Environment Variables

GET Data
industry_parent B
industry B07
POST Dataempty
Filesempty
Cookiesempty
Sessionempty
Server/Request Data
USER www
HOME /home/www
HTTP_USER_AGENT claudebot
HTTP_ACCEPT */*
HTTP_HOST s7fw.com
PATH_INFO /page-view-id-52.html
REDIRECT_STATUS 200
SERVER_NAME www.s7fw.com
SERVER_PORT 443
SERVER_ADDR 172.17.0.15
REMOTE_PORT 57466
REMOTE_ADDR 54.211.203.45
SERVER_SOFTWARE nginx/1.20.2
GATEWAY_INTERFACE CGI/1.1
HTTPS on
REQUEST_SCHEME https
SERVER_PROTOCOL HTTP/2.0
DOCUMENT_ROOT /www/wwwroot/a.s7fw.com/public
DOCUMENT_URI /index.php/page-view-id-52.html
REQUEST_URI /index.php/page-view-id-52.html?industry_parent=B&industry=B07
SCRIPT_NAME /index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD GET
QUERY_STRING industry_parent=B&industry=B07
SCRIPT_FILENAME /www/wwwroot/a.s7fw.com/public/index.php
FCGI_ROLE RESPONDER
PHP_SELF /index.php/page-view-id-52.html
REQUEST_TIME_FLOAT 1711669982.013
REQUEST_TIME 1711669982
Environment Variables
APP_DEBUG 1
APP_DEFAULT_TIMEZONE Asia/Shanghai
DATABASE_TYPE mysql
DATABASE_HOSTNAME 127.0.0.1
DATABASE_DATABASE s7fw_new
DATABASE_USERNAME s7fw_new
DATABASE_PASSWORD eXGc4biBTyXr282H
DATABASE_PREFIX db_
DATABASE_HOSTPORT 3306
DATABASE_CHARSET utf8
DATABASE_DEBUG 1
LANG_DEFAULT_LANG zh-cn
ThinkPHP Constantsempty