I'm using this tutorial, which gives a detail explanation about how to set up CodeIgniter and Doctrine. I'm using CodeIgniter 2.1.0 and Doctrine 2.2.1, but I get this error:
Fatal error: Call to undefined function
Doctrine\Common\Cache\apc_fetch()
in /Applications/XAMPP/xamppfiles/htdocs/emma_watson_shrine/application/libraries/Doctrine/Common/Cache/ApcCache.php on line 52
Can you help me out?
You need to enable the APC extension for PHP.
Follow this guide.
Alternatively, you could use a different caching driver, like memcache, and change the Doctrine config in accordance to that.
Check the doctrine documentation for alternate caching drivers. Perhaps the simplest solution would be to use ArrayCache in development.