Thinkphp3.2无法加载数据库驱动: Think\Db\Driver\Sqlserver

浏览:3371 发布日期:2014/07/08 分类:求助交流 关键字: sqlserver2012
我用的是sqlserver2012,ThinkPHP 3.2.2报的错误是:
实在整不好,谁知道解决方法吗??跪谢!!。。


无法加载数据库驱动: Think\Db\Driver\Sqlserver
错误位置
FILE: D:\Program Files\Apache Software Foundation\Apache2.2\htdocs\fgb\ThinkPHP\Library\Think\Db.class.php  LINE: 93
TRACE
#0 D:\Program Files\Apache Software Foundation\Apache2.2\htdocs\fgb\ThinkPHP\Library\Think\Db.class.php(93): E('???????????????...')
#1 D:\Program Files\Apache Software Foundation\Apache2.2\htdocs\fgb\ThinkPHP\Library\Think\Db.class.php(65): Think\Db->factory(NULL)
#2 D:\Program Files\Apache Software Foundation\Apache2.2\htdocs\fgb\ThinkPHP\Library\Think\Model.class.php(1287): Think\Db::getInstance(NULL)
#3 D:\Program Files\Apache Software Foundation\Apache2.2\htdocs\fgb\ThinkPHP\Library\Think\Model.class.php(95): Think\Model->db(0, 'DB_CONFIG2', true)
#4 D:\Program Files\Apache Software Foundation\Apache2.2\htdocs\fgb\Application\Home\Controller\IndexController.class.php(8): Think\Model->__construct()
#5 [internal function]: Home\Controller\IndexController->index()
#6 D:\Program Files\Apache Software Foundation\Apache2.2\htdocs\fgb\ThinkPHP\Library\Think\App.class.php(155): ReflectionMethod->invoke(object(Home\Controller\IndexController))
#7 D:\Program Files\Apache Software Foundation\Apache2.2\htdocs\fgb\ThinkPHP\Library\Think\App.class.php(193): Think\App::exec()
#8 D:\Program Files\Apache Software Foundation\Apache2.2\htdocs\fgb\ThinkPHP\Library\Think\Think.class.php(120): Think\App::run()
#9 D:\Program Files\Apache Software Foundation\Apache2.2\htdocs\fgb\ThinkPHP\ThinkPHP.php(96): Think\Think::start()
#10 D:\Program Files\Apache Software Foundation\Apache2.2\htdocs\fgb\index.php(25): require('D:\Program File...')
#11 {main}
ThinkPHP3.2.2 { Fast & Simple OOP PHP framework } -- [ WE CAN DO IT JUST THINK ]
最佳答案
评论( 相关
后面还有条评论,点击查看>>