zikula/core — Issue #201: Install doctrine2 module during installation failed
Author: phaidon
Created: 2011-12-12 16:51:00+00:00
State: open

I tried to add a module (MyModule) in install/lib.php:

// install all the basic modules
$modules = array(array('module' => 'SecurityCenter',
'category' => __('Security')),
array('module' => 'Tour',
'category' => __('Content')),
array('module' => 'Categories',
'category' => __('Content')),
array('module' => 'Legal',
'category' => __('Content')),
array('module' => 'MyModule',
'category' => __('Content')),
array('module' => 'Mailer',
'category' => __('System')),
array('module' => 'Errors',
'category' => __('System')),
array('module' => 'Theme',
'category' => __('Layout')),
array('module' => 'Search',
'category' => __('Content')));

If the module has no doctrine stuff this works perfect, but if there are some doctrine tables I got the following error:

Fatal error: Class 'DoctrineHelper' not found in /Users/bart/Sites/zgw/modules/Tasks/lib/Tasks/Installer.php on line 26