yiisoft / yii2-app-advanced

Yii 2.0 Advanced Application Template
http://www.yiiframework.com
BSD 3-Clause "New" or "Revised" License
1.66k stars 1.28k forks source link

Met problem when Installing from an Archive File #275

Closed xeoshow closed 7 years ago

xeoshow commented 7 years ago

What steps will reproduce the problem?

https://github.com/yiisoft/yii2/blob/master/docs/guide/start-installation.md#installing-from-an-archive-file- Following above link, will get problem: Warning: require(D:\phpStudy\WWW\testcloud\backend\web/../../vendor/autoload.php): failed to open stream: No such file or directory in D:\phpStudy\WWW\testcloud\backend\web\index.php on line 5

What's expected?

Open the correct page

What do you get instead?

Warning: require(D:\phpStudy\WWW\testcloud\backend\web/../../vendor/autoload.php): failed to open stream: No such file or directory in D:\phpStudy\WWW\testcloud\backend\web\index.php on line 5

Additional info

Q A
Yii vesion yii2-app-advanced-2.0.11
PHP version 5.5.38
Operating system windows 7
sazo commented 7 years ago

You are missing composer installing :)

sazo commented 7 years ago

https://github.com/yiisoft/yii2-app-advanced/blob/master/docs/guide/start-installation.md

Ravshanjon commented 7 years ago

You must 1.Composer install https://getcomposer.org/ 2.http://www.yiiframework.com/download/ 3.composer.phar create-project yiisoft/yii2-app-advanced advanced 2.0.11 OR composer.phar create-project yiisoft/yii2-app-basic basic 2.0.11

2017-05-23 17:59 GMT+05:00 xeoshow notifications@github.com:

Oh, I thought by using zip file, composer is then not necessary... Could you kindly add how to use composer in this section? Thanks!

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/yiisoft/yii2-app-advanced/issues/275#issuecomment-303389944, or mute the thread https://github.com/notifications/unsubscribe-auth/ASiT3A96-XVibprRPCnyAl4au1uPkQakks5r8thFgaJpZM4NjpVe .

sazo commented 7 years ago

Follow https://github.com/yiisoft/yii2-app-advanced/blob/master/docs/guide/start-installation.md :)

yii-bot commented 7 years ago

Thank you for your question. In order for this issue tracker to be effective, it should only contain bug reports and feature requests.

We advise you to use our community driven resources:

If you are confident that there is a bug in the framework, feel free to provide information on how to reproduce it. This issue will be closed for now.

This is an automated comment, triggered by adding the label question.