[0] HttpException in App.php line 369

控制器不存在:Salescn

  1. // 设置当前请求的控制器、操作
  2. $request->controller(Loader::parseName($controller, 1))->action($actionName);
  3. // 监听module_init
  4. Hook::listen('module_init', $request);
  5. $instance = Loader::controller($controller, $config['url_controller_layer'], $config['controller_suffix'], $config['empty_controller']);
  6. if (is_null($instance)) {
  7. throw new HttpException(404, 'controller not exists:' . Loader::parseName($controller, 1));
  8. }
  9. // 获取当前操作名
  10. $action = $actionName . $config['action_suffix'];
  11. $vars = [];
  12. if (is_callable([$instance, $action])) {
  13. // 执行操作方法
  14. $call = [$instance, $action];
  15. } elseif (is_callable([$instance, '_empty'])) {

Call Stack

  1. in App.php line 369
  2. at App::module(['www', 'salescn', null], ['app_namespace' => 'app', 'app_debug' => true, 'app_trace' => false, ...], null) in App.php line 130
  3. at App::run() in start.php line 18
  4. at require('/www/web/cspengpai/p...') in index.php line 21

Environment Variables

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

Server/Request Data

REDIRECT_STATUS
200
HTTP_USER_AGENT
Mozilla/5.0+(compatible;+Baiduspider/2.0;++http://www.baidu.com/search/spider.html)
HTTP_HOST
www.kwwh.cn
HTTP_ACCEPT
*/*
HTTP_ACCEPT_ENCODING
deflate, gzip
PATH
/sbin:/usr/sbin:/bin:/usr/bin
SERVER_SIGNATURE
SERVER_SOFTWARE
Apache
SERVER_NAME
www.kwwh.cn
SERVER_ADDR
172.18.136.130
SERVER_PORT
80
REMOTE_ADDR
154.206.45.202
DOCUMENT_ROOT
/www/web/cspengpai/public_html/kwwh_cn_html
REQUEST_SCHEME
http
CONTEXT_PREFIX
CONTEXT_DOCUMENT_ROOT
/www/web/cspengpai/public_html/kwwh_cn_html
SERVER_ADMIN
you@example.com
SCRIPT_FILENAME
/www/web/cspengpai/public_html/kwwh_cn_html/index.php
REMOTE_PORT
20018
REDIRECT_URL
/salescn.html
GATEWAY_INTERFACE
CGI/1.1
SERVER_PROTOCOL
HTTP/1.1
REQUEST_METHOD
GET
QUERY_STRING
REQUEST_URI
/salescn.html
SCRIPT_NAME
/index.php
PATH_INFO
/salescn.html
PATH_TRANSLATED
redirect:/index.php/salescn.html
PHP_SELF
/index.php/salescn.html
REQUEST_TIME_FLOAT
1568703040.604
REQUEST_TIME
1568703040
Environment Variables
empty

ThinkPHP Constants

APP_PATH
/www/web/cspengpai/public_html/kwwh_cn_html/../kwwh_cn/
BIND_MODULE
www
THINK_VERSION
5.0.7
THINK_START_TIME
1568703040.6056
THINK_START_MEM
261240
EXT
.php
DS
/
THINK_PATH
/www/web/cspengpai/public_html/thinkphp/
LIB_PATH
/www/web/cspengpai/public_html/thinkphp/library/
CORE_PATH
/www/web/cspengpai/public_html/thinkphp/library/think/
TRAIT_PATH
/www/web/cspengpai/public_html/thinkphp/library/traits/
ROOT_PATH
/www/web/cspengpai/public_html/
EXTEND_PATH
/www/web/cspengpai/public_html/extend/
VENDOR_PATH
/www/web/cspengpai/public_html/vendor/
RUNTIME_PATH
/www/web/cspengpai/public_html/runtime/
LOG_PATH
/www/web/cspengpai/public_html/runtime/log/
CACHE_PATH
/www/web/cspengpai/public_html/runtime/cache/
TEMP_PATH
/www/web/cspengpai/public_html/runtime/temp/
CONF_PATH
/www/web/cspengpai/public_html/kwwh_cn_html/../kwwh_cn/
CONF_EXT
.php
ENV_PREFIX
PHP_
IS_CLI
false
IS_WIN
false