Kohana 3.2 Error on XAMPP with Windows 7: Directory APPPATH\cache must be writable

跟風遠走 提交于 2019-12-01 05:04:10

问题


when i´ll look over my site, created with Kohana 3.2 the wild error "Kohana_Exception [ 0 ]: Directory APPPATH\cache must be writable" appears.

Im using windows 7 with XAMPP and have no idea what to do.

Because the directory "logs" is writable and there are no problems with this dir, but with the cache directory.


回答1:


please give 777 permission for application/logs folder.

also give 777 permission for application/cache folder.

mod_rewrite and Curl Should be enabled for kohana. These are all are basic requirements of kohana.




回答2:


Does folder 'cache' exist in your application folder ?




回答3:


Oh yeah, I read an answer from someone yesterday but I only figured it out today. What I did was this:

  • Go inside application/
  • Create a new folder cache/
  • Go inside cache/
  • Create a empty textfile. (I created empty.txt)

Then thats it. hope it helps



来源:https://stackoverflow.com/questions/11648213/kohana-3-2-error-on-xampp-with-windows-7-directory-apppath-cache-must-be-writab

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!