After updating the all modules and drupal core, I can no longer enable the Google Store Locator module, and the page it had created is missing. All other modules enable and disable as expected. I tried reverting to the previous version of Google Store locator, with no success, as well as uninstalling and re-installing the module. Manually enabling the module in the database did display the module as enabled in the module list but did not result in the availability of any of its features, configuration pages or menu items.

Comments

lizabu002 created an issue. See original summary.

rodrigoeg’s picture

Hi, @lizabu002,

What is the error message shown for the module in modules list page? Could you please send me a screenshot?

Are you you updating from version 7.x-1.0-rc2 to 7.x-1.2?

Newer versions of this module have a dependency of Views GeoJSON module equal or greater than 7.x-1.0-beta2

TreyeDesigns’s picture

Version: 7.x-1.0-rc2 » 7.x-1.x-dev

I can confirm this issue as well while during a clean installation. No errors are thrown, the module simply does not enable. Either the page continues to load after trying to enable or the page loads while failing to enable the module at all. I manually enabled all of the modules dependencies thinking it was getting hung up. However attempting to enabling this module fails regardless of any process I have tried.

I am using module versions:
7.x-1.x-dev
7.x-1.0-rc2
and Drupal 7.54

TreyeDesigns’s picture

After testing various versions of both the module and Drupal 7 core I was still unable to enable the module. I was able to forcefully enable the module via drush, but this left me without any way of editing the backend with direct links on the configuration page. I simply used the notes in the read me to direct to the configuration setting page to altar the settings and include my API key. (admin/config/search/google_store_locator)

I know this is not a fix, but it is a work around for lizabu002 and anyone else facing this problem.

rodrigoeg’s picture

Hi, @TreyeDesigns,

Do you have any error on your PHP error logs or Drupal watchdog during the installation of the module?

I have tested clean installations in the below configurations, and they are working just fine. Maybe it could be PHP timeout or memory limit issues, or other system configuration (Windows or Mac, etc.). Do you have big differences of this configuration below? I will try to simulate the environment to try to find this issue.

Google Store locator versions tested:
7.x-1.x-dev
7.x-1.0-rc2
7.x-1.2

System configuration:
PHP: 5.5.9
MySQL: 5.5.47
Ubuntu: 14.04

Latest version of https://github.com/googlemaps/js-store-locator

Module dependencies:
addressfield - 7.x-1.2
ctools - 7.x-1.12
geocoder - 7.x-1.3
geofield - 7.x-2.3
libraries - 7.x-2.3
views - 7.x-3.14
views_geojson - 7.x-1.0-beta3

Core:
Drupal 7.54

lizabu002’s picture

I checked my configuration agains yours and have everything module wise up to date and all dependencies are met. I noticed my server was running an older version of php, so I had them upgrade it but it hasn't helped. I had an issue with the site's cache tables were missing but after creating the correct tables the rest of the website is operating fine. Could this be related? No other modules are refusing to enable or disable?

rodrigoeg’s picture

@lizabu002, it could be related, but it is difficult to know for sure what is the problem.
When you try enable the module, is there any message logged in Drupal log or PHP logs?

TreyeDesigns’s picture

I am sorry for the delay in response. Unfortunately I did not see any errors in the log. I should have been more clear with my initial comment.

I also should not have a problem with memory as I tested at 128M
The only difference is I tested on a server running php 5.6.30

lizabu002’s picture

Sorry for the delay here too. Me and my whole house have been down for the count sick. anyways, I've not seen any errors in the php or drupal logs!

njacobson’s picture

+1 on this issue.

This module was working last night. This morning, the module was disabled, my map page missing from my site and I'm unable to enable it.

I was having some other odd issues prior to this as well: Unable to edit settings in an existing view. Unable to edit default text for a text field in a custom content type.

In case it helps find the issue. I had an older version of my site running on a WAMP localhost that did not have any of the above issues. I pulled the database from my live server and imported it on my local server... pointed my local version to the new database and now it has this same issue as well.

I tried taking the local version that was working... and pushing it up to my server. It seemed to work fine for a bit. The only changes I made after uploading and verifying the Google map was working are:
- enabled all the cache and compression options on performance page
- disabled the "hacked" module

I tried disabling the cache and re-enabling the hacked module... neither brought back my map.

Any help is greatly appreciated!

rodrigoeg’s picture

@njacobson, did you update this module or did any other change (for instance, Drupal core update or other module update) that could have caused it? What is the current version you are using?

njacobson’s picture

I just updated my post above after doing a bit more testing.

No... no recent updates to existing modules. I did add Google Analytics recently.

I'm running 7.54. There was an update available for Google Store Locator, so I tried updating that in hopes that would fix it.

My localhost version is still working. I pushed my database and entire home site structure to my live server, so the code should be exactly the same.

njacobson’s picture

I moved hosting companies... seems to work fine now. avoid site 5 and liquidweb!

-Mania-’s picture

I have this exact same issue. Happened after enabling token and pathauto modules. I'm unable to enable Google Store Locator module. I can enable only through database but this doesn't bring up the backend pages or actual functionality of it.

rodrigoeg’s picture

Hi @-Mania-,

If you disable token and pathauto, are you able to enable Google Store Locator?

rodrigoeg’s picture

Status: Active » Postponed (maintainer needs more info)