I keep getting:
Fatal error: Call to undefined function db_query() in /var/www/sites/drustack/includes/module.inc on line 165
I tried it with the Basic, Standard and Full packages using the supplied commands. I also tried using "drush dl --dev drustack".

My server environment:
Nginx 1.4
PHP 5.5
MySQL 5.5

If it is because of a server configuration thing then I won't know for sure. But the server setup should be fine and other distros like Panopoly do install properly.

Is there anything else I am supposed to do after I download the files (with the script or drush)? I go to web-based installation immediately after doing that.

CommentFileSizeAuthor
#5 2014-07-20 11-34-23.png88.53 KBjmary
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

malberts’s picture

I managed to install it now by downloading directly from git and then running:

drush make standard.make /var/www/sites/drustack

But the build is now messed up by not actually making the profile correctly - all the modules and themes are now in sites/all and not in the profile.

hswong3i’s picture

Status: Active » Fixed

The new build script is now provided on project frontpage, which should be fine right now ;-)

Status: Fixed » Closed (fixed)

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

jmary’s picture

Version: 7.x-26.x-dev » 7.x-29.76

have the same issue with version 7.x-29.76, even at building from the command line.

jmary’s picture

Status: Closed (fixed) » Active
FileSize
88.53 KB

callstack

jmary’s picture

It's a php 5.5 incompatibility.

I finally ended by commenting from line 40 to 67 in drustack.profile and could complete the install.

As TWBS also displays 20 screens of strict warnings, I have finally disabled anything related to TWBS. It seems not compatible with php 5.5 also.

hswong3i’s picture

Version: 7.x-29.76 » 7.x-31.78
Assigned: Unassigned » hswong3i
Status: Active » Fixed

Fixed with http://cgit.drupalcode.org/drustack/commit/?id=d6a857a and [#2317753], tested with Ubuntu 14.04 LTS + PHP 5.5

jmary’s picture

Some remarks :

  • The archive is about 100Mb, but one .git* stuffs have been removed it turns to only 14Mb
  • At install I got :

    Strict warning: Only variables should be passed by reference in twbs_css_alter() (line 38 of /var/www/drustack/profiles/drustack/modules/contrib/twbs/twbs.module). repeated numerous times.

    and

    Strict warning: Only variables should be passed by reference in twbs_js_alter() (line 89 of /var/www/drustack/profiles/drustack/modules/contrib/twbs/twbs.module).. Numerous times also.

The install completed anyway. But still have those 2 warnings (Several pages).

The problem is because you pass $variable ($css or $javascript) by reference, but in the middle act on it with something which doesn't have reference, with preg_grep. Need to separate the things.

I ended to replace around those lines the twbs code with :

...
$keys = array_keys($css);
    $keys_following_pattern = preg_grep($pattern, $keys);
    if ($key = array_shift($keys_following_pattern)) 
...

Same with the js.

Then the warning disappeared.

I saw that someone posted a patch doing that in the TWBS project issues, but you haven't reviewed it, it seems it does exactly that.

Status: Fixed » Closed (fixed)

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