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

控制器不存在:%E8%A7%86%E9%A2%91%E6%95%99%E7%A8%8B

  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 MultiApp.php line 71
  10. at MultiApp->think\app\{closure}() in Pipeline.php line 59
  11. at Pipeline->think\{closure}() in DeviceMiddleware.php line 54
  12. at DeviceMiddleware->handle()
  13. at call_user_func() in Middleware.php line 142
  14. at Middleware->think\{closure}() in Pipeline.php line 85
  15. at Pipeline->think\{closure}() in Pipeline.php line 66
  16. at Pipeline->then() in MultiApp.php line 72
  17. at MultiApp->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 TraceDebug.php line 71
  25. at TraceDebug->handle()
  26. at call_user_func() in Middleware.php line 142
  27. at Middleware->think\{closure}() in Pipeline.php line 85
  28. at Pipeline->think\{closure}() in Pipeline.php line 66
  29. at Pipeline->then() in Http.php line 207
  30. at Http->runWithRequest() in Http.php line 170
  31. at Http->run() in index.php line 18

Environment Variables

GET Dataempty
POST Dataempty
Filesempty
Cookiesempty
Sessionempty
Server/Request Data
HTTPS on
SSL_TLS_SNI www.pangdax.cn
HTTP_ACCEPT */*
HTTP_USER_AGENT claudebot
HTTP_HOST www.pangdax.cn
PATH /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin
SERVER_SIGNATURE <address>Apache/2.4.52 (Ubuntu) Server at www.pangdax.cn Port 443</address>
SERVER_SOFTWARE Apache/2.4.52 (Ubuntu)
SERVER_NAME www.pangdax.cn
SERVER_ADDR 154.198.237.56
SERVER_PORT 443
REMOTE_ADDR 54.234.6.167
DOCUMENT_ROOT /var/www/xiaobenbenhao/public
REQUEST_SCHEME https
CONTEXT_PREFIX
CONTEXT_DOCUMENT_ROOT /var/www/xiaobenbenhao/public
SERVER_ADMIN [no address given]
SCRIPT_FILENAME /var/www/xiaobenbenhao/public/index.php
REMOTE_PORT 33500
GATEWAY_INTERFACE CGI/1.1
SERVER_PROTOCOL HTTP/1.1
REQUEST_METHOD GET
QUERY_STRING s=%25E8%25A7%2586%25E9%25A2%2591%25E6%2595%2599%25E7%25A8%258B
REQUEST_URI /?s=%25E8%25A7%2586%25E9%25A2%2591%25E6%2595%2599%25E7%25A8%258B
SCRIPT_NAME /index.php
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1711699234.6393
REQUEST_TIME 1711699234