views:

205

answers:

1

I have some troubles with Doctrine integration into ZF.

After simple redirect

$this->redirector->setGotoSimple("asd");

Doctrine returns

Doctrine_Connection_Exception: There is no open connection in /Users/insight/Sites/max/library/Doctrine/Manager.php on line 657

if i try to get this "asd" page directly or press f5 at the error page it loads normally with no error. why so?

+2  A: 

I found the mistake. You should not to start session before DoctrineInit in the bootstrap, otherwise, it overrides your serialization data in the Doctrine.

Feel free to mark this answer as 'correct' :)
chelmertz