Friday, February 24, 2012

SplFileInfo::openFile - (cake_core_file_map) ERROR

I use lampp in ubuntu.
When i try to cake bake model it returns me:

PHP Warning: SplFileInfo::openFile(/opt/lampp/htdocs/app/tmp/cache/
persistent/cake_core_file_map): failed to open stream: Permission
denied in /opt/lampp/htdocs/cakephp/lib/Cake/Cache/Engine/
FileEngine.php on line 297

This problem was because the files in /opt/lampp/htdocs/app/tmp/cache/
persistent was owned for NOBODY user, so i changed to my own user and
now it works.!

--
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php

No comments: