nenad-zivkovic / yii2-advanced-template

Yii2 improved advanced application template that can bake you cookies
BSD 3-Clause "New" or "Revised" License
93 stars 66 forks source link

./yii migrate No such file or directory vendor/autoload.php #22

Closed kanasagraj closed 9 years ago

kanasagraj commented 9 years ago

When i use ./yii migrate command on terminal, then show me an bellow error.

PHP Warning: require(/var/www/html/advanced/_protected/vendor/autoload.php): failed to open stream: No such file or directory in /var/www/html/advanced/_protected/yii on line 16

I am using version of yii -> composer create-project nenad/yii2-advanced-template advanced

Please tell me how to solve this. Thanks,

nenad-zivkovic commented 9 years ago

You have to install templates using Composer. This is how you install Yii2 default templates using Composer on Ubuntu: http://www.freetuts.org/tutorial/view?id=4

After you learn how to install default templates, you can learn how to install improved here : http://www.freetuts.org/tutorial/view?id=6