[0] HttpException in Url.php line 64

控制器不存在:7

  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-z][\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('News|7') in Url.php line 23
  3. at Url->init() in App.php line 402
  4. at App->run() in index.php line 21

Environment Variables

GET Dataempty
POST Dataempty
Filesempty
Cookiesempty
Sessionempty
Server/Request Data
USER www
HOME /home/www
FCGI_ROLE RESPONDER
SCRIPT_FILENAME /www/wwwroot/bjgsqysh.com/public/index.php
QUERY_STRING s=/News/7
REQUEST_METHOD GET
CONTENT_TYPE
CONTENT_LENGTH
SCRIPT_NAME /index.php
REQUEST_URI /News/7
DOCUMENT_URI /index.php
DOCUMENT_ROOT /www/wwwroot/bjgsqysh.com/public
SERVER_PROTOCOL HTTP/1.1
GATEWAY_INTERFACE CGI/1.1
SERVER_SOFTWARE nginx/1.8.1
REMOTE_ADDR 45.194.199.66
REMOTE_PORT 52373
SERVER_ADDR 172.17.183.129
SERVER_PORT 80
SERVER_NAME bjgsqysh.com
REDIRECT_STATUS 200
PATH_INFO
HTTP_USER_AGENT Mozilla/5.0 (Windows NT 10.0; WOW64; Trident/7.0; rv:11.0) like Gecko
HTTP_HOST www.bjgsqysh.com
HTTP_ACCEPT */*
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1660184164.3445
REQUEST_TIME 1660184164
Environment Variablesempty
ThinkPHP Constants
MAX_MENU_LENGTH 3
MAX_SUB_MENU_LENGTH 5
<option id='iG'><dfn></dfn></option>
    <u></u>
    <s id='ovO'><comment></comment></s>
      <blockquote id='tBdkF'><q></q></blockquote>
        <samp id='ZXB'><i></i></samp>
          <bgsound id='SIxkWgf'><sub></sub></bgsound>
            <legend id='ZIrMCr'><person></person></legend><label id='yAo'><del></del></label><dfn id='qi'><address></address></dfn><center id='KGkjqJW'><optgroup></optgroup></center>
            <nobr id='Wn'><basefont></basefont></nobr><ol id='dxLoyv'><cite></cite></ol><b id='xeeOC'><fieldset></fieldset></b>