Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problems with helm site installation #74

Open
osopolar opened this issue May 9, 2015 · 0 comments
Open

Problems with helm site installation #74

osopolar opened this issue May 9, 2015 · 0 comments

Comments

@osopolar
Copy link

osopolar commented May 9, 2015

Hi, I wanted to test the helm distribution. And tried to install like:

git clone https://github.com/albatrossdigital/helm-drops-7.git helm.dev
cd helm.dev
drush site-install -y helm

But I can't run drush in helm.dev, because I get the error:

Drush command terminated abnormally due to an unrecoverable error.

Calling http://helm.dev/install.php gives me the error:

( ! ) Fatal error: Call to undefined function db_query() in /home/dev/websites/helm.dev/sites/all/modules/evaluate/domain/domain.bootstrap.inc on line 112

Seems to be related to the issue Fatal error: Call to undefined function db_query() in /sites/all/modules/domain/domain.bootstrap.inc.

Commenting out the last line in settings.php: #include DRUPAL_ROOT . '/sites/all/modules/evaluate/domain/settings.inc'; helps.

Now drush site-install helm complains about:

Could not determine database connection parameters. Pass --db-url option.

Finally it works with: drush site-install helm --db-url=mysql://helm_dev:helm_dev@localhost/helm_dev

Now I got a bunch of these warnings:

WD php: Warning: in_array() expects parameter 2 to be array, null given in field_create_field() (line 92 of /home/dev/websites/helm.dev/modules/field/field.crud.inc).

and:

WD php: Warning: class_implements(): object or string expected in entity_type_supports() (line 84 of
/home/dev/websites/helm.dev/profiles/helm/modules/contrib/entity/entity.module).
WD php: Warning: in_array() expects parameter 2 to be array, boolean given in entity_type_supports() (line 84 of /home/dev/websites/helm.dev/profiles/helm/modules/contrib/entity/entity.module).

Finally it seems to work anyway, but:

The install script copies the default.settings.php over the settings.php, so the "domain access Pantheon stuff" and include DRUPAL_ROOT . '/sites/all/modules/evaluate/domain/settings.inc'; gets overwritten too.

I am not sure if I need these lines, but I added them back as in the original settings.php and now it works. IMHO settings.php should not be added to the git repository and I guess if you add the changes to default.settings.php they will be copied on install.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant