2013-08-30

GII - Unable to write file when creating a gii controller

This is related to the PHP framework YII. If you are trying to generate a file (let's say, a controller), and get the error message "Unable to write file...", then simply change the permissions of the entire web folder, of course, provided this is in a secure development environment.

sudo chmod -R 777 /path/to/your/webapp_folder_name



No comments:

Post a Comment