symblog
symblog copied to clipboard
Problems with installing vendors
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
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.
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
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.