• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Uncaught exception 'Doctrine_Connection_Exception'


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

Did you follow all doctrine installation steps?

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

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

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

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  

  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.