页面错误!请稍后再试~
ThinkPHP V5.1.31 LTS { 十年磨一剑-为API开发设计的高性能框架 }
我的代码啥的都跟老师一样一样的啊 为啥出现这个了?我也没动啥玩意
不知道哪里有问题
[0] Module.php 第 101 行中的 HttpException
控制器不存在:app\user\controller\Manger
$instance = $this->app->controller ($this->controller, $this->rule->getConfig('url_controller_layer'), $this->rule->getConfig('controller_suffix'), $this->rule->getConfig ('空_控制器')); if ($instance instanceof Controller) { $instance->registerMiddleware(); } } catch (ClassNotFoundException $e) { throw new HttpException(404, '控制器不存在:' . $e->getClass()); } $this->app['middleware']->controller(function (Request $request, $next) use ($instance) { // 获取当前操作名 $action = $this->actionName . $this ->rule->getConfig('action_suffix'); if (is_callable([$instance, $action])) { // 执行操作方法 $call = [$instance, $action];
Call Stack
Module.php 第 101 行
在 Dispatch.php 第 168 行中的 Module->exec()
在 Dispatch->run( ) 在 App.php 第 432 行
at App->think\{closure}(object(Request), object(Closure), null)
at call_user_func_array(object(Closure), Middleware.php 第 185 行中的 [object(Request), object(Closure), null])
at Middleware->think\{closure}(object(Request))
at call_user_func (object(Closure), object(Request)) in Middleware.php line 130
at Middleware->dispatch(object(Request)) in App.php line 435
at App- >index.php 第 21 行中的 run()
环境变量
GET Dataempty
POST Dataempty
Filesempty
Cookies
pgv_pvi 4668492800
Sessionempty
服务器/请求数据
PATH C:\Windows\system32;C:\Windows;C:\Windows\System32\ Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\phpStudy\PHPTutorial\MySQL\bin;c:\programdata\composersetup\bin;C:\phpStudy \PHPTutorial\php\php-5.6.27-nts;C:\Users\Administrator\AppData\Local\Microsoft\WindowsApps;C:\Users\Administrator\AppData\Roaming\Composer\vendor\bin
系统根目录 C:\Windows
COMSPEC C:\Windows\system32\cmd.exe
PATHEXT .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH ;.MSC
WINDIR C:\Windows
PHP_FCGI_MAX_REQUESTS 1000
PHPRC C:/myphp_www/PHPTutorial/php/php-7.2.1-nts/
_FCGI_SHUTDOWN_EVENT_ 2264
PATH_TRANSLATED 重定向:\index.php\user\manger\add\m\5\n\1\manger\add\m\5\n\1
PATH_INFO /user/manger/add/m/5/n/1
SCRIPT_NAME /index.php
REQUEST_URI /index.php/user/manger/add/m/5/n/1
QUERY_STRING
REQUEST_METHOD GET
SERVER_PROTOCOL HTTP/1.1
GATEWAY_INTERFACE CGI/1.1
REMOTE_PORT 55056
SCRIPT_FILENAME C:/phpStudy/PHPTutorial/WWW/pk51/public/index.php
SERVER_ADMIN admin@php.cn
CONTEXT_DOCUMENT_ROOT C:/phpStudy/PHPTutorial/WWW/pk51/public
CONTEXT_PREFIX
REQUEST_SCHEME http
DOCUMENT_ROOT C:/phpStudy/PHPTutorial/WWW/pk51/public
REMOTE_ADDR 127.0.0.1
SERVER_PORT 80
SERVER_ADDR 127.0.0.1
SERVER_NAME www.jianmoon.vip
SERVER_SOFTWARE Apache/2.4.23 (Win32) OpenSSL/1.0.2j mod_fcgid/2.3.9
SERVER_SIGNATURE
SystemRoot C:\Windows
HTTP_COOKIE pgv_pvi=4668492800
HTTP_ACCEPT_LANGUAGE zh-CN,zh;q=0.9
HTTP_ACCEPT_ENCODING gzip, deflate
HTTP_ACCEPT text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8
HTTP_USER_AGENT Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML,如 Gecko) Chrome/71.0.3578.80 Safari/537.36
HTTP_UPGRADE_INSECURE_REQUESTS 1
HTTP_CACHE_CONTROL max-age=0
HTTP_CONNECTION close
HTTP_HOST www.jianmoon.vip
FCGI_ROLE RESPONDER
PHP_SELF /index.php/user/manger/add/m/5/n/1
REQUEST_TIME_FLOAT 1545472867.1028
REQUEST_TIME 1545472867
环境变量sempty
ThinkPHP常量sempty
不知道哪里有问题
[0] Module.php 第 101 行中的 HttpException
控制器不存在:app\user\controller\Manger
$instance = $this->app->controller ($this->controller, $this->rule->getConfig('url_controller_layer'), $this->rule->getConfig('controller_suffix'), $this->rule->getConfig ('空_控制器')); if ($instance instanceof Controller) { $instance->registerMiddleware(); } } catch (ClassNotFoundException $e) { throw new HttpException(404, '控制器不存在:' . $e->getClass()); } $this->app['middleware']->controller(function (Request $request, $next) use ($instance) { // 获取当前操作名 $action = $this->actionName . $this ->rule->getConfig('action_suffix'); if (is_callable([$instance, $action])) { // 执行操作方法 $call = [$instance, $action];
Call Stack
Module.php 第 101 行
在 Dispatch.php 第 168 行中的 Module->exec()
在 Dispatch->run( ) 在 App.php 第 432 行
at App->think\{closure}(object(Request), object(Closure), null)
at call_user_func_array(object(Closure), Middleware.php 第 185 行中的 [object(Request), object(Closure), null])
at Middleware->think\{closure}(object(Request))
at call_user_func (object(Closure), object(Request)) in Middleware.php line 130
at Middleware->dispatch(object(Request)) in App.php line 435
at App- >index.php 第 21 行中的 run()
环境变量
GET Dataempty
POST Dataempty
Filesempty
Cookies
pgv_pvi 4668492800
Sessionempty
服务器/请求数据
PATH C:\Windows\system32;C:\Windows;C:\Windows\System32\ Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\phpStudy\PHPTutorial\MySQL\bin;c:\programdata\composersetup\bin;C:\phpStudy \PHPTutorial\php\php-5.6.27-nts;C:\Users\Administrator\AppData\Local\Microsoft\WindowsApps;C:\Users\Administrator\AppData\Roaming\Composer\vendor\bin
系统根目录 C:\Windows
COMSPEC C:\Windows\system32\cmd.exe
PATHEXT .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH ;.MSC
WINDIR C:\Windows
PHP_FCGI_MAX_REQUESTS 1000
PHPRC C:/myphp_www/PHPTutorial/php/php-7.2.1-nts/
_FCGI_SHUTDOWN_EVENT_ 2264
PATH_TRANSLATED 重定向:\index.php\user\manger\add\m\5\n\1\manger\add\m\5\n\1
PATH_INFO /user/manger/add/m/5/n/1
SCRIPT_NAME /index.php
REQUEST_URI /index.php/user/manger/add/m/5/n/1
QUERY_STRING
REQUEST_METHOD GET
SERVER_PROTOCOL HTTP/1.1
GATEWAY_INTERFACE CGI/1.1
REMOTE_PORT 55056
SCRIPT_FILENAME C:/phpStudy/PHPTutorial/WWW/pk51/public/index.php
SERVER_ADMIN admin@php.cn
CONTEXT_DOCUMENT_ROOT C:/phpStudy/PHPTutorial/WWW/pk51/public
CONTEXT_PREFIX
REQUEST_SCHEME http
DOCUMENT_ROOT C:/phpStudy/PHPTutorial/WWW/pk51/public
REMOTE_ADDR 127.0.0.1
SERVER_PORT 80
SERVER_ADDR 127.0.0.1
SERVER_NAME www.jianmoon.vip
SERVER_SOFTWARE Apache/2.4.23 (Win32) OpenSSL/1.0.2j mod_fcgid/2.3.9
SERVER_SIGNATURE
SystemRoot C:\Windows
HTTP_COOKIE pgv_pvi=4668492800
HTTP_ACCEPT_LANGUAGE zh-CN,zh;q=0.9
HTTP_ACCEPT_ENCODING gzip, deflate
HTTP_ACCEPT text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8
HTTP_USER_AGENT Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML,如 Gecko) Chrome/71.0.3578.80 Safari/537.36
HTTP_UPGRADE_INSECURE_REQUESTS 1
HTTP_CACHE_CONTROL max-age=0
HTTP_CONNECTION close
HTTP_HOST www.jianmoon.vip
FCGI_ROLE RESPONDER
PHP_SELF /index.php/user/manger/add/m/5/n/1
REQUEST_TIME_FLOAT 1545472867.1028
REQUEST_TIME 1545472867
环境变量sempty
ThinkPHP常量sempty