ZF2 - RuntimeException: Module (ZfcUserDoctrineORM) could not be initialized

0

I just downloaded the composer installer. This is what I have in my composer.json:

"require": {
        "php": ">=5.3.3",
    "zf-commons/zfc-user": "dev-master",
        "zendframework/zendframework": "2.3.*",
        "zendframework/zend-developer-tools":"dev-master",
        "doctrine/doctrine-orm-module":"dev-master",
        "bjyoungblood/bjy-authorize": "1.4.*"
    }

I ran the php composer.php self-update and php composer.phar install commands, I was successful.

In my application.config I have the following modules:

  'modules' => array(
        'Base',
        'DoctrineModule',
        'DoctrineORMModule',
        'ZendDeveloperTools',
        'ZfcBase',
        'ZfcUser',
        'ZfcUserDoctrineORM',
        'ZendDeveloperTools',
        'BjyAuthorize',
        'Users',
        'Facebook'
      ),

The problem happens when I try to run my application: it always returns the status 500 with the stack trace:

 Uncaught exception 'Zend\ModuleManager\Exception\RuntimeException' with message 'Module (ZfcUserDoctrineORM) could not be initialized.' in /home/triangulum/workspace-php/apegueme/vendor/zendframework/zendframework/library/Zend/ModuleManager/ModuleManager.php:195
Stack trace:
#0 /home/triangulum/workspace-php/apegueme/vendor/zendframework/zendframework/library/Zend/ModuleManager/ModuleManager.php(169): Zend\ModuleManager\ModuleManager->loadModuleByName(Object(Zend\ModuleManager\ModuleEvent))
#1 /home/triangulum/workspace-php/apegueme/vendor/zendframework/zendframework/library/Zend/ModuleManager/ModuleManager.php(96): Zend\ModuleManager\ModuleManager->loadModule('ZfcUserDoctrine...')
#2 [internal function]: Zend\ModuleManager\ModuleManager->onLoadModules(Object(Zend\ModuleManager\ModuleEvent))
#3 /home/triangulum/workspace-php/apegueme/vendor/zendframework/zendframework/library/Zend/EventManager/EventManager.php(468): call_user_func(Array, Object(Zend\ModuleManager\ModuleEvent))
#4 /home/triangulum/workspace-ph in /home/triangulum/workspace-php/apegueme/vendor/zendframework/zendframework/library/Zend/ModuleManager/ModuleManager.php on line 195

I've done this process a few times, and I always have the same result.

Could someone help me?

    
asked by anonymous 05.10.2015 / 18:37

1 answer

0

I found the solution. I am giving maintenance of this code, and I saw that the previous developer downloaded outside of the composer.

    
05.10.2015 / 20:36