vova07 / yii2-start

Yii2-Start application
Other
273 stars 115 forks source link

vendor folder #130

Open jcfiorenzano opened 9 years ago

jcfiorenzano commented 9 years ago

I just download the last release and init a project (php init) , then when i want see the frontend index page, my browser show this error:

Fatal error: require(): Failed opening required 'C:\xampp\htdocs\my_projects\CS\frontend\web/../../vendor/autoload.php' (include_path='.;C:\xampp\php\PEAR') in C:\xampp\htdocs\my_projects\CS\frontend\web\index.php on line 5

vova07 commented 9 years ago

Can you remove vendor directory, and try again to install all dependency by php composer update?

jcfiorenzano commented 9 years ago

I can't use composer, It is a problem??

vova07 commented 9 years ago

mmmmm ... then you must be sure that all vendor files are copied right to remote directory. Do you have at the moment the vendor/autoload.php file on your server?

jcfiorenzano commented 9 years ago

when i decompress the release it don't have a vendor folder, I copied the vendor folder from the advanced template of yii's official site but don't work. How or where I can get the vendors files for yii-start?

jcfiorenzano commented 9 years ago

the problems is that the release don't have the vendor files.

vova07 commented 9 years ago

At the moment the only way to get full vendor folder for yii2-start is to use composer. If you can't use it on your server, you can use it on your local machine, and after just copy the folder to your remote server.

vova07 commented 9 years ago

Soon I'll add 2 new variants for app source: zip, and vagrant

jcfiorenzano commented 9 years ago

ok, thanks mate.

vova07 commented 9 years ago

you're welcome.