|
本帖最后由 gxfjtlq 于 2010-4-20 11:15 编辑
各位大大,我看完这篇文章后http://codeigniter.org.cn/forums/thread-4575-1-1.html本想跟着做一遍谁知道出现了错误,可惜我水平有限只能求助。
错误代码如下:
Fatal error: Uncaught exception 'Doctrine_Connection_Exception' with message 'Couldn't locate driver named mysql' in C:\xuexi\Easy2PHP5\WebSite\CI\system\application\plugins\doctrine\lib\Doctrine\Connection.php:486 Stack trace: #0 C:\xuexi\Easy2PHP5\WebSite\CI\system\application\plugins\doctrine\lib\Doctrine\Connection\Mysql.php(101): Doctrine_Connection->connect() #1 C:\xuexi\Easy2PHP5\WebSite\CI\system\application\plugins\doctrine\lib\Doctrine\Connection\UnitOfWork.php(54): Doctrine_Connection_Mysql->connect() #2 C:\xuexi\Easy2PHP5\WebSite\CI\system\application\plugins\doctrine\lib\Doctrine\Record.php(1705): Doctrine_Connection_UnitOfWork->saveGraph(Object(User)) #3 C:\xuexi\Easy2PHP5\WebSite\CI\system\application\controllers\hello.php(12): Doctrine_Record->save() #4 [internal function]: Hello->user_test() #5 C:\xuexi\Easy2PHP5\WebSite\CI\system\codeigniter\CodeIgniter.php(236): call_user_func_array(Array, Array) #6 C:\xuexi\Easy2PHP5\WebSite\CI\index.php(115): require_once('C:\xuexi\Easy2P...') #7 {main} thrown in C:\xuexi\Easy2PHP5\WebSite\CI\system\application\plugins\doctrine\lib\Doctrine\Connection.php on line 486
而且,我把PDO.dll打开了也重新启动APACHE服务,为什么呢?
|
|