Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 
  • Cake was unable to write to File cache in cakePhp

    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 308
    Comment on it

    Hello All,


    In this blog we will discuss about the File cache write problem in CakePhp application.


    Everytime when you install new version of the cakePhp or port your code on to the server you come across this error depicting that the cake is unable to write to file cache.

    This is because of the permission problem to access the app's tmp folder's cache directory and its sub folders i.e. model, persistent, views.


    You can enable it via running in following command in your terminal to run your application:

    chmod -R 777 projectname/app/tmp
    


    This will solve your problem.

 0 Comment(s)

Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: