Cakephp _cake_core_ cache无法写入'method_cache'
问题描述:
警告:Warning(512):_cake_core_ cache无法将'method_cache'写入[/ var/www/****/lib/Cake/Cache/Cache.php,线323]Cakephp _cake_core_ cache无法写入'method_cache'
Trace:
Cache::write() - CORE/Cake/Cache/Cache.php, line 323
DboSource::__destruct() - CORE/Cake/Model/Datasource/DboSource.php, line 3541
[main] - [internal], line ??
上写入/应用/ TMP文件夹:
drwxrwsr-x 7 apache apache 4096 Sep 27 2014 tmp
子文件夹:
drwxrwsr-x 5 apache apache 4096 Jun 2 16:51 cache
drwxrwsr-x 3 apache apache 4096 Jul 21 13:40 logs
drwxrwsr-x 3 apache apache 4096 Jun 27 2014 sessions
drwxrwsr-x 3 apache apache 4096 Jun 27 2014 tests
没有人有任何我关于这个警告,以及如何删除这个?
答
你应该让你的子目录也可写
- 应用程序的/ tmp /缓存
- 应用程序的/ tmp /缓存/持续
- 应用程序的/ tmp /缓存/型号