CodeIgniter Forums
Uncaught exception 'Doctrine_Connection_Exception' - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forum-20.html)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forum-23.html)
+--- Thread: Uncaught exception 'Doctrine_Connection_Exception' (/thread-28590.html)



Uncaught exception 'Doctrine_Connection_Exception' - El Forum - 03-16-2010

[eluser]WebMada[/eluser]
Hello!

In fact, I test a code that I pick up in the net
In my PC with WAMP 2.0, it works but in my laptop with WAMP 1.7, I got this page:
Quote:Fatal error: Uncaught exception 'Doctrine_Connection_Exception' with message 'Couldn't locate driver named mysql' in C:\wamp\www\DEBTOM\system\database\doctrine\Doctrine\Connection.php:465 Stack trace: #0 C:\wamp\www\EDBM08-I\system\database\doctrine\Doctrine\Connection.php(969): Doctrine_Connection->connect() #1 C:\wamp\www\EDBM08-I\system\database\doctrine\Doctrine\Query\Abstract.php(914): Doctrine_Connection->execute('SELECT t.idibme...', Array) #2 C:\wamp\www\EDBM08-I\system\database\doctrine\Doctrine

Sincerely, I don't know what this folder doctrine is? So, I'm searching but if you can help, you're welcome !!!


Uncaught exception 'Doctrine_Connection_Exception' - El Forum - 03-16-2010

[eluser]Mareshal[/eluser]
Did you follow all doctrine installation steps?


Uncaught exception 'Doctrine_Connection_Exception' - El Forum - 03-16-2010

[eluser]WebMada[/eluser]
No, i didn't
I thought that it is a source code like others, no need a special configuration

It's now that I know that it's an ORM mapper. CI doesn't it already use ORM????
OK, I'm going to follow instructions about Doctrine installation


Uncaught exception 'Doctrine_Connection_Exception' - El Forum - 03-16-2010

[eluser]Mareshal[/eluser]
CI doesn't have an ORM. Even the Active Record is not a native one. Is just used to arrange a bit the usual SQL. try this for doctrine: http://www.doctrine-project.org/documentation and THE BEST OF THE BEST is this: http://www.phpandstuff.com/articles/codeigniter-doctrine-from-scratch-day-1-install-and-setup search for his articles on Tutsplus network too Wink

and also, try this: http://ellislab.com/forums/viewthread/149388/ . Is an ORM for CI, doctrine is developed by symfony team, so...you choose. I would recommed OverZealous Wink


Uncaught exception 'Doctrine_Connection_Exception' - El Forum - 03-16-2010

[eluser]WebMada[/eluser]
Thanks for the links

So, this bug is not a CI one

My problem now is that Doctrine is not loaded as plugin like most of the links you give
I will manage, I know now what is Doctrine