Skip to content

Fatal Error Class Not Found #70

Open
@ghost

Description

Hi !

I'm on a Symfony 2.8.8 Application and i don't understand why the bundle does not work...
I got this error on running "php app/console assets:install web" and the same on running "php app/console server:run" :
Fatal error: Class 'CoreSphere\ConsoleBundle\CoreSphereConsoleBundle' not found in C:\wamp64\www\Vanessa\Application\app\AppKernel.php on line 30

Composer.json
"require": { "php": ">=5.3.9", "symfony/symfony": "2.8.*", "doctrine/orm": "^2.4.8", "doctrine/doctrine-bundle": "~1.4", "symfony/swiftmailer-bundle": "~2.3", "symfony/monolog-bundle": "~2.4", "sensio/distribution-bundle": "~5.0", "sensio/framework-extra-bundle": "^3.0.2", "incenteev/composer-parameter-handler": "~2.0", "egeloen/ckeditor-bundle": "^4.0", "friendsofsymfony/user-bundle": "~2.0@dev", "coresphere/console-bundle": "^0.2.0" },

AppKernel.php
public function registerBundles()
{
$bundles = array(
new Symfony\Bundle\FrameworkBundle\FrameworkBundle(),
new Symfony\Bundle\SecurityBundle\SecurityBundle(),
new Symfony\Bundle\TwigBundle\TwigBundle(),
new Symfony\Bundle\MonologBundle\MonologBundle(),
new Symfony\Bundle\SwiftmailerBundle\SwiftmailerBundle(),
new Doctrine\Bundle\DoctrineBundle\DoctrineBundle(),
new Sensio\Bundle\FrameworkExtraBundle\SensioFrameworkExtraBundle(),
new Front\HomeBundle\HomeBundle(),
new Admin\AdminBundle\AdminBundle(),
new Ivory\CKEditorBundle\IvoryCKEditorBundle(),
new User\UserBundle\UserBundle(),
new FOS\UserBundle\FOSUserBundle(),
);

    if (in_array($this->getEnvironment(), array('dev', 'test'), true)) {
        $bundles[] = new Symfony\Bundle\DebugBundle\DebugBundle();
        $bundles[] = new Symfony\Bundle\WebProfilerBundle\WebProfilerBundle();
        $bundles[] = new Sensio\Bundle\DistributionBundle\SensioDistributionBundle();
        $bundles[] = new Sensio\Bundle\GeneratorBundle\SensioGeneratorBundle();
        $bundles[] = new CoreSphere\ConsoleBundle\CoreSphereConsoleBundle();
    }

    return $bundles;
}

And routing_dev.php
_console: resource: "@CoreSphereConsoleBundle/Resources/config/routing.yml" type: extra prefix: /_console

Thanks in advance !

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions