I'm am trying to use install_profile_api to set up drupal sites.

One issue that i have found is in the date_api.install where there are several variable_set calls that are not contained within a function.

This is a problem because when these includes are included, there is no database connection available. Ideally, in .install files, there would be no code outside of functions. In order to get around this, these variable_set calls should be moved into one of the hooks... probably date_api_install(...).

I've done this locally and this appears to work perfectly with no adverse impact on the installation of the date or date_api module.

Comments

KarenS’s picture

Status: Active » Fixed

That was fixed a while back in the -dev version,so the fix will be in the next release. The beta is quite out of date now, I suggest bumping up to the -dev version until I get another release issued.

Anonymous’s picture

Status: Fixed » Closed (fixed)

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