WordPress.org

Ready to get started?Download WordPress

Forums

SimpleMap Store Locator
[resolved] No results Found (8 posts)

  1. jefstrick
    Member
    Posted 2 years ago #

    I really hate submitting this however I feel at a loss with my attempts. I'm receiving a "No results found" message when trying to view my map. I've been using this plugin for a while now and everything has worked fine. However, just pulling up my page it's showing "no results found". I've trying everything I can think of. Started with the API key, and checked all the settings in "General Options". I made sure I have locations added (some with the correct address and some with GEO codes). When I try to load an individual location (page) in the browser (?sm-location=slug) it goes to a page not found. When I do this with other pages and post types it works no problem which seems very odd to me.
    I then installed a fresh version of the plugin on different WP site. I changed the theme to the default, disabled plugins, rechecked the settings and API key and I get the same results. Any thoughts?

    http://wordpress.org/extend/plugins/simplemap/

  2. Glenn Ansley
    Member
    Plugin Author

    Posted 2 years ago #

    What's your URL?

  3. jefstrick
    Member
    Posted 2 years ago #

  4. Glenn Ansley
    Member
    Plugin Author

    Posted 2 years ago #

    Looks like you have a bunch of whitespace at the top of the XML script that returns your results: http://wp.elkhornweb.org/?sm-xml-search=1&lat=41.267537&lng=-96.212341&radius=&namequery=41.266388,%20-96.215086&query_type=all&limit=&sm_category=&sm_tag=&address=&city=&state=&zip=

    You need to look for any whitespace (spaces or line breaks) outside of PHP blocks. If you have all plugins turned off and are using twentyeleven, chances are you've edited the functions.php file. Look for any space at the top of the file, the bottom of the file or between ?> and <?php inside the file. If you can find and remove that, you'll be good.

  5. jefstrick
    Member
    Posted 2 years ago #

    That was totally it. I did not expect a response that fast let alone getting any solution. Thanks so much for the help! Awesome!

  6. jdev
    Member
    Posted 2 years ago #

    How can we implement this one on widgets?

  7. wwcreative
    Member
    Posted 2 years ago #

    i am having a similar issue when attempting to visit a location page
    (e.g. http://url/wordpress/?sm-location=slug) am getting a page not found error. any ideas how i can resolve? cannot see any white space in the code so isn't that as far as i know!
    this is driving me mad as all i need is for this to work and I will be good to go!

  8. prasann
    Member
    Posted 1 year ago #

    Any solutions ?

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags