CodeIgniter Forums

Full Version: Uncaught exception 'Doctrine_Connection_Exception'
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

El Forum

[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 !!!

El Forum

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

El Forum

[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

El Forum

[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/code...-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

El Forum

[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