Home > Backend Development > PHP Tutorial > thinkphp,该如何处理

thinkphp,该如何处理

WBOY
Release: 2016-06-13 12:26:32
Original
1085 people have browsed it

thinkphp
我在练习某个thinphp实战项目,是学籍管理系统,后台登陆跳转无法从登陆页面跳转到管理页面 不知道为什么!
登陆form  "

"
admin控制器
namespace Home\Controller;
use Think\Controller;
class AdminController extends Controller {

    public function index() {
     $this->display("index"); //显示管理员主界面

    }
}
?>

就出现这样的
无法加载模块:Admin
错误位置

FILE: F:\wamp\www\XUESHENG\ThinkPHP\Library\Think\Dispatcher.class.php  LINE: 166
TRACE

#0 F:\wamp\www\XUESHENG\ThinkPHP\Library\Think\Dispatcher.class.php(166): E('???????????????...')
#1 F:\wamp\www\XUESHENG\ThinkPHP\Library\Think\App.class.php(26): Think\Dispatcher::dispatch()
#2 F:\wamp\www\XUESHENG\ThinkPHP\Library\Think\App.class.php(172): Think\App::init()
#3 F:\wamp\www\XUESHENG\ThinkPHP\Library\Think\Think.class.php(117): Think\App::run()
#4 F:\wamp\www\XUESHENG\ThinkPHP\ThinkPHP.php(94): Think\Think::start()
#5 F:\wamp\www\XUESHENG\admin.php(24): require('F:\wamp\www\XUE...')
#6 {main}

ThinkPHP3.2.1 { Fast & Simple OOP PHP Framework } -- [ WE CAN DO IT JUST THINK ]

------解决思路----------------------
class AdminController extends Controller {

admin/index" method="post">
改为
Admin/index" method="post">
Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template