ZF2 - RuntimeException:无法初始化模块 (ZfcUserDoctrineORM)

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

只需从作曲家下载安装程序即可。这是我的 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.*"
    }

执行命令 php composer.php 自我更新和 php 安装 composer.phar,成功。

在我的 application.config 中有以下模块:

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

当我尝试 运行 我的应用程序时出现问题:总是 returns 状态 500 和堆栈跟踪:

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

这个过程已经重做了几次,结果总是一样。

有人可以帮我吗?

我找到了解决方案。 我正在提供此维护代码,并看到以前的开发人员下载了作曲家。