Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › Inconsitent results between vertical & search page
- This topic has 14 replies, 2 voices, and was last updated 4 years, 4 months ago by
compositeenvisions29.
-
AuthorPosts
-
January 13, 2022 at 4:46 pm #36258
compositeenvisions29
ParticipantHi – on our production site – https://compositeenvisions.com/ – we have ASP set up in the upper right hand corner. I’ve been getting some inconsistent results between the drop down results & then the results on the search.php page.
For example, if you search for the term ‘prepreg’ the results that show in the in the vertical results are pretty much perfect. However, when you hit enter or click on the magnifying glass to go to the full search results page, the results are all over the place. In a perfect world the same results that are showing in the vertical results would be showing on the search results page, along with other less relevant items.
I’m not quite sure if I’m missing a setting or what may be going on. Any assistance or insight you can provide would be appreciated.
-Wally
January 14, 2022 at 3:46 pm #36265Ernest Marcinko
KeymasterHi,
Indeed there is something wrong there, as if the search override is not triggering. Try enabling this compatibility option to see if it makes any difference.
If still no luck, then there is a very high chance, that something else is conflicting with the results. The best way to get to the problem is by following these steps:
– First, temporarily switch the theme to the default (twentytwentyone or similar), and check if the problem persist. If not, then there is something going on in the theme search.php file – reordering/changing the results
– If no luck, then temporarily turning off all other plugins one by one – especially search plugins/filters plugins or anything similar. Those can and hook into the results page like ajax search pro, overriding one another.Let me know if anything changes when doing these tests.
January 17, 2022 at 2:40 pm #36283compositeenvisions29
ParticipantSo I switched over to Twenty Twenty-One on our staging site and got the same results as on the production site. I am using the search.php file for results and just the basic loop although I am showing a different result from a layout standpoint whether it’s a product or a post.
Guess I’ll have to look through my functions.php file as I’m pretty sure I don’t have a plugin installed which would affects the order of things.
January 17, 2022 at 2:58 pm #36287Ernest Marcinko
KeymasterLet me know if you find anything there.
January 17, 2022 at 3:38 pm #36291compositeenvisions29
ParticipantStill getting the same after deactivating more plugins: https://compositeenvisions503.e.wpstage.net/?s=prepreg&asp_active=1&p_asid=1&p_asp_data=1¤t_page_id=5&woo_currency=USD&qtranslate_lang=0&filters_changed=0&filters_initial=1&asp_gen%5B%5D=title&asp_gen%5B%5D=content&asp_gen%5B%5D=excerpt&customset%5B%5D=product&customset%5B%5D=post&customset%5B%5D=page
Open to any ideas you may have.
January 18, 2022 at 1:39 pm #36296Ernest Marcinko
KeymasterInteresting, I have no clue what could be the cause. I double checked the source on our ends, but I can’t see a problem.
Can you add temporary FTP and back-end details? I would like to debug the queries executed on both the the live and results pages. That will help me pinpoint the issue. Thank you!
January 18, 2022 at 2:10 pm #36298compositeenvisions29
ParticipantYou cannot access this content.
January 19, 2022 at 10:59 am #36309Ernest Marcinko
KeymasterYou cannot access this content.
January 19, 2022 at 1:54 pm #36312compositeenvisions29
ParticipantYou cannot access this content.
January 20, 2022 at 1:02 pm #36339Ernest Marcinko
KeymasterThank you, the IP is okay, but the server does not allow password authentication method: https://i.imgur.com/gdXJZmU.png
You may need to enable that in the sshd config files temporarily.January 20, 2022 at 2:06 pm #36343compositeenvisions29
ParticipantYou cannot access this content.
January 20, 2022 at 4:51 pm #36346Ernest Marcinko
KeymasterThank you, that worked.
I made a minor correction to the code, which I believe was the cause. It seems to be fine now. If it is okay now, then it was a yet unknown issue. If you confirm it looks okay now, I will make sure to append this fix to the next release.
January 20, 2022 at 5:34 pm #36348compositeenvisions29
ParticipantThat does look like it did the trick! Thank you very much for the assistance and helping to sort out the issue.
-Wally
January 21, 2022 at 12:14 pm #36351Ernest Marcinko
KeymasterYou cannot access this content.
January 21, 2022 at 1:57 pm #36355compositeenvisions29
ParticipantYou cannot access this content.
-
AuthorPosts
- The topic ‘Inconsitent results between vertical & search page’ is closed to new replies.