[0] HttpException in Module.php line 96

控制器不存在:app\Home\controller\Index

  1. $this->app['hook']->listen('module_init');
  2. try {
  3. // 实例化控制器
  4. $instance = $this->app->controller($this->controller,
  5. $this->rule->getConfig('url_controller_layer'),
  6. $this->rule->getConfig('controller_suffix'),
  7. $this->rule->getConfig('empty_controller'));
  8. } catch (ClassNotFoundException $e) {
  9. throw new HttpException(404, 'controller not exists:' . $e->getClass());
  10. }
  11. $this->app['middleware']->controller(function (Request $request, $next) use ($instance) {
  12. // 获取当前操作名
  13. $action = $this->actionName . $this->rule->getConfig('action_suffix');
  14. if (is_callable([$instance, $action])) {
  15. // 执行操作方法
  16. $call = [$instance, $action];

Call Stack

  1. in Module.php line 96
  2. at Module->exec() in Dispatch.php line 168
  3. at Dispatch->run() in App.php line 432
  4. at App->think\{closure}(object(Request), object(Closure), null)
  5. at call_user_func_array(object(Closure), [object(Request), object(Closure), null]) in Middleware.php line 185
  6. at Middleware->think\{closure}(object(Request))
  7. at call_user_func(object(Closure), object(Request)) in Middleware.php line 130
  8. at Middleware->dispatch(object(Request)) in App.php line 435
  9. at App->run() in index.php line 21

Environment Variables

GET Data
/shiyan-04_html
POST Dataempty
Filesempty
Cookiesempty
Sessionempty
Server/Request Data
PATH C:\Program Files (x86)\Microsoft\Edge\Application;C:\Users\Administrator\AppData\Local\Microsoft\WindowsApps;C:\Windows;C:\Windows\System32\OpenSSH\;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\system32;C:\xp.cn\com\bin\;C:\Users\Administrator\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
PHPRC D:/phpstudy_pro/Extensions/php/php7.3.4nts
_FCGI_SHUTDOWN_EVENT_ 10308
HTTP_CONNECTION close
SCRIPT_NAME /index.php
REQUEST_URI /shiyan-04.html
QUERY_STRING /shiyan-04.html
REQUEST_METHOD GET
SERVER_PROTOCOL HTTP/1.1
GATEWAY_INTERFACE CGI/1.1
REDIRECT_QUERY_STRING /shiyan-04.html
REDIRECT_URL /shiyan-04.html
REMOTE_PORT 59022
SCRIPT_FILENAME D:/phpstudy_pro/WWW/youlike/public/index.php
SERVER_ADMIN admin@example.com
CONTEXT_DOCUMENT_ROOT D:/phpstudy_pro/WWW/youlike/public
CONTEXT_PREFIX
REQUEST_SCHEME http
DOCUMENT_ROOT D:/phpstudy_pro/WWW/youlike/public
REMOTE_ADDR 3.237.91.98
SERVER_PORT 80
SERVER_ADDR 172.16.179.207
SERVER_NAME www.whulke.com
SERVER_SOFTWARE Apache/2.4.39 (Win64) OpenSSL/1.1.1b mod_fcgid/2.3.9a mod_log_rotate/1.02
SERVER_SIGNATURE
SystemRoot C:\Windows
HTTP_HOST www.whulke.com
HTTP_USER_AGENT claudebot
HTTP_ACCEPT */*
REDIRECT_STATUS 200
FCGI_ROLE RESPONDER
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1711646014.8115
REQUEST_TIME 1711646014
Environment Variablesempty
ThinkPHP Constantsempty