I've a CakePHP site which is throwing errors (it was fine at first, and has been online for several months - not sure when the problem started).
I'm getting:
Warning (512): _cake_core_ cache was unable to write 'cake_dev_en-us' to Apc cache [CORE/Cake/Cache/Cache.php, line 310] Warning (512): _cake_core_ cache was unable to write 'cake_en-us' to Apc cache [CORE/Cake/Cache/Cache.php, line 310] Warning (512): _cake_model_ cache was unable to write 'default_projects' to Apc cache
[CORE/Cake/Cache/Cache.php, line 310]
Warning (512): _cake_model_ cache was unable to write 'default_projects' to Apc cache [CORE/Cake/Cache/Cache.php, line 310]
Warning (512): _cake_model_ cache was unable to write 'default_clients' to Apc cache [CORE/Cake/Cache/Cache.php, line 310]
Warning (512): _cake_model_ cache was unable to write 'default_clients' to Apc cache [CORE/Cake/Cache/Cache.php, line 310]
Warning (512): _cake_model_ cache was unable to write 'default_projectpages' to Apc cache [CORE/Cake/Cache/Cache.php, line 310]
Warning (512): _cake_model_ cache was unable to write 'default_projectpages' to Apc cache [CORE/Cake/Cache/Cache.php, line 310]
Warning (512): _cake_model_ cache was unable to write 'default_settings' to Apc cache [CORE/Cake/Cache/Cache.php, line 310]
Warning (512): _cake_model_ cache was unable to write 'default_settings' to Apc cache [CORE/Cake/Cache/Cache.php, line 310]
I've made sure that the tmp directory is writeable (have set it and all contained folders and files to 0777; also checked that it did update properly, and it did); I've also switched off error reporting in core.php by setting the debug level to 0.
Most of the site is fine, but this particular page is pulled in by AJAX, and I don't know whether that's making any difference.
I've patched it by setting "display: none" on cake-error, but I need to understand why this is happening. Firstly, what's causing the error? And secondly, why is the core setting being ignored?
