无法加载数据库驱动: Think\Db\Driver\

浏览:14532 发布日期:2015/02/28
3.2.3 - 普通 - 未处理
无法加载数据库驱动: Think\Db\Driver\

已经开启extension=php_pdo_mssql.dll并重启了apache

/* 数据库设置 */
'DB_TYPE' => 'mysql', // 数据库类型
'DB_HOST' => '127.0.0.1', // 服务器地址
'DB_USER' => 'test', // 数据库服务器用户名
'DB_PWD' => 'test', // 数据库服务器用户名密码
'DB_NAME' => 'web_study', // 数据库服务器数据库名
'DB_PORT' => '3306', // 端口






无法加载数据库驱动: Think\Db\Driver\
错误位置
FILE: D:\net\Webframework\PHP\ThinkPHP\Library\Think\Db.class.php  LINE: 42
TRACE
#0 D:\net\Webframework\PHP\ThinkPHP\Library\Think\Db.class.php(42): E('???????????????...')
#1 D:\net\Webframework\PHP\ThinkPHP\Library\Think\Model.class.php(1423): Think\Db::getInstance('')
#2 D:\net\Webframework\PHP\ThinkPHP\Library\Think\Model.class.php(97): Think\Model->db(0, '', true)
#3 D:\net\apps\oa\Module\Admin\Controller\StudentController.class.php(13): Think\Model->__construct()
#4 [internal function]: Admin\Controller\StudentController->ShowList()
#5 D:\net\Webframework\PHP\ThinkPHP\Library\Think\App.class.php(164): ReflectionMethod->invoke(object(Admin\Controller\StudentController))
#6 D:\net\Webframework\PHP\ThinkPHP\Library\Think\App.class.php(202): Think\App::exec()
#7 D:\net\Webframework\PHP\ThinkPHP\Library\Think\Think.class.php(120): Think\App::run()
#8 D:\net\Webframework\PHP\ThinkPHP\ThinkPHP.php(97): Think\Think::start()
#9 D:\net\appswww\oa\Config\config_core.php(7): include('D:\net\Webframe...')
#10 D:\net\appswww\oa\index.php(6): include('D:\net\appswww\...')
#11 {main}
ThinkPHP3.2.3 { Fast & Simple OOP PHP framework } -- [ WE CAN DO IT JUST THINK ]
评论(
后面还有条评论,点击查看>>