Hmm, looking at the FileEngine.php#293 of the current release (2.0.5) there is no call to openFile(). You should probably upgrade cakephp to the current version. If I remember correctly, there has been an issue in an early 2.0 version.
Also, from a security perspective it's not a good idea to chown the whole directory to lighttpd. It's ok if lighttpd has r-x access. Otherwise any vulnerable script could write to files in your webroot. Just make app/tmp writeable. Am 17.02.2012 20:50, schrieb D Mahoney: > That suggestion sounds reasonable. Tried that, but still have same issue. > > I changed the cache config to add 'mask' => 0666 in > app/Config/bootstrap.php (Cache::config('default', array('engine' => > 'File', 'mask' => 0666));), then deleted the cache files with > "find ./*/tmp/cache -type f \( -name 'cake_*' -o -name 'element_*' -o > -name '*.*' \) -exec rm {} \;" then restarted lighttpd. Also made sure > to chown /srv/www/lighttpd to lighttpd:lighttpd since that's the user > lighttpd will run as. Now when I go to the application URL I'm seeing: > > *Warning* (2): > SplFileInfo::openFile(/srv/www/lighttpd/app/tmp/cache/persistent/cake_core_cake_en-us) > [function.SplFileInfo-openFile > <http://107.22.127.119:8000/function.SplFileInfo-openFile>]: failed to open st > ream: No such file or directory [*CORE/Cake/Cache/Engine/FileEngine.php*, > line *293*] > *Warning* (512): Cannot open file > '/srv/www/lighttpd/app/tmp/cache/persistent/cake_core_cake_en-us' > [*CORE/Cake/Cache/Engine/FileEngine.php*, line*300*] > > Still at a loss here! > > > On 02/17/2012 01:10 PM, 0x20h wrote: >> try to set the 'mask' => 0666 option for the file cache (in boostrap.php), >> then delete all cache files. >> >> The Problem occurs when you create the cache files under different users >> (e.g. from cli and lighttpd as www-data) >> > > -- > 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+unsubscr...@googlegroups.com For more options, visit this > group at http://groups.google.com/group/cake-php -- 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php