WordPress.org

Ready to get started?Download WordPress

Forums

Store Locator Plus
[resolved] Locations Not Visible (20 posts)

  1. lynnaesgourmet
    Member
    Posted 1 year ago #

    Several problems with SLP since updating. Previously, it worked fine.

    When page loads, map centers to middle of USA and no locations show up.

    When I enter a location into the search box, the map does not automatically center on that location, and no locations show up.

    SLP is updated to the newest version. I tried removing the short code and re-adding it. I tried adding a new location to the "manage locations" page. All locations show up on the "manage locations" page and don't indicate any issue.

    In map settings, I have the following checked: "immediately show locations", "show 20 locations", "30 max search results"

    Any ideas? Link for reference: http://www.lynnaesgourmetpickles.com/storelocator/

    http://wordpress.org/extend/plugins/store-locator-le/

  2. lynnaesgourmet
    Member
    Posted 1 year ago #

    Just deactivated and reactivated... now I am getting a fatal error:

    T_FUNCTION in /hermes/bosweb/web061/b615/ipg.lynnaesgourmetpickle/wordpress/wp-content/plugins/store-locator-le/include/storelocatorplus-ui_class.php on line 327

  3. Charleston Software Associates
    Member
    Plugin Author

    Posted 1 year ago #

    What version of PHP are you using? The latest version of SLP is using anonymous functions, which I may be able to change but will take a new release.

    I believe you need PHP 5.3 or higher.

  4. lynnaesgourmet
    Member
    Posted 1 year ago #

    Not sure what version of PHP I am using... how do I update? I don't see any availabl updates on my WordPress dashboard

  5. lynnaesgourmet
    Member
    Posted 1 year ago #

    Just updated to the newest SLP plugin and I'm not getting the fatal error anymore, but I'm still having the same problem with no locations showing up initially or when I enter a query. The map also still loads and centers on the middle of the US. Ideas?

  6. Charleston Software Associates
    Member
    Plugin Author

    Posted 1 year ago #

    Your AJAX listener in WordPress does not have proper permissions set.

    XMLHttpRequest cannot load http://www.lynnaesgourmet.com/wp-admin/admin-ajax.php. Origin http://www.lynnaesgourmetpickles.com is not allowed by Access-Control-Allow-Origin.

    Ask your system admin to allow access to the built-in WordPress AJAX listener. Without it Store Locator Plus, and any other plugins or themes that use AJAX, will not work.

  7. lynnaesgourmet
    Member
    Posted 1 year ago #

    How do I change the access? Is there a setting in dashboard? I am not very familiar with AJAX/PHP/HTML at all, sorry.

  8. Charleston Software Associates
    Member
    Plugin Author

    Posted 1 year ago #

    It is a system administration issue. The file permissions on the WordPress AJAX listener on the server are not correct.

  9. ingym@ingym
    Member
    Posted 1 year ago #

    Im having the same problema here.

    Bought Pro pack yesterday and is not working at all.

    Ive read all about AJAX calls and stuff... but hey, most of us are not programmers, just customers that buy a plugin that doesnt work properly with the DEFAULT wordpress settings.

    I hace 2 options:
    1) ask a prefessional to help me (expensive)
    2)ask my money back

  10. ingym@ingym
    Member
    Posted 1 year ago #

    oh, btw the page im talking about is:

    http://www.ingym.es/prueba-store-locator/

  11. Charleston Software Associates
    Member
    Plugin Author

    Posted 1 year ago #

    @ingym - If the server is not configured properly a lot of things will not work. It has nothing to do with default WordPress settings or the plugin. It has everything to do with the hosting company and how the server is configured. If they lock down the AJAX listener the plugin will not work.

    Another option is to select a host that does not lock the standard WordPress AJAX functionality or ask your existing host to fix the problem.

    If you do not want to take that route any add-on packs you purchase have a no-questions-asked refund policy. Go to http://www.charlestonsw.com/mindset/contact-us and ask for a refund, provide your paypal email or CSA order #.

  12. ingym@ingym
    Member
    Posted 1 year ago #

    wow, that was quick response, nice job.

    I will contact my hosting company and (1and1) and see what can i do. The thing is i like the functionality of the plug in :(

  13. Charleston Software Associates
    Member
    Plugin Author

    Posted 1 year ago #

    @ingym - you server is returning a "302 Moved Temporarily" header.

  14. ingym@ingym
    Member
    Posted 1 year ago #

    well, i dont know what/why is that, and if it has something to do with my problem. I dont receive that message.

    1and1 host customers service is from monday to friday, so i will try tomorrow.

  15. Charleston Software Associates
    Member
    Plugin Author

    Posted 1 year ago #

    @ingym - It is what the server sends back when the SLP plugin asks for location data from the AJAX listener. Because it is sending back that response instead of a standard JSONP data package the plugin is not working.

    This is because of the way the WordPress site was setup/installed. It should not be using page redirects when running the built-in WordPress AJAX listener. Share that info with 1-and-1. If they have a useful tech working on your ticket they should be able to fix this.

  16. ingym@ingym
    Member
    Posted 1 year ago #

    Thanks a lot, i will try that :)

  17. ingym@ingym
    Member
    Posted 1 year ago #

    not lucky :( spoke with 1and1 team, both phone and mail.

    I have a Linux based hosting and it doesnt support AJAX. Only Windows based ones does.

    I guess i have no alternative.

  18. Charleston Software Associates
    Member
    Plugin Author

    Posted 1 year ago #

    @ingym - you are talking to an idiot. Sorry to be so blunt, but I have clients on 1-and-1 linux and it definitely supports AJAX, even the shared hosting plans.

    Ask for a level 2 tech.

    If the site can run WordPress it can run the built-in AJAX listener if security and redirects are fixed.

  19. ingym@ingym
    Member
    Posted 1 year ago #

    Solved finally. It ended up being a plugin interference. I have unnistalled the damn pluing and store locator works perfectly right!!

    thx for yoour support!

  20. Charleston Software Associates
    Member
    Plugin Author

    Posted 1 year ago #

    @ingym - glad it worked out. :)

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.