All other Apps work fine that I’ve tried, and “Enterprise Locations” is now listed in my “Installed Apps,” but marked “DISABLED”. Clicking on it and clicking “+ Enable App” icon at the top of the Details page does absolutely nothing but refresh the page, still showing “+ Enable App.”

Comments

Joel MMCC’s picture

Ooops, I think this should be filed under “Open Enterprise.” I’m using RC2 thereof, and it’s the “Locations” App.

Joel MMCC’s picture

Title: Can download but not install “Enterprise Locations” App. » Can download but not enable “Enterprise Locations” App.

Aha! Found the problem! The App fails to download the required dependency GeoPHP Module! It was showing up as “(missing)” in the Modules display!

Workarounds:

Do This (tested, it works):

Download (no need to Enable) the latest recommended version of that Module by any means you normally would (“drush dl geophp --select”, Install New Module and paste in the URL, manually using SFTP, manually using SSH with WGET, or whatever).

Or Try This (someone let us know if this works as well):

Edit the file “enterprise_location.info” in the Enterprise Location Module installation folder, and add this line (without the ?php tag brackets, of course) near the top along with other dependencies:
dependencies[] = "geophp"
I don’t know if order matters, but try placing it between the lines for “features” and “geocoder”.

In Either Case:

Then proceed to Enable the Location App. As is the case with Apps in general, it will automatically enable all dependency Modules (including the now-present [if you used the tried-and-tested first option of manually downloading it — if you use the second method of editing the .info file and adding the dependency, it should download it for you] GeoPHP Module) that are not already Enabled.

Long-Term Solution:

LevelTen needs to repackage this App to have it automatically download GeoPHP along with the other Modules it needs, presumably by adding the aforementioned line to the .info file, or whatever else it takes.

August1914’s picture

Priority: Normal » Major

geophp needs to be added to the app manifest. (It is listed in downloadables, with a github location, maybe this should be sourced from drupal.org, now?)

Installing enterprise_location with drush works fine, so it is not necessary to add geophp to the .info, (because it is a dependency of both geocoder and geofield). Adding geophp to the .info won't solve the apps problem, since the app installer does not parse the .info file for downloadables.

As Joel said, in the meanwhile, installing geophp yourself will allow you to enable this (very nice) app.