0

您好,首先我是 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 中它运行良好,这些消息仅在站点在托管中启动时出现。

4

2 回答 2

1

如果您不在 2.4.x 版本中,那么您的 /tmp 结构可能会丢失。从 /cakephp/app/tmp/ 重新创建它(然后检查权限)。从 2.4 cake 开始也会创建丢失的文件夹。

于 2013-09-06T23:21:09.750 回答
0

实际上是因为主机上没有足够的磁盘空间。我只是要求更多的空间,仅此而已。

于 2013-09-13T16:08:24.033 回答