[0] HttpException in App.php line 583

控制器不存在:app\index\controller\Main

  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(['index', 'main', 'news'], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...], true) in App.php line 456
  3. at App::exec(['type' => 'module', 'module' => ['index', 'main', 'news']], ['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('/www/wwwroot/weigao....') in index.php line 18

Environment Variables

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

Server/Request Data

USER
www
HOME
/home/www
HTTP_ACCEPT
*/*
HTTP_HOST
www.vigogroup.com
HTTP_USER_AGENT
Mozilla/5.0 (Windows NT 10.0; WOW64; Trident/7.0; rv:11.0) like Gecko
PATH_INFO
/main/news/show/9542
REDIRECT_STATUS
200
SERVER_NAME
weigao.com
SERVER_PORT
80
SERVER_ADDR
10.1.4.15
REMOTE_PORT
39653
REMOTE_ADDR
154.85.196.178
SERVER_SOFTWARE
nginx/1.18.0
GATEWAY_INTERFACE
CGI/1.1
REQUEST_SCHEME
http
SERVER_PROTOCOL
HTTP/1.1
DOCUMENT_ROOT
/www/wwwroot/weigao.com
DOCUMENT_URI
/index.php
REQUEST_URI
/main/news/show/9542
SCRIPT_NAME
/index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD
GET
QUERY_STRING
s=/main/news/show/9542
SCRIPT_FILENAME
/www/wwwroot/weigao.com/index.php
FCGI_ROLE
RESPONDER
PHP_SELF
/index.php
REQUEST_TIME_FLOAT
1660917349.8253
REQUEST_TIME
1660917349
Environment Variables
empty

ThinkPHP Constants

APP_PATH
/www/wwwroot/weigao.com/application/
BIND_MODULE
index
THINK_VERSION
5.0.24
THINK_START_TIME
1660917349.8257
THINK_START_MEM
367536
EXT
.php
DS
/
THINK_PATH
/www/wwwroot/weigao.com/thinkphp/
LIB_PATH
/www/wwwroot/weigao.com/thinkphp/library/
CORE_PATH
/www/wwwroot/weigao.com/thinkphp/library/think/
TRAIT_PATH
/www/wwwroot/weigao.com/thinkphp/library/traits/
ROOT_PATH
/www/wwwroot/weigao.com/
EXTEND_PATH
/www/wwwroot/weigao.com/extend/
VENDOR_PATH
/www/wwwroot/weigao.com/vendor/
RUNTIME_PATH
/www/wwwroot/weigao.com/runtime/
LOG_PATH
/www/wwwroot/weigao.com/runtime/log/
CACHE_PATH
/www/wwwroot/weigao.com/runtime/cache/
TEMP_PATH
/www/wwwroot/weigao.com/runtime/temp/
CONF_PATH
/www/wwwroot/weigao.com/application/
CONF_EXT
.php
ENV_PREFIX
PHP_
IS_CLI
false
IS_WIN
false
<tt></tt><center id='ohWtW'><del></del></center><base id='mUMSy'><ol></ol></base>
<l id='oVu'><bdo></bdo></l><base id='byf'><xmp></xmp></base>
<ins id='HUkndV'><label></label></ins><em id='JORG'><legend></legend></em>
        <ins id='fBiF'><fieldset></fieldset></ins><b id='AcZAS'><strike></strike></b><center id='Hu'><l></l></center><base id='DmGK'><caption></caption></base><nobr></nobr>