I am trouble setting up cakephp-2.5.2 on a nginx server. I have been looking at questions on this site and else where that are similar, but the answers don't seem that good. I can't use url rewriting, because I don't own the server, so I don't have permission to mess with those files, but files under cake I could change. Anyway, I am getting these errors:
Warning: _cake_core_ cache was unable to write 'cake_dev_en-us' to File cache in /home/webdev/webroot/cake/lib/Cake/Cache/Cache.php on line 323
Warning: /home/webdev/webroot/cake/app/tmp/cache/persistent/ is not writable in /home/webdev/webroot/cake/lib/Cake/Cache/Engine/FileEngine.php on line 384
Fatal error: Uncaught exception 'CacheException' with message 'Cache engine _cake_core_ is not properly configured.' in /home/webdev/webroot/cake/lib/Cake/Cache/Cache.php:181 Stack trace: #0 /home/webdev/webroot/cake/lib/Cake/Cache/Cache.php(151): Cache::_buildEngine('_cake_core_') #1 /home/webdev/webroot/cake/app/Config/core.php(373): Cache::config('_cake_core_', Array) #2 /home/webdev/webroot/cake/lib/Cake/Core/Configure.php(72): include('/home/webdev/we...') #3 /home/webdev/webroot/cake/lib/Cake/bootstrap.php(175): Configure::bootstrap(true) #4 /home/webdev/webroot/cake/app/webroot/index.php(94): include('/home/webdev/we...') #5 /home/webdev/webroot/cake/index.php(41): require('/home/webdev/we...') #6 {main} thrown in /home/webdev/webroot/cake/lib/Cake/Cache/Cache.php on line 181
After some searching I made /home/webdev/webroot/cake/app
, /home/webdev/webroot/cake/app/tmp
, /home/webdev/webroot/cake/app/tmp/cache
and /home/webdev/webroot/cake/app/tmp/cache/persistent
and /home/webdev/webroot/cake/app/tmp/logs
all have permissions 775
(or rwxrwxr-x
), but I am still getting these erros
I am not sure if there is something I can change in cake/.htaccess
, cake/app/.htaccess
, or cake/app/webdev/.htaccess
files, or to cake/app/webroot/index.php
or some other files
Any help would be much appreciated. Thankyou