FOSUserBundle icon indicating copy to clipboard operation
FOSUserBundle copied to clipboard

Fatal Error when updating to Symfony 2.0.9

Open Kifah opened this issue 14 years ago • 5 comments

When running php bin/vendors install

Fatal error: Class 'Doctrine\Bundle\DoctrineBundle\Command\DoctrineCommand' not found in C:\Apache2\htdocs\myproject\vendor\bundles\Sensio\Bundle\GeneratorBundle\Command\GenerateDoctrineCommand.php on line 18

The error seems to do with FOSUserBundle, because it apears when the updater reaches:

Installing/Updating FOSUserBundle 2fed320b145.....

Fatal error: Class 'Doctrine\Bundle............. ...................... ..........

Kifah avatar Jan 06 '12 09:01 Kifah

You're using HEAD FOSUserBundle, it requires Symfony 2.1-DEV and Doctrine 2.2 (both of which arent released yet).

Use the 1.1 tag of FOSUserBundle

merk avatar Jan 06 '12 09:01 merk

@merk you mean like this? [FOSUserBundle] git=https://github.com/FriendsOfSymfony/FOSUserBundle.git target=bundles/FOS/UserBundle version=v1.1.0

Did not help either. same error, but thanks.

Kifah avatar Jan 06 '12 11:01 Kifah

The error has nothing to do with FOSUB. The error is in vendor\bundles\Sensio\Bundle\GeneratorBundle\Command\GenerateDoctrineCommand.php

stof avatar Jan 06 '12 12:01 stof

oh, and FOSUB HEAD does not require Symfony master yet

stof avatar Jan 06 '12 12:01 stof

ok, i managed to fix it by completely overwriting my deps with original from 2.0.9 release, then running

php bin/vendors update

Kifah avatar Jan 06 '12 13:01 Kifah