[0] HttpException in App.php line 374

控制器不存在:Notice

  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 374
  2. at App::module(['index', 'notice', 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('D:\xampp\htdocs\ehfw...') in index.php line 17

Environment Variables

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

Server/Request Data

REDIRECT_PATH_INFO
index/notice
REDIRECT_MIBDIRS
D:/xampp/php/extras/mibs
REDIRECT_MYSQL_HOME
\xampp\mysql\bin
REDIRECT_OPENSSL_CONF
D:/xampp/apache/bin/openssl.cnf
REDIRECT_PHP_PEAR_SYSCONF_DIR
\xampp\php
REDIRECT_PHPRC
\xampp\php
REDIRECT_TMP
\xampp\tmp
REDIRECT_STATUS
200
MIBDIRS
D:/xampp/php/extras/mibs
MYSQL_HOME
\xampp\mysql\bin
OPENSSL_CONF
D:/xampp/apache/bin/openssl.cnf
PHP_PEAR_SYSCONF_DIR
\xampp\php
PHPRC
\xampp\php
TMP
\xampp\tmp
HTTP_USER_AGENT
Mozilla/5.0+(compatible;+Baiduspider/2.0;++http://www.baidu.com/search/spider.html)
HTTP_HOST
www.jllyt.cn
HTTP_ACCEPT
*/*
HTTP_ACCEPT_ENCODING
deflate, gzip
PATH
C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\dotnet\;C:\Users\Administrator\.dotnet\tools
SystemRoot
C:\Windows
COMSPEC
C:\Windows\system32\cmd.exe
PATHEXT
.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
WINDIR
C:\Windows
SERVER_SIGNATURE
<address>Apache/2.4.26 (Win32) OpenSSL/1.0.2l PHP/5.6.31 Server at www.jllyt.cn Port 80</address>
SERVER_SOFTWARE
Apache/2.4.26 (Win32) OpenSSL/1.0.2l PHP/5.6.31
SERVER_NAME
www.jllyt.cn
SERVER_ADDR
172.17.206.87
SERVER_PORT
80
REMOTE_ADDR
175.29.128.236
DOCUMENT_ROOT
D:/xampp/htdocs/ehfwpt/
REQUEST_SCHEME
http
CONTEXT_PREFIX
CONTEXT_DOCUMENT_ROOT
D:/xampp/htdocs/ehfwpt/
SERVER_ADMIN
postmaster@localhost
SCRIPT_FILENAME
D:/xampp/htdocs/ehfwpt/index.php
REMOTE_PORT
20001
REDIRECT_URL
/index/notice
GATEWAY_INTERFACE
CGI/1.1
SERVER_PROTOCOL
HTTP/1.1
REQUEST_METHOD
GET
QUERY_STRING
REQUEST_URI
/index/notice
SCRIPT_NAME
/index.php
PHP_SELF
/index.php
REQUEST_TIME_FLOAT
1614716543.976
REQUEST_TIME
1614716543
PATH_INFO
index/notice
Environment Variables
empty

ThinkPHP Constants

APP_PATH
D:\xampp\htdocs\ehfwpt/application/
THINK_VERSION
5.0.7
THINK_START_TIME
1614716543.9786
THINK_START_MEM
149400
EXT
.php
DS
\
THINK_PATH
D:\xampp\htdocs\ehfwpt\thinkphp\
LIB_PATH
D:\xampp\htdocs\ehfwpt\thinkphp\library\
CORE_PATH
D:\xampp\htdocs\ehfwpt\thinkphp\library\think\
TRAIT_PATH
D:\xampp\htdocs\ehfwpt\thinkphp\library\traits\
ROOT_PATH
D:\xampp\htdocs\ehfwpt\
EXTEND_PATH
D:\xampp\htdocs\ehfwpt\extend\
VENDOR_PATH
D:\xampp\htdocs\ehfwpt\vendor\
RUNTIME_PATH
D:\xampp\htdocs\ehfwpt\runtime\
LOG_PATH
D:\xampp\htdocs\ehfwpt\runtime\log\
CACHE_PATH
D:\xampp\htdocs\ehfwpt\runtime\cache\
TEMP_PATH
D:\xampp\htdocs\ehfwpt\runtime\temp\
CONF_PATH
D:\xampp\htdocs\ehfwpt/application/
CONF_EXT
.php
ENV_PREFIX
PHP_
IS_CLI
false
IS_WIN
true