搜尋

首頁  >  問答  >  主體

出現系統發生錯誤 請稍後重試

頁面錯誤!請稍後再試~

ThinkPHP V5.1.31 LTS { 十年磨一劍-為API開發設計的高性能框架}

我的程式碼啥的都跟老師一樣一樣的啊   為啥出現這個了?我也沒動啥玩意

................2212 天前3894

全部回覆(3)我來回復

  • ........

    ........2018-12-22 20:48:08

    不知道哪裡有問題3.png

    回覆
    0
  • ........

    ........2018-12-22 18:09:57

    [0] Module.php 第 101 行的 HttpException

    控制器不存在:app\user\controller\Manger

               $instance = $this->app->controller ($this->controller,                $this->rule->getConfig('url_controller_layer'),               $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) {             // 取得目前作業名稱 $. ->getConfig('action_suffix');             if (is_callable([$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:\#PATH    C:\Windows\system32;C:\Windows;C:\#PATH    C:\Windows\system32;C:\Windows;C:\WindowsSystem32:\WindowsSystemC2; \Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\phpStudy\PHPTutorial\MySQL\bin;c:\programdata\composersetup\bin;C:\phpStudy \PHPTutorial\phpprogramdata\composersetup\bin;C:\phpStudy \PHPTutorial\phpprogramdata\composersetup\bin;C:\phpStudy \PHPTutorial\phpprogramdata\composersetup\bin;C:\phpStudy \PHPTutorial\phpprogramdata\composersetup\bin;C:\phpStudy \PHPTutorial\phpprogramdata\composersetup\bin;C:\phpStudy \PHPTutorial\phpprogramdata\composersetup\bin;C:\phpStudy \PHPTutorial\phpprogramdata \php-5.6.27-nts;C:\Users\Administrator\AppData\Local\Microsoft\WindowsApps;C:\Users\Administrator\AppData\Roaming\Composer\vendor\bin    

    系統根目錄CC

    #系統根目錄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    

    PHP_FCGI_MAX_REQUESTS    1000    

    PHPRC ## C. ##_FCGI_SHUTDOWN_EVENT_    2264    

    PATH_TRANSLATED    重定向:\index.php\user\manger\add\m\5\n\1\manger\add\m\5\n\user\manger\add\m\5\n\1\manger\add\m\5\n\user\ # PATH_INFO /user/manger/add/m/5/n/1     

    SCRIPT_NAME    /index.php    

    REQUEST_URI    /index.php/user/manger

    REQUEST_URI    /index.php/user/manger/add/m/5/mangern/ 1

    QUERY_STRING    

    REQUEST_METHOD    GET    

    SERVER_PROTOCOL    HTTP/1.1   

    #PORTGATEWAY_INTERFHTTP   55056    

    ## SCRIPT_FILENAME C:/phpStudy/PHPTutorial/WWW/pk51/public/index.php    

    SERVER_ADMIN    admin@php.cn    

    #CONTEXT_DOCUMENT_RO_Lunf/p.LROr/fm/PH5:212121215 月

    #CONTEXT_PREFIX    

    REQUEST_SCHEME    http    

    DOCUMENT_ROOT    C:/phpStudy/PHPTutorial/WWW/pk51/public  #171

    ##SERVER_PORT    80

    SERVER_ADDR    127.0.0.1    

    SERVER_NAME    www.jianmoon.vip    

    SERVER_SOFTWARE   

    SERVER_SIGNATURE    

    SystemRoot    C:\Windows    

    HTTP_COOKIE    pgv_pvi=4668492800      pgv_pvi=4668492800 系統 

    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 /   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 CHE 1

    HTTP#CA

    HTTP_CONNECTION    close    

    HTTP_HOST    www.jianmoon.vip    

    FCGI_ROLE    RESPONDER    

    1 5472867.1028

    REQUEST_TIME    1545472867    

    環境變數sempty

    ThinkPHP常數sempty

    ##ThinkPHP常數sempty

    ThinkPHP常數sempty


    ThinkPHP常數sempty

    #########

    回覆
    0
  • 我说所有的酒,都不如你

    命名空間namespace那行的controller改成首字母小寫

    我说所有的酒,都不如你 · 2018-12-24 17:35:31
  • 取消回覆