Hi,
I wanted to create an installation profile for set of modules i needed. But when i specify og module in profilename_profile_modules() function i got the following error.

Warning: Table 'drupal.system' doesn't exist query: SELECT filename FROM system WHERE name = 'og' AND type = 'module' in /home/vijaya/workspace1/drupal-demo/includes/database.mysql.inc on line 128

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/vijaya/workspace1/drupal-demo/includes/database.mysql.inc:128) in /home/vijaya/workspace1/drupal-demo/includes/bootstrap.inc on line 1028

Warning: Cannot modify header information - headers already sent by (output started at /home/vijaya/workspace1/drupal-demo/includes/database.mysql.inc:128) in /home/vijaya/workspace1/drupal-demo/includes/bootstrap.inc on line 629

Warning: Cannot modify header information - headers already sent by (output started at /home/vijaya/workspace1/drupal-demo/includes/database.mysql.inc:128) in /home/vijaya/workspace1/drupal-demo/includes/bootstrap.inc on line 630

Warning: Cannot modify header information - headers already sent by (output started at /home/vijaya/workspace1/drupal-demo/includes/database.mysql.inc:128) in /home/vijaya/workspace1/drupal-demo/includes/bootstrap.inc on line 631

Warning: Cannot modify header information - headers already sent by (output started at /home/vijaya/workspace1/drupal-demo/includes/database.mysql.inc:128) in /home/vijaya/workspace1/drupal-demo/includes/bootstrap.inc on line 632

after debugging for sometime i figured out the problem is due the drupal_load() function in the og.install file. It is hitting the DB table system which is not yet created. To make it work i did some change to og.install file.
Please check the patch

CommentFileSizeAuthor
og_install_db1.patch1.11 KBvijayasri
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

moshe weitzman’s picture

Status: Needs review » Fixed

Committed. thanks.

Status: Fixed » Closed (fixed)
Issue tags: -install, -installation profiles

Automatically closed -- issue fixed for 2 weeks with no activity.