Thinkphp3.2无法加载数据库驱动: Think\Db\Driver\Sqlserver 10
我用的是sqlserver2012,ThinkPHP3.2.2报的错误是:实在整不好,谁知道解决方法吗??跪谢!!。。无法加载数据库驱动:Think\Db\Driver\...
我用的是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 ] 展开
实在整不好,谁知道解决方法吗??跪谢!!。。
无法加载数据库驱动: 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 ] 展开
展开全部
到官网论坛上去问吧
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询