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.
Comment | File | Size | Author |
---|---|---|---|
#5 | 2014-07-20 11-34-23.png | 88.53 KB | jmary |
Comments
Comment #1
malberts CreditAttribution: malberts commentedI managed to install it now by downloading directly from git and then running:
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.
Comment #2
hswong3i CreditAttribution: hswong3i commentedThe new build script is now provided on project frontpage, which should be fine right now ;-)
Comment #4
jmary CreditAttribution: jmary commentedhave the same issue with version 7.x-29.76, even at building from the command line.
Comment #5
jmary CreditAttribution: jmary commentedComment #6
jmary CreditAttribution: jmary commentedIt'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.
Comment #7
hswong3i CreditAttribution: hswong3i commentedFixed with http://cgit.drupalcode.org/drustack/commit/?id=d6a857a and [#2317753], tested with Ubuntu 14.04 LTS + PHP 5.5
Comment #8
jmary CreditAttribution: jmary commentedSome remarks :
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 :
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.