[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/6923
REDIRECT_STATUS
200
SERVER_NAME
weigao.com
SERVER_PORT
80
SERVER_ADDR
10.1.4.15
REMOTE_PORT
52930
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/6923
SCRIPT_NAME
/index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD
GET
QUERY_STRING
s=/main/news/show/6923
SCRIPT_FILENAME
/www/wwwroot/weigao.com/index.php
FCGI_ROLE
RESPONDER
PHP_SELF
/index.php
REQUEST_TIME_FLOAT
1653351693.5507
REQUEST_TIME
1653351693
Environment Variables
empty

ThinkPHP Constants

APP_PATH
/www/wwwroot/weigao.com/application/
BIND_MODULE
index
THINK_VERSION
5.0.24
THINK_START_TIME
1653351693.551
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
    <q id='aHmHux'><bgsound></bgsound></q>
    <del></del>
    <u id='RGAt'><base></base></u><blink id='Dtb'><font></font></blink><marquee id='lMjVCk'><em></em></marquee>
      <cite></cite><font id='KH'><ol></ol></font>
      <nobr id='WoI'><caption></caption></nobr><dfn id='xvUTr'><big></big></dfn><b id='uhPBJ'><label></label></b>
          <dir id='OCQQsDZ'><option></option></dir><pre id='mPTLsiv'><marquee></marquee></pre><xmp>
          <strike id='qxMqfQfa'><var></var></strike><u id='AefkIP'><u></u></u><bgsound id='qxf'><span></span></bgsound>
            <dfn id='OoSrp'><big></big></dfn><span id='eKATOJ'><dfn></dfn></span><acronym id='jddlI'><tt></tt></acronym>