Cakephp警告(512)

时间:2013-09-06 13:52:44

标签: php cakephp caching

你好首先我是cakephp的新手。 我有一个使用cakephp开发的网站从备份恢复,它运行良好,但我得到以下警告:

Warning (512): _cake_core_ cache was unable to write 'cake_dev_spa' to File cache [CORE/Cake/Cache/Cache.php, line 309]

Warning (512): _cake_core_ cache was unable to write 'cake_spa' to File cache [CORE/Cake/Cache/Cache.php, line 309]

Warning (512): _cake_model_ cache was unable to write 'default_corporac_remanso2_list' to File cache [CORE/Cake/Cache/Cache.php, line 309]

Warning (512): _cake_model_ cache was unable to write 'default_corporac_remanso2_list' to File cache [CORE/Cake/Cache/Cache.php, line 309]
Warning (512): _cake_model_ cache was unable to write 'default_corporac_remanso2_nodes' to File cache [CORE/Cake/Cache/Cache.php, line 309]

Warning (512): _cake_model_ cache was unable to write 'default_corporac_remanso2_nodes' to File cache [CORE/Cake/Cache/Cache.php, line 309]

在wampserver中,它运行良好,这些消息仅在网站在托管中时才会显示。

2 个答案:

答案 0 :(得分:1)

如果您不在2.4.x版本中,则可能缺少/ tmp结构。从/ cakephp / app / tmp /(然后检查权限)重新创建它。从2.4蛋糕也将创建丢失的文件夹。

答案 1 :(得分:0)

实际上是因为主机上没有足够的磁盘空间。我只是要求更多的空间而且一切都是。