You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
( ! ) 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
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.
The text was updated successfully, but these errors were encountered:
Hi, I wanted to test the helm distribution. And tried to install like:
But I can't run drush in helm.dev, because I get the error:
Calling http://helm.dev/install.php gives me the error:
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: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:
and:
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.
The text was updated successfully, but these errors were encountered: