Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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
Comment | File | Size | Author |
---|---|---|---|
og_install_db1.patch | 1.11 KB | vijayasri | |
Comments
Comment #1
moshe weitzman CreditAttribution: moshe weitzman commentedCommitted. thanks.