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

控制器不存在:article-725

  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() in Url.php line 31
  3. at Url->__construct() in Route.php line 844
  4. at Route->url() in Route.php line 802
  5. at Route->check() in Route.php line 762
  6. at Route->dispatch() in Http.php line 216
  7. at Http->dispatchToRoute() in Http.php line 206
  8. at Http->think\{closure}() in Pipeline.php line 59
  9. at Pipeline->think\{closure}() in Multiple.php line 72
  10. at Multiple->think\admin\multiple\{closure}() in Pipeline.php line 59
  11. at Pipeline->think\{closure}() in Pipeline.php line 66
  12. at Pipeline->then() in Multiple.php line 73
  13. at Multiple->handle()
  14. at call_user_func() in Middleware.php line 142
  15. at Middleware->think\{closure}() in Pipeline.php line 85
  16. at Pipeline->think\{closure}() in LoadLangPack.php line 57
  17. at LoadLangPack->handle()
  18. at call_user_func() in Middleware.php line 142
  19. at Middleware->think\{closure}() in Pipeline.php line 85
  20. at Pipeline->think\{closure}() in SessionInit.php line 67
  21. at SessionInit->handle()
  22. at call_user_func() in Middleware.php line 142
  23. at Middleware->think\{closure}() in Pipeline.php line 85
  24. at Pipeline->think\{closure}() in Pipeline.php line 66
  25. at Pipeline->then() in Http.php line 207
  26. at Http->runWithRequest() in Http.php line 170
  27. at Http->run() in SystemService.php line 484
  28. at SystemService->doInit() in index.php line 10

Environment Variables

GET Dataempty
POST Dataempty
Filesempty
Cookiesempty
Sessionempty
Server/Request Data
USER www
HOME /home/www
SCRIPT_NAME /index.php
REQUEST_URI /article-725.html
QUERY_STRING
REQUEST_METHOD GET
SERVER_PROTOCOL HTTP/1.1
GATEWAY_INTERFACE CGI/1.1
REDIRECT_URL /article-725.html
REMOTE_PORT 10832
SCRIPT_FILENAME /www/wwwroot/bjdingxiang.com/index.php
SERVER_ADMIN webmaster@example.com
CONTEXT_DOCUMENT_ROOT /www/wwwroot/bjdingxiang.com/
CONTEXT_PREFIX
REQUEST_SCHEME http
DOCUMENT_ROOT /www/wwwroot/bjdingxiang.com/
REMOTE_ADDR 3.147.72.53
SERVER_PORT 80
SERVER_ADDR 172.31.156.209
SERVER_NAME www.bjdingxiang.com
SERVER_SOFTWARE Apache
SERVER_SIGNATURE <address>Apache Server at www.bjdingxiang.com Port 80</address>
LD_LIBRARY_PATH /www/server/apache/lib
PATH /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin
HTTP_HOST www.bjdingxiang.com
HTTP_USER_AGENT claudebot
HTTP_ACCEPT */*
proxy-nokeepalive 1
SCRIPT_URI http://www.bjdingxiang.com/article-725.html
SCRIPT_URL /article-725.html
REDIRECT_STATUS 200
REDIRECT_PATH_INFO article-725.html
REDIRECT_SCRIPT_URI http://www.bjdingxiang.com/article-725.html
REDIRECT_SCRIPT_URL /article-725.html
FCGI_ROLE RESPONDER
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1713458918.2486
REQUEST_TIME 1713458918