问题
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