Hi, I am trying to install doctrine2 in zf2 via composer. I get the error: Fatal error: Uncaught exception 'Zend\ModuleManager\Exception\RuntimeException' with message 'Module (DoctrineModule) could not be initialized.' I followed the following steps https://github.com/doctrine/DoctrineORMModule
my application.config looks like this:
return array( 'modules' => array( 'Application', 'DoctrineModule', 'DoctrineORMModule', 'Album', 'User' ), 'module_listener_options' => array( 'config_glob_paths' => array( 'config/autoload/{,*.}{global,local}.php', ), 'module_paths' => array( './module', './vendor', ), ), );
My composer .json:
"minimum-stability": "dev", "require": { "php": ">=5.3.3", "zendframework/zendframework": "2.*", "doctrine/doctrine-orm-module": "dev-master", "zendframework/zend-developer-tools": "*", "bjyoungblood/bjy-profiler": "*" },
All necessary doctrine libraries are located in the supplier / doctrine directory. I guess something is wrong with startup.
After updating the composer, I get the message: [ErrorException] proc_open(): CreateProcess failed, error code - 267 I canβt say what this means, but it may be useful.
Secondly, at https://github.com/doctrine/DoctrineORMModule there is a section: Installation steps (without composer) and point 3. setup PSR-0 autoloading for namespace DoctrineORMModule ... where can I configure this thing?