Tried to install 7.x-2.30 on SimplyTest.me, and got this error at /install.php?profile=commerce_kickstart:
Fatal error: Call to undefined function shiny_preprocess_html() in /home/df77k/www/profiles/commerce_kickstart/themes/commerce_kickstart_admin/template.php on line 12

CommentFileSizeAuthor
#4 call_to_undefined-2600846-4.patch831 bytesmglaman
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

UpTil4Music created an issue. See original summary.

znerol’s picture

I'm running into that as well. The problem can be reproduced as follows:

cd /tmp
git clone --branch 7.x-2.x http://git.drupal.org/project/commerce_kickstart.git
cd commerce_kickstart
./scripts/build.sh /var/www/my-site

Then try to install the site from the browser. This will blow up with the following stack-trace:

PHP Fatal error:  Call to undefined function shiny_preprocess_html() in [...]/profiles/commerce_kickstart/themes/commerce_kickstart_admin/template.php on line 12
PHP Stack trace:
PHP   1. {main}() [...]/install.php:0
PHP   2. install_drupal() [...]/install.php:26
PHP   3. install_display_output() [...]/includes/install.core.inc:101
PHP   4. theme() [...]/includes/install.core.inc:724
PHP   5. theme_install_page() [...]/includes/theme.inc:1161
PHP   6. theme() [...]/includes/theme.maintenance.inc:143
PHP   7. commerce_kickstart_admin_preprocess_maintenance_page() [...]/includes/theme.inc:1125

Examining the distribution freshly built from git with some releases I downloaded from the project page, I found that when building from git, shiny seems to be installed in the wrong place:

$ find commerce_kickstart-7.x-2.x-* -name shiny
commerce_kickstart-7.x-2.x-dev/profiles/commerce_kickstart/themes/contrib/shiny
commerce_kickstart-7.x-2.x-git/profiles/commerce_kickstart/modules/contrib/shiny
mglaman’s picture

This is an issue with Drush 7.1. It places theme's in the module directory because it can't figure out type for some reason.

mglaman’s picture

Status: Active » Needs review
FileSize
831 bytes

  • mglaman committed 65663ab on 7.x-2.x
    Issue #2600846: Call to undefined function shiny_preprocess_html()
    
  • mglaman committed b1b0af4 on 7.x-2.x
    Merge pull request #164 from mglaman/2600846-drush-make-is-dorking-on-...
mglaman’s picture

Status: Needs review » Fixed

Fix is in. Will be out on next release, slated for November 19th.

znerol’s picture

Wow, thanks. Do you think that this issue should be filed with drush also? It feels like that's actually a regression over there.

mglaman’s picture

It should be. However I have been meaning to follow up on that for a long time and haven't. It's best to shiv it here or else queue will fill up with bug/support requests.

Status: Fixed » Closed (fixed)

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