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

控制器不存在:k_JS 鐢冲崥

  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 857
  4. at Route->url() in Route.php line 815
  5. at Route->check() in Route.php line 775
  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 middleware.php line 19
  10. at Http->{closure}()
  11. at call_user_func() in Middleware.php line 142
  12. at Middleware->think\{closure}() in Pipeline.php line 85
  13. at Pipeline->think\{closure}() in Pipeline.php line 66
  14. at Pipeline->then() in Http.php line 207
  15. at Http->runWithRequest() in Http.php line 170
  16. at Http->run() in index.php line 21

Environment Variables

GET Dataempty
POST Dataempty
Filesempty
Cookiesempty
Sessionempty
Server/Request Data
USER www
HOME /home/www
HTTP_REFERER http://27xz.cn/k_JS%20%E9%90%A2%E5%86%B2%E5%B4%A5/
HTTP_USER_AGENT claudebot
HTTP_ACCEPT */*
HTTP_HOST www.27xz.cn
PHP_ADMIN_VALUE open_basedir=/home/wwwroot/9917top/www/public/../:/tmp/:/proc/
REDIRECT_STATUS 200
SERVER_NAME 27xz.cn
SERVER_PORT 443
SERVER_ADDR 10.0.4.15
REMOTE_PORT 44972
REMOTE_ADDR 44.193.80.126
SERVER_SOFTWARE nginx/1.22.0
GATEWAY_INTERFACE CGI/1.1
HTTPS on
REQUEST_SCHEME https
SERVER_PROTOCOL HTTP/2.0
DOCUMENT_ROOT /home/wwwroot/9917top/www/public
DOCUMENT_URI /index.php
REQUEST_URI /k_JS%20%E9%90%A2%E5%86%B2%E5%B4%A5/
SCRIPT_NAME /index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD GET
QUERY_STRING s=//k_JS%20%E9%90%A2%E5%86%B2%E5%B4%A5/
SCRIPT_FILENAME /home/wwwroot/9917top/www/public/index.php
FCGI_ROLE RESPONDER
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1711664042.8765
REQUEST_TIME 1711664042