CakePHP无法写入某些文件

前端之家收集整理的这篇文章主要介绍了CakePHP无法写入某些文件前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
我开始使用Cake PHP为我的框架开发一个网站,我刚刚开始,已经遇到错误,我无法解释它们的意思.
Warning: _cake_core_ cache was unable to write 'cake_dev_en-us' to File cache in /Applications/XAMPP/xamppfiles/htdocs/evolvidsnew/lib/Cake/Cache/Cache.PHP on line 310
Warning: _cake_core_ cache was unable to write 'cake_dev_en-us' to File cache in /Applications/XAMPP/xamppfiles/htdocs/evolvidsnew/lib/Cake/Cache/Cache.PHP on line 310
Warning: /Applications/XAMPP/xamppfiles/htdocs/evolvidsnew/app/tmp/cache/persistent/ is not writable in /Applications/XAMPP/xamppfiles/htdocs/evolvidsnew/lib/Cake/Cache/Engine/FileEngine.PHP on line 320
Warning: /Applications/XAMPP/xamppfiles/htdocs/evolvidsnew/app/tmp/cache/models/ is not writable in /Applications/XAMPP/xamppfiles/htdocs/evolvidsnew/lib/Cake/Cache/Engine/FileEngine.PHP on line 320
Warning: /Applications/XAMPP/xamppfiles/htdocs/evolvidsnew/app/tmp/cache/ is not writable in /Applications/XAMPP/xamppfiles/htdocs/evolvidsnew/lib/Cake/Cache/Engine/FileEngine.PHP on line 320

我也收到以下错误信息:

Notice (1024): Please change the value of 'Security.salt' in app/Config/core.PHP to a salt value specific to your application [CORE/Cake/Utility/Debugger.PHP,line 717]
Notice (1024): Please change the value of 'Security.cipherSeed' in app/Config/core.PHP to a numeric (digits only) seed value specific to your application [CORE/Cake/Utility/Debugger.PHP,line 721]
Warning (512): _cake_core_ cache was unable to write 'file_map' to File cache [CORE/Cake/Cache/Cache.PHP,line 310]

任何帮助将不胜感激.

当Wooble指出,app / tmp文件夹需要由您的网络服务器用户写入.

要纠正其他两个错误,您应该按照错误中的建议编辑应用程序/ Config / core.PHP文件.蛋糕船舶具有默认值,应该更改,以使每个Cake项目不具有相同的安全性值.如果您打开该文件,您将在评论中看到说明.

如果你是新来的蛋糕,那么看看手册网站http://book.cakephp.org的教程…

猜你在找的PHP相关文章