[0] HttpException in Module.php line 109

控制器不存在:app\index\controller\Contact-us

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

Call Stack

  1. in Module.php line 109
  2. at Module->run() in Url.php line 31
  3. at Url->run() in App.php line 381
  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 119
  6. at Middleware->think\{closure}(object(Request))
  7. at call_user_func(object(Closure), object(Request)) in Middleware.php line 74
  8. at Middleware->dispatch(object(Request)) in App.php line 402
  9. at App->run() in index.php line 11

Environment Variables

GET Dataempty
POST Dataempty
Filesempty
Cookiesempty
Sessionempty
Server/Request Data
USER www
HOME /home/www
HTTP_HOST www.rainandcharles.com
HTTP_USER_AGENT claudebot
HTTP_ACCEPT */*
PATH_INFO /contact-us/
REDIRECT_STATUS 200
SERVER_NAME rainandcharles.com
SERVER_PORT 80
SERVER_ADDR 103.120.82.132
REMOTE_PORT 41300
REMOTE_ADDR 44.200.141.122
SERVER_SOFTWARE nginx/1.15.10
GATEWAY_INTERFACE CGI/1.1
REQUEST_SCHEME http
SERVER_PROTOCOL HTTP/1.1
DOCUMENT_ROOT /www/wwwroot/rainandcharles.com
DOCUMENT_URI /index.php
REQUEST_URI /contact-us/
SCRIPT_NAME /index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD GET
QUERY_STRING s=/contact-us/
SCRIPT_FILENAME /www/wwwroot/rainandcharles.com/index.php
FCGI_ROLE RESPONDER
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1711669495.0047
REQUEST_TIME 1711669495
Environment Variablesempty
ThinkPHP Constants
APP_PATH /home/wwwroot/rainandcharles.com/application/