Posts Tagged with chmod

Displaying 1-4 of 4 results.
Resolved: Yii2 Gii Module Generator error
posted by admin on March 1, 2017
Error Message:

yii2 module generator gii There was something wrong when generating the code. Please check the following messages.

Wrong operations

Generating code using template "/home/ssdd/app/etp.loc/app/vendor/yiisoft/yii2-gii/generators/module/default"...
generating modules/admin/Module.php
Unable to create the directory '/home/ssdd/app/etp.loc/app/frontend/modules/admin'.
generating modules/admin/controllers/DefaultController.php
Unable to create the directory '/home/ssdd/app/etp.loc/app/frontend/modules/admin/controllers'.
generating modules/admin/views/default/index.php
Unable to create the directory '/home/ssdd/app/etp.loc/app/frontend/modules/admin/views/default'.
done!
Read more
Resolved: Yii2 Gii not generating models. Exception problem. Ubuntu 16.04
posted by admin on February 16, 2017
In Gii I have error:

There was something wrong when generating the code. Please check the following messages.

How to resolve itRead more
Resolved: Ubuntu Linux remove directory from root var/www directory problem
posted by admin on February 7, 2017
I try to remove folder but terminal gave error
Command and error

rm -rf /var/www/website.dev
rm: cannot remove '/var/www/website.dev': Permission denied

I try to did it before this command and the same situation

sudo chmod -R 777 /var/www/website.dev

I try to make my user superuser but still without result

sudo adduser <username> www-data
sudo chown -R www-data:www-data /var/www
sudo chmod -R g+rwX /var/www
Read more
Resolved: Yii file save error Directory must be writable
posted by admin on April 11, 2016
I have form, and I create directory by mkdir

mkdir($mydirectory, 0777, true);


And got an error during save my file, which I try to upload from my _form.php

Directory must be writable
Read more