search

Home  >  Q&A  >  body text

A system error occurred. Please try again later.

Page error! Please try again later~

ThinkPHP V5.1.31 LTS {Ten years of sharpening a sword-a high-performance framework designed for API development}

My code is the same as the teacher's Ah, why did this happen? I didn’t touch anything

................2163 days ago3851

reply all(3)I'll reply

  • ........

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

    I don’t know where the problem is3.png

    reply
    0
  • ........

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

    [0] HttpException in Module.php line 101

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

               $instance = $this->app->controller($this->controller,                $this->rule->getConfig('url_controller_layer'),                $this->rule->getConfig('controller_suffix'),                $this->rule->getConfig('empty_controller'));            if ($instance instanceof Controller) {                $instance->registerMiddleware();            }        } catch (ClassNotFoundException $e) {            throw new HttpException(404, 'controller not exists:' . $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

    in Module.php line 101

    at Module->exec() in Dispatch.php line 168

    at Dispatch->run() in App.php line 432

    at App->think\{closure}(object(Request), object(Closure), null)

    at call_user_func_array(object(Closure), [object(Request), object(Closure), null]) in Middleware.php line 185

    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->run() in index.php line 21

    Environment Variables

    GET Dataempty

    POST Dataempty

    Filesempty

    Cookies

    pgv_pvi    4668492800    

    Sessionempty

    Server/Request Data

    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    

    SYSTEMROOT    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    redirect:\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.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, like 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.jiangmoon.vip    

    FCGI_ROLE    RESPONDER    

    PHP_SELF    /index.php/user/manger/add/m/5/n/1    

    REQUEST_TIME_FLOAT    1545472867.1028    

    REQUEST_TIME    1545472867    

    Environment Variablesempty

    ThinkPHP Constantsempty


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

    Change the controller in the namespace line to lowercase the first letter.

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