Forums › Bug Reports › Search form returns results, but a results URL returns nothing – " No ___ Found"
Tagged: results page, results URL
- This topic has 3 replies, 2 voices, and was last updated 6 years, 1 month ago by
Eyal Fitoussi.
-
AuthorPosts
-
April 29, 2016 at 6:17 am #51935
danhodgins
MemberHi Eyal,
First, let me say great job on the plugin. It must be a massive amount of work to keep up with feature development, bugs and support. Well done! I really like the plugin!
Here are some specifics.
SETTINGS
Firefox, Chrome, Safari
Clear cache, clear cookies
Close current window
Start fresh browser window (tried both private and not private)
Allow location sharingUser searches for a city in search form, autocomplete works. They select “Vancouver, BC”, and submit search form
User is redirected to a results page (/results/BC/Vancouver)
All results are displayed correctly.
We can conclude that the search form, and results page with shortcode, work correctly. This means that the form submits correctly, the SQL statements work correctly, and the right results are returned from the database.When visiting a results URL directly there are no results returned, and the following error message is displayed:
“No _____ found”
We can conclude that the results URL’s, when visited on their own, are not working correctly.This behaviour is consistent across Firefox, Chrome and Safari with cache/cookies cleared, and fresh new browser windows opened (both private and not-private).
Plugin version is 2.6, and I cannot update to your newest version as I purchased the theme from someone else who gave specific plugin versions to be imported.
GOAL
All I need is for the results URL’s to work because I want to start running paid ads for traffic (and cannot do so until the results URL’s work).My site is below in a private message if that would help.
Again, thank you so much for creating a really great plugin. I am excited for your reply and am looking forward to quickly implementing your recommendations.
Thanks Eval, and have a great day.
Dan
Private Content HiddenAttachments:
You must be logged in to view attached files.April 30, 2016 at 4:29 pm #51944Eyal Fitoussi
MemberHello Dan and thank you for the find feedback :). I am glad you find the plugin useful.
Regarding the issue you are having, I believe that you need to contact the theme developer. It looks like there are some changes done to the way the plugin works. GEO my WP by default uses the URL parameters to pass the submitted values. For example, searching for “Vancouver, BC” should create a URL similar to:
www.somesite.com/results/?gmw_post=post&tax_category=0&gmw_address%5B0%5D=Vancouver%2C%20BC%2C%20Canada&gmw_distance=200........
But in your case it creates a different URL structure which I believe made by customizing the plugin.
Also, navigating directly to the search results without a form submission should not display anything. Not results nor “No results” message. The search results shortcode should only be triggered when form is submitted. So that is another “bug” I assume create by the custom design of the plugin.
Plugin version is 2.6, and I cannot update to your newest version as I purchased the theme from someone else who gave specific plugin versions to be imported.
Just a friendly advice, This is NOT recommended and should never be suggested by a theme developer. You should always keep your themes and plugins version up to date. That is for bugs fix, new features and most importantly security updates. Your site is at risk by not updating your themes/plugins.
I apologize for not able to address your issues above. But it seems that the plugin was customized and I have no Idea what was done “under the hood”. That is why there is nothing I can suggest but contacting the theme developer.
I hope that helps.
have a great weekend.
April 30, 2016 at 4:52 pm #51946danhodgins
MemberThanks for clarifying a few things Eyal – that does help.
I will follow up with the theme developer.
You can mark this one as resolved.
Have a great day.
Dan
May 7, 2016 at 10:31 pm #52058Eyal Fitoussi
MemberYou are very welcome.
-
AuthorPosts
You must be logged in to reply to this topic.