Following a Doctrine / CodeIgniter tutorial
Everything is good up until the very end when I try to insert data through my controller
$user = new Entities\User;
$user->setFirstName('Joel');
$this->doctrine->em->persist($user);
I get:
Fatal error: Uncaught exception 'Doctrine\ORM\Proxy\ProxyException' with message 'You must configure a proxy directory. See docs for details' in C:\wamp\www\ci\application\libraries\Doctrine\ORM\Proxy\ProxyException.php on line 33
( ! ) Doctrine\ORM\Proxy\ProxyException: You must configure a proxy directory. See docs for details in C:\wamp\www\ci\application\libraries\Doctrine\ORM\Proxy\ProxyException.php on line 33
This might be due to a difference in the tutorial version of Doctrine vs. the current version as noted here, but the tutorial version is no longer supported by Doctrine and I'm not sure what to change.