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

控制器不存在:�ֻ���������ֳ�ֱ��

  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 827
  4. at Route->url() in Route.php line 785
  5. at Route->check() in Route.php line 745
  6. at Route->dispatch() in Http.php line 208
  7. at Http->dispatchToRoute() in Http.php line 198
  8. at Http->think\{closure}() in Pipeline.php line 59
  9. at Pipeline->think\{closure}() in MultiApp.php line 51
  10. at MultiApp->think\app\{closure}() in Pipeline.php line 59
  11. at Pipeline->think\{closure}() in Pipeline.php line 66
  12. at Pipeline->then() in MultiApp.php line 52
  13. at MultiApp->handle()
  14. at call_user_func() in Middleware.php line 134
  15. at Middleware->think\{closure}() in Pipeline.php line 85
  16. at Pipeline->think\{closure}() in SessionInit.php line 58
  17. at SessionInit->handle()
  18. at call_user_func() in Middleware.php line 134
  19. at Middleware->think\{closure}() in Pipeline.php line 85
  20. at Pipeline->think\{closure}() in Pipeline.php line 66
  21. at Pipeline->then() in Http.php line 199
  22. at Http->runWithRequest() in Http.php line 162
  23. at Http->run() in index.php line 24

Environment Variables

GET Dataempty
POST Dataempty
Filesempty
Cookiesempty
Sessionempty
Server/Request Data
USER www
HOME /home/www
HTTP_CF_IPCOUNTRY US
HTTP_CDN_LOOP cloudflare
HTTP_CF_CONNECTING_IP 54.221.43.155
HTTP_USER_AGENT claudebot
HTTP_ACCEPT */*
HTTP_CF_VISITOR {"scheme":"http"}
HTTP_X_FORWARDED_PROTO http
HTTP_CF_RAY 86b754202f2c0823-IAD
HTTP_X_FORWARDED_FOR 54.221.43.155
HTTP_ACCEPT_ENCODING gzip
HTTP_CONNECTION Keep-Alive
HTTP_HOST lhc898.com
PATH_INFO
REDIRECT_STATUS 200
SERVER_NAME lhc898.com
SERVER_PORT 80
SERVER_ADDR 107.173.149.234
REMOTE_PORT 28606
REMOTE_ADDR 172.70.38.15
SERVER_SOFTWARE nginx/1.21.4
GATEWAY_INTERFACE CGI/1.1
REQUEST_SCHEME http
SERVER_PROTOCOL HTTP/1.1
DOCUMENT_ROOT /www/wwwroot/lhc898.com/public
DOCUMENT_URI /index.php
REQUEST_URI /%EF%BF%BD%D6%BB%EF%BF%BD%EF%BF%BD%EF%BF%BD%EF%BF%BD%EF%BF%BD%EF%BF%BD%EF%BF%BD%EF%BF%BD%EF%BF%BD%D6%B3%EF%BF%BD%D6%B1%EF%BF%BD%EF%BF%BD
SCRIPT_NAME /index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD GET
QUERY_STRING s=/%EF%BF%BD%D6%BB%EF%BF%BD%EF%BF%BD%EF%BF%BD%EF%BF%BD%EF%BF%BD%EF%BF%BD%EF%BF%BD%EF%BF%BD%EF%BF%BD%D6%B3%EF%BF%BD%D6%B1%EF%BF%BD%EF%BF%BD
SCRIPT_FILENAME /www/wwwroot/lhc898.com/public/index.php
FCGI_ROLE RESPONDER
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1711625851.0326
REQUEST_TIME 1711625851