[0] HttpException in App.php line 583

控制器不存在:app\index\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(['index', 'news', 'details'], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...], true) in App.php line 456
  3. at App::exec(['type' => 'module', 'module' => ['index', 'news', 'details']], ['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/www.kyl...') in index.php line 23

Environment Variables

GET Data

id
26
POST Data
empty
Files
empty

Cookies

PHPSESSID
shmkotao6s1pudjmtkbaq856i6
Session
empty

Server/Request Data

USER
www
HOME
/home/www
HTTP_COOKIE
PHPSESSID=shmkotao6s1pudjmtkbaq856i6
HTTP_ACCEPT_ENCODING
gzip
HTTP_ACCEPT
*/*
HTTP_HOST
www.kyle-optics.com
HTTP_USER_AGENT
CCBot/2.0 (https://commoncrawl.org/faq/)
PATH_INFO
/index/news/details.html
REDIRECT_STATUS
200
SERVER_NAME
www.kyle-optics.com
SERVER_PORT
80
SERVER_ADDR
172.26.131.110
REMOTE_PORT
44182
REMOTE_ADDR
170.130.201.42
SERVER_SOFTWARE
nginx/1.22.1
GATEWAY_INTERFACE
CGI/1.1
REQUEST_SCHEME
http
SERVER_PROTOCOL
HTTP/1.1
DOCUMENT_ROOT
/www/wwwroot/www.kyle-optics.com/public
DOCUMENT_URI
/index.php
REQUEST_URI
/index/news/details.html?id=26
SCRIPT_NAME
/index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD
GET
QUERY_STRING
s=/index/news/details.html&id=26
SCRIPT_FILENAME
/www/wwwroot/www.kyle-optics.com/public/index.php
FCGI_ROLE
RESPONDER
PHP_SELF
/index.php
REQUEST_TIME_FLOAT
1718978120.3773
REQUEST_TIME
1718978120
Environment Variables
empty

ThinkPHP Constants

APP_PATH
/www/wwwroot/www.kyle-optics.com/public/../application/
THINK_VERSION
5.0.24
THINK_START_TIME
1718978120.378
THINK_START_MEM
409528
EXT
.php
DS
/
THINK_PATH
/www/wwwroot/www.kyle-optics.com/thinkphp/
LIB_PATH
/www/wwwroot/www.kyle-optics.com/thinkphp/library/
CORE_PATH
/www/wwwroot/www.kyle-optics.com/thinkphp/library/think/
TRAIT_PATH
/www/wwwroot/www.kyle-optics.com/thinkphp/library/traits/
ROOT_PATH
/www/wwwroot/www.kyle-optics.com/
EXTEND_PATH
/www/wwwroot/www.kyle-optics.com/extend/
VENDOR_PATH
/www/wwwroot/www.kyle-optics.com/vendor/
RUNTIME_PATH
/www/wwwroot/www.kyle-optics.com/runtime/
LOG_PATH
/www/wwwroot/www.kyle-optics.com/runtime/log/
CACHE_PATH
/www/wwwroot/www.kyle-optics.com/runtime/cache/
TEMP_PATH
/www/wwwroot/www.kyle-optics.com/runtime/temp/
CONF_PATH
/www/wwwroot/www.kyle-optics.com/public/../application/
CONF_EXT
.php
ENV_PREFIX
PHP_
IS_CLI
false
IS_WIN
false
FILTER_VALIDATE_BOOL
258
ADDON_PATH
/www/wwwroot/www.kyle-optics.com/addons/