[0] HttpException in App.php line 583

控制器不存在:app\www\controller\News

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

Call Stack

  1. in App.php line 583
  2. at App::module(['www', 'news', 'group'], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...], null) in App.php line 457
  3. at App::exec(['type' => 'module', 'module' => ['www', 'news', 'group']], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...]) in App.php line 139
  4. at App::run() in start.php line 19
  5. at require('/opt/webroot/thinkph...') in index.php line 17

Environment Variables

GET Data
empty
POST Data
empty
Files
empty
Cookies
empty
Session
empty

Server/Request Data

ORACLE_HOME
/usr/lib/oracle/11.2/client64/lib
LD_LIBRARY_PATH
/usr/lib/oracle/11.2/client64/lib
USER
apache
HOME
/usr/share/httpd
FCGI_ROLE
RESPONDER
SCRIPT_FILENAME
/opt/webroot/public/index.php
QUERY_STRING
s=//news/group/y2005/20050120/944.html
REQUEST_METHOD
GET
CONTENT_TYPE
CONTENT_LENGTH
SCRIPT_NAME
/index.php
REQUEST_URI
/news/group/y2005/20050120/944.html
DOCUMENT_URI
/index.php
DOCUMENT_ROOT
/etc/nginx/public
SERVER_PROTOCOL
HTTP/1.1
REQUEST_SCHEME
http
GATEWAY_INTERFACE
CGI/1.1
SERVER_SOFTWARE
nginx/1.14.2
REMOTE_ADDR
147.255.31.167
REMOTE_PORT
20000
SERVER_ADDR
117.141.212.245
SERVER_PORT
80
SERVER_NAME
localhost
REDIRECT_STATUS
200
HTTP_USER_AGENT
Mozilla/5.0+(compatible;+Baiduspider/2.0;++http://www.baidu.com/search/spider.html)
HTTP_HOST
www.lzhg.cn
HTTP_ACCEPT
*/*
HTTP_ACCEPT_ENCODING
deflate, gzip
PHP_SELF
/index.php
REQUEST_TIME_FLOAT
1550126034.3377
REQUEST_TIME
1550126034
PATH_INFO
//news/group/y2005/20050120/944.html
Environment Variables
empty

ThinkPHP Constants

APP_PATH
/opt/webroot/public/../lh-app/
THINK_VERSION
5.0.23
THINK_START_TIME
1550126034.3379
THINK_START_MEM
232880
EXT
.php
DS
/
THINK_PATH
/opt/webroot/thinkphp/
LIB_PATH
/opt/webroot/thinkphp/library/
CORE_PATH
/opt/webroot/thinkphp/library/think/
TRAIT_PATH
/opt/webroot/thinkphp/library/traits/
ROOT_PATH
/opt/webroot/
EXTEND_PATH
/opt/webroot/extend/
VENDOR_PATH
/opt/webroot/vendor/
RUNTIME_PATH
/opt/webroot/runtime/
LOG_PATH
/opt/webroot/runtime/log/
CACHE_PATH
/opt/webroot/runtime/cache/
TEMP_PATH
/opt/webroot/runtime/temp/
CONF_PATH
/opt/webroot/public/../lh-app/
CONF_EXT
.php
ENV_PREFIX
PHP_
IS_CLI
false
IS_WIN
false