Code Monkey home page Code Monkey logo

Comments (3)

sensifr avatar sensifr commented on July 21, 2024

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.

from symblog.

carlotodeschini avatar carlotodeschini commented on July 21, 2024

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

from symblog.

ndench avatar ndench commented on July 21, 2024

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.

from symblog.

Related Issues (12)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.