ページエラー!後でもう一度お試しください~
ThinkPHP V5.1.31 LTS {刀を研ぎ続けて10年 - API開発向けに設計された高性能フレームワーク}
私のコードは先生のコードと同じです、ああ、なぜこれが起こったのでしょうか?何も触れていない
何が問題なのか分かりません
[0] HttpException in Module.php 行 101
制御器不存在:appusercontrollerManger
$instance = $this->app->controller($this->controller, $this->rule -> ;getConfig('url_controller_layer'), $this->rule->getConfig('controller_suffix'), $this->rule->getConfig('empty_controller')); if ($instanceinstanceofController) { $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];
スタック
Module.php の 101 行目
Dispatch.php の Module->exec() 行 168
App.php の Dispatch->run() 行 432
App->think{closure} (object(Request), object(Closure), null)
at call_user_func_array(object(Closure), [object(Request), object(Closure), null]) in Middleware.php 行 185
at Middleware-> think{closure}(object(Request))
Middleware.php 行 130 の call_user_func(object(Closure), object(Request))
App.php 行の Middleware->dispatch(object(Request)) 435
index.phpの21行目のApp->run()で
環境変数
GET Dataempty
POST Dataempty
Filesempty
Cookies
pgv_pvi 4668492800
セッションが空です
サーバー/リクエストデータ
PATH C:Windowssystem32;C:Windows;C:WindowsSystem32Wbem;C:WindowsSystem32WindowsPowerShellv1.0;C:WindowsSystem32OpenSSH;C:phpStudyPHPTutorialMySQLbin;c:programdatacomposersetupbin;C:phpStudyPHPTutorialphpphp-5.6.27-nts;C:UsersAdministratorAppDataLocalMicrosoftWindowsApps;C:Use rsAdministratorAppDataRoamingComposervendorbin
システムルート C:Windows
COMSPEC C:Windowssystem32cmd.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.phpusermangeraddm5n1mangeraddm5n1
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 VER_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:/php Study/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 1 27.0.0.1
SERVER_NAME www.jiangmoon.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_CONNEC TION 閉じる
HTTP_HOST www.jiangmoon.vip
FCGI_ROLE RESPONDER
PHP_SELF /index.php/user/manger/add/m/5/n/1
REQUEST_TIME_FLOAT 1545472867.1028
REQUEST_TIME 1545472867
ThinkPHP定数空
何が問題なのか分かりません
[0] HttpException in Module.php 行 101
制御器不存在:appusercontrollerManger
$instance = $this->app->controller($this->controller, $this->rule -> ;getConfig('url_controller_layer'), $this->rule->getConfig('controller_suffix'), $this->rule->getConfig('empty_controller')); if ($instanceinstanceofController) { $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];
スタック
Module.php の 101 行目
Dispatch.php の Module->exec() 行 168
App.php の Dispatch->run() 行 432
App->think{closure} (object(Request), object(Closure), null)
at call_user_func_array(object(Closure), [object(Request), object(Closure), null]) in Middleware.php 行 185
at Middleware-> think{closure}(object(Request))
Middleware.php 行 130 の call_user_func(object(Closure), object(Request))
App.php 行の Middleware->dispatch(object(Request)) 435
index.phpの21行目のApp->run()で
環境変数
GET Dataempty
POST Dataempty
Filesempty
Cookies
pgv_pvi 4668492800
セッションが空です
サーバー/リクエストデータ
PATH C:Windowssystem32;C:Windows;C:WindowsSystem32Wbem;C:WindowsSystem32WindowsPowerShellv1.0;C:WindowsSystem32OpenSSH;C:phpStudyPHPTutorialMySQLbin;c:programdatacomposersetupbin;C:phpStudyPHPTutorialphpphp-5.6.27-nts;C:UsersAdministratorAppDataLocalMicrosoftWindowsApps;C:Use rsAdministratorAppDataRoamingComposervendorbin
システムルート C:Windows
COMSPEC C:Windowssystem32cmd.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.phpusermangeraddm5n1mangeraddm5n1
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 VER_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:/php Study/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 1 27.0.0.1
SERVER_NAME www.jiangmoon.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_CONNEC TION 閉じる
HTTP_HOST www.jiangmoon.vip
FCGI_ROLE RESPONDER
PHP_SELF /index.php/user/manger/add/m/5/n/1
REQUEST_TIME_FLOAT 1545472867.1028
REQUEST_TIME 1545472867
環境変数
ThinkPHP定数空