[0] HttpException in Module.php line 66

模块不存在:device

  1. $this->app['lang']->load($this->app->getAppPath() . $module . DIRECTORY_SEPARATOR . 'lang' . DIRECTORY_SEPARATOR . $this->app['request']->langset() . '.php');
  2. // 模块请求缓存检查
  3. $this->app['request']->cache(
  4. $this->app->config('app.request_cache'),
  5. $this->app->config('app.request_cache_expire'),
  6. $this->app->config('app.request_cache_except')
  7. );
  8. } else {
  9. throw new HttpException(404, 'module not exists:' . $module);
  10. }
  11. } else {
  12. // 单一模块部署
  13. $module = '';
  14. $this->app['request']->module($module);
  15. }
  16. // 当前模块路径
  17. $this->app->setModulePath($this->app->getAppPath() . ($module ? $module . DIRECTORY_SEPARATOR : ''));

Call Stack

  1. in Module.php line 66
  2. at Module->run() in Url.php line 26
  3. at Url->run() in App.php line 377
  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 100
  6. at Middleware->think\{closure}(object(Request))
  7. at call_user_func(object(Closure), object(Request)) in Middleware.php line 66
  8. at Middleware->dispatch(object(Request)) in App.php line 398
  9. at App->run() in index.php line 21

Environment Variables

GET Dataempty
POST Dataempty
Filesempty
Cookiesempty
Sessionempty
Server/Request Data
USER www
HOME /home/www
HTTP_ACCEPT_ENCODING deflate, gzip
HTTP_ACCEPT */*
HTTP_HOST www.hbpuji.com
HTTP_USER_AGENT Mozilla/5.0+(compatible;+Baiduspider/2.0;++http://www.baidu.com/search/spider.html)
PATH_INFO /device/
REDIRECT_STATUS 200
SERVER_NAME www.hbpuji.com
SERVER_PORT 80
SERVER_ADDR 192.168.0.4
REMOTE_PORT 20000
REMOTE_ADDR 185.245.3.66
SERVER_SOFTWARE nginx/1.15.10
GATEWAY_INTERFACE CGI/1.1
REQUEST_SCHEME http
SERVER_PROTOCOL HTTP/1.1
DOCUMENT_ROOT /www/wwwroot/www.hbpuji.com/public
DOCUMENT_URI /index.php
REQUEST_URI /device/
SCRIPT_NAME /index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD GET
QUERY_STRING s=/device/
SCRIPT_FILENAME /www/wwwroot/www.hbpuji.com/public/index.php
FCGI_ROLE RESPONDER
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1571754294.0447
REQUEST_TIME 1571754294
Environment Variablesempty
ThinkPHP Constants
PATH /www/wwwroot/www.hbpuji.com/public