If the value of gsl_display_path variable suggests the path is not on the root level, then the GeoJSON feed is tried to be loaded from a wrong location.

These settings below will cause a 404 file not found error for the JSON feed. It would be looked in this path instead:
resources/representatives/json

screen shot

Seems like, the value of <?php variable_get('gsl_display_path', 'store-locator'); ?> variable should be passed onto <?php url() ?> before it is used.

Comments

osman’s picture

Status: Active » Needs review
StatusFileSize
new603 bytes

When the module is used with default settings, the problem wouldn't arise.
Change the path settings to reproduce the problem.
New path values should not be on the same level as root.

rodrigoeg’s picture

Status: Needs review » Reviewed & tested by the community

Thanks for the patch @osman,
I have committed to the dev branch

  • rodrigoeg committed fac4f61 on 7.x-1.x authored by osman
    Issue #2466359 by osman: Path to Store Location data value fails
    
rodrigoeg’s picture

Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

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