I have a sandbox distro I'm working on / learning with. When I build with themekey 7.x-3.0-beta1 included, the distro won't install (the install screen doesn't display and there's no meaningful php errors or log entries). After some trial and error I determined the issue was with themekey. I swapped in themekey 7.x-2.5 and the distro installs just fine.

Sorry I haven't had a chance to look into this deeper yet.

Comments

mkalkbrenner’s picture

Probably found the cause:

Fatal error: Cannot redeclare themekey_update_7300() (previously declared in /Volumes/Local Storage/git/themekey_7.x/themekey.install:568) in /Volumes/Local Storage/git/themekey_7.x/themekey_redirect/themekey_redirect.install on line 44

mkalkbrenner’s picture

Status: Active » Needs review

I committed http://drupalcode.org/project/themekey.git/commit/f490938
Maybe that solves your issue.

inteja’s picture

I've tried 7.x-2.5, 7.x-3.0-beta1 and your latest dev with the patch applied but still getting "this web page is not available" (chrome) when I use either of the latter two versions. As soon as I swap to 7.x-2.5 the site is accessible again.

inteja’s picture

After more testing, the issue is only evident on my local dev environment. Works fine on remote dev environment, so I need to look into the differences between the 2 environments.

mkalkbrenner’s picture

I'm really interested in your findings.

Mabye you have to lower the error reporting level of your PHP to get a hint.

Are you using APC? Depending on it's configuration it has to be restarted when you update the code.

dazweeja’s picture

I just solved a similar issue - 7.x-3.0-beta1 working fine on one site, migrated to another and I can't even load the modules page if the 'themekey' module is in the modules directory (even if disabled).

You're probably not going to believe what the problem is - the 'description' in 'themekey_redirect.info' is too long. Chop off the last sentence and the modules page loads again. Why it works on one site and not another is a mystery, as it was a mysql dump migration.

mkalkbrenner’s picture

Title: Drupal distro won't install if 3.0-beta1 is included in build » Various errors if description in .info files exceeds 255 characters.
Status: Needs review » Needs work

You're right. The description has to be limited to 255 characters:
https://drupal.org/node/542202#description

mkalkbrenner’s picture

Version: 7.x-3.0-beta1 » 7.x-3.x-dev
Status: Needs work » Fixed

Fixed in 3.x-dev.

mkalkbrenner’s picture

One more detail: The truncation of strings changed between different MySQL versions. Former versions truncated the string silently while newer versions cause a PDO Exception. I guess that this is the reason why it "worked" on some (or most) systems.

Status: Fixed » Closed (fixed)

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