[0] HttpException in App.php line 388

控制器不存在:Service

  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 388
  2. at App::module(['english', 'service', null], ['app_debug' => true, 'app_trace' => false, 'app_status' => '', ...], null) in App.php line 295
  3. at App::exec(['type' => 'module', 'module' => ['english', 'service', null]], ['app_debug' => true, 'app_trace' => false, 'app_status' => '', ...]) in App.php line 123
  4. at App::run() in start.php line 18
  5. at require('/web/newweb/thinkphp...') in index.php line 23

Environment Variables

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

Server/Request Data

REDIRECT_STATUS
200
HTTP_X_REAL_IP
154.80.134.172
HTTP_X_FORWARDED_FOR
154.80.134.172
HTTP_HOST
www.szzt.com.cn
HTTP_CONNECTION
close
HTTP_USER_AGENT
Mozilla/5.0+(compatible;+Baiduspider/2.0;++http://www.baidu.com/search/spider.html)
HTTP_ACCEPT
*/*
HTTP_ACCEPT_ENCODING
deflate, gzip
PATH
/sbin:/usr/sbin:/bin:/usr/bin
SERVER_SIGNATURE
<address>Apache/2.2.15 (CentOS) Server at www.szzt.com.cn Port 80</address>
SERVER_SOFTWARE
Apache/2.2.15 (CentOS)
SERVER_NAME
www.szzt.com.cn
SERVER_ADDR
172.16.9.25
SERVER_PORT
80
REMOTE_ADDR
172.16.8.3
DOCUMENT_ROOT
/web/newweb
SERVER_ADMIN
root@localhost
SCRIPT_FILENAME
/web/newweb/en/index.php
REMOTE_PORT
30358
REDIRECT_URL
/en/service
GATEWAY_INTERFACE
CGI/1.1
SERVER_PROTOCOL
HTTP/1.0
REQUEST_METHOD
GET
QUERY_STRING
REQUEST_URI
/en/service
SCRIPT_NAME
/en/index.php
PATH_INFO
/service
PATH_TRANSLATED
redirect:/index.php/service
PHP_SELF
/en/index.php/service
REQUEST_TIME_FLOAT
1558934049.534
REQUEST_TIME
1558934049
Environment Variables
empty

ThinkPHP Constants

WEB_PATH
/web/newweb/en/
LANG
en-us
RUNTIME_PATH
/web/newweb/en/runtime/
APP_PATH
/web/newweb/en/../application/
BIND_MODULE
english
THINK_VERSION
5.0.9
THINK_START_TIME
1558934049.5361
THINK_START_MEM
257744
EXT
.php
DS
/
THINK_PATH
/web/newweb/thinkphp/
LIB_PATH
/web/newweb/thinkphp/library/
CORE_PATH
/web/newweb/thinkphp/library/think/
TRAIT_PATH
/web/newweb/thinkphp/library/traits/
ROOT_PATH
/web/newweb/
EXTEND_PATH
/web/newweb/extend/
VENDOR_PATH
/web/newweb/vendor/
LOG_PATH
/web/newweb/en/runtime/log/
CACHE_PATH
/web/newweb/en/runtime/cache/
TEMP_PATH
/web/newweb/en/runtime/temp/
CONF_PATH
/web/newweb/en/../application/
CONF_EXT
.php
ENV_PREFIX
PHP_
IS_CLI
false
IS_WIN
false