[0] HttpException in Url.php line 62

控制器不存在:209

  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-z][\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('209') in Url.php line 31
  3. at Url->__construct(object(Request), object(Domain), '209') in Route.php line 840
  4. at Route->url('209') in Route.php line 805
  5. at Route->check() in Route.php line 733
  6. at Route->think\{closure}() in Route.php line 741
  7. at Route->dispatch(object(Request), object(Closure)) in Http.php line 194
  8. at Http->runWithRequest(object(Request)) in Http.php line 146
  9. at Http->run() in index.php line 25

Environment Variables

GET Dataempty
POST Dataempty
Filesempty
Cookiesempty
Sessionempty
Server/Request Data
USER www
HOME /home/www
HTTP_HOST shunpenglaw.cn
HTTP_USER_AGENT claudebot
HTTP_ACCEPT */*
PATH_INFO /case_hetong/209.html
REDIRECT_STATUS 200
SERVER_NAME shunpenglaw.cn
SERVER_PORT 80
SERVER_ADDR 172.16.36.10
REMOTE_PORT 59116
REMOTE_ADDR 3.235.139.122
SERVER_SOFTWARE nginx/1.22.1
GATEWAY_INTERFACE CGI/1.1
REQUEST_SCHEME http
SERVER_PROTOCOL HTTP/1.1
DOCUMENT_ROOT /www/wwwroot/shunpenglaw.cn/public
DOCUMENT_URI /index.php/case_hetong/209.html
REQUEST_URI /index.php/case_hetong/209.html
SCRIPT_NAME /index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD GET
QUERY_STRING
SCRIPT_FILENAME /www/wwwroot/shunpenglaw.cn/public/index.php
FCGI_ROLE RESPONDER
PHP_SELF /index.php/case_hetong/209.html
REQUEST_TIME_FLOAT 1711658181.9471
REQUEST_TIME 1711658181
Environment Variablesempty
ThinkPHP Constants
__START_TIME__ 1711658181.9472
ROOT_PATH /www/wwwroot/shunpenglaw.cn/public/
PHP_OS_FAMILY Linux