Skip to content
This repository has been archived by the owner on Jul 28, 2022. It is now read-only.

Problems with installing vendors #6

Open
artur-gajewski opened this issue Nov 6, 2012 · 3 comments
Open

Problems with installing vendors #6

artur-gajewski opened this issue Nov 6, 2012 · 3 comments

Comments

@artur-gajewski
Copy link

When I try to install vendors as per your instructions, few of the bundles are asking for account username and password.

[doctrine-fixtures]
git=http://github.com/doctrine/data-fixtures.git

[DoctrineFixturesBundle]
git=http://github.com/symfony/DoctrineFixturesBundle.git
target=/bundles/Symfony/Bundle/DoctrineFixturesBundle

[doctrine-migrations]
git=http://github.com/doctrine/migrations.git

[DoctrineMigrationsBundle]
git=http://github.com/symfony/DoctrineMigrationsBundle.git
target=/bundles/Symfony/Bundle/DoctrineMigrationsBundle

@sensifr
Copy link

sensifr commented Apr 20, 2013

Hello, I encountered a similar error: some dependencies' namespace have changed from 'Symfony' to 'Doctrine', and you may have to edit the 'deps', the 'app/AppKernel.php' and 'app/autoload.php' files to correct that and install the vendors. I have tried a good hour to get it working but the concerned files keep on being rewritten during the vendor installation process, nullifying the corrections... I am new to symfony and this dependencies setup process, so if anybody could give us an hand and explain how to fix the code errors to install the tutorial, that would be highly appreciated, thank you. :) Regards.

@carlotodeschini
Copy link

Same problem for me:

Installing/Updating DoctrineMigrationsBundle
Cloning into '/var/www/symblog-master/vendor//bundles/Symfony/Bundle/DoctrineMigrationsBundle'...

Username for 'http://github.com':

Any hint?
Thanks,
Carlo

@ndench
Copy link

ndench commented Feb 21, 2015

I'm having the same problem. I've tried updating the deps file to:

[DoctrineFixturesBundle]
    git=http://github.com/doctrine/DoctrineFixturesBundle.git
    target=bundles/Doctrine/Bundle/FixturesBundle

[DoctrineMigrationsBundle]
    git=http://github.com/doctrine/DoctrineMigrationsBundle.git
    target=bundles/Doctrine/Bundle/MigrationsBundle

And the appKernel.php file to:

new Doctrine\Bundle\FixturesBundle\DoctrineFixturesBundle(),
new Doctrine\Bundle\MigrationsBundle\DoctrineMigrationsBundle(),

I'm still getting this error when I run php bin/vendors install:

PHP Fatal error:  Class 'Doctrine\Bundle\FixturesBundle\DoctrineFixturesBundle' not found in /home/laptop/projects/symblog/app/AppKernel.php on line 17

Fatal error: Class 'Doctrine\Bundle\FixturesBundle\DoctrineFixturesBundle' not found in /home/laptop/projects/symblog/app/AppKernel.php on line 17
PHP Fatal error:  Class 'Doctrine\Bundle\FixturesBundle\DoctrineFixturesBundle' not found in /home/laptop/projects/symblog/app/AppKernel.php on line 17

Fatal error: Class 'Doctrine\Bundle\FixturesBundle\DoctrineFixturesBundle' not found in /home/laptop/projects/symblog/app/AppKernel.php on line 17

What am I missing to get this to work properly? Cheers.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants