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

控制器不存在:category-65-138

  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('category-65-138') in Url.php line 31
  3. at Url->__construct(object(Request), object(Domain), 'category-65-138') in Route.php line 857
  4. at Route->url('category-65-138') in Route.php line 815
  5. at Route->check() in Route.php line 775
  6. at Route->dispatch(object(Request), object(Closure)) in Http.php line 216
  7. at Http->dispatchToRoute(object(Request)) in Http.php line 206
  8. at Http->think\{closure}(object(Request)) in Pipeline.php line 59
  9. at Pipeline->think\{closure}(object(Request)) in MultiApp.php line 65
  10. at MultiApp->handle(object(Request), object(Closure))
  11. at call_user_func([object(MultiApp), 'handle'], object(Request), object(Closure)) in Middleware.php line 142
  12. at Middleware->think\{closure}(object(Request), object(Closure)) in Pipeline.php line 85
  13. at Pipeline->think\{closure}(object(Request)) in SessionInit.php line 67
  14. at SessionInit->handle(object(Request), object(Closure))
  15. at call_user_func([object(SessionInit), 'handle'], object(Request), object(Closure)) in Middleware.php line 142
  16. at Middleware->think\{closure}(object(Request), object(Closure)) in Pipeline.php line 85
  17. at Pipeline->think\{closure}(object(Request)) in TraceDebug.php line 71
  18. at TraceDebug->handle(object(Request), object(Closure))
  19. at call_user_func([object(TraceDebug), 'handle'], object(Request), object(Closure)) in Middleware.php line 142
  20. at Middleware->think\{closure}(object(Request), object(Closure)) in Pipeline.php line 85
  21. at Pipeline->think\{closure}(object(Request)) in Pipeline.php line 66
  22. at Pipeline->then(object(Closure)) in Http.php line 205
  23. at Http->runWithRequest(object(Request)) in Http.php line 170
  24. at Http->run() in index.php line 20

Environment Variables

GET Dataempty
POST Dataempty
Filesempty
Cookiesempty
Sessionempty
Server/Request Data
REDIRECT_PATH_INFO category-65-138.html
REDIRECT_STATUS 200
HTTP_ACCEPT */*
HTTP_USER_AGENT claudebot
HTTP_HOST slypzx.com
PATH C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\Program Files\Microsoft SQL Server\150\Tools\Binn\;C:\Program Files\Microsoft SQL Server\Client SDK\ODBC\170\Tools\Binn\;C:\Program Files\dotnet\;E:\wangzhan\bin\php\php8.2.13;C:\ProgramData\ComposerSetup\bin;C:\Windows\system32\config\systemprofile\AppData\Local\Microsoft\WindowsApps
SystemRoot C:\Windows
COMSPEC C:\Windows\system32\cmd.exe
PATHEXT .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
WINDIR C:\Windows
SERVER_SIGNATURE <address>Apache/2.4.58 (Win64) PHP/8.2.13 mod_fcgid/2.3.10-dev Server at slypzx.com Port 80</address>
SERVER_SOFTWARE Apache/2.4.58 (Win64) PHP/8.2.13 mod_fcgid/2.3.10-dev
SERVER_NAME slypzx.com
SERVER_ADDR 192.168.10.207
SERVER_PORT 80
REMOTE_ADDR 34.229.223.223
DOCUMENT_ROOT E:/wangzhan/www/sledu/public
REQUEST_SCHEME http
CONTEXT_PREFIX
CONTEXT_DOCUMENT_ROOT E:/wangzhan/www/sledu/public
SERVER_ADMIN wampserver@wampserver.invalid
SCRIPT_FILENAME E:/wangzhan/www/sledu/public/index.php
REMOTE_PORT 53816
REDIRECT_URL /category-65-138.html
GATEWAY_INTERFACE CGI/1.1
SERVER_PROTOCOL HTTP/1.1
REQUEST_METHOD GET
QUERY_STRING
REQUEST_URI /category-65-138.html
SCRIPT_NAME /index.php
PATH_INFO /category-65-138.html
PATH_TRANSLATED redirect:\index.php\category-65-138.html
PHP_SELF /index.php/category-65-138.html
REQUEST_TIME_FLOAT 1710835632.4813
REQUEST_TIME 1710835632
0.009485s