Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › Ajax Search Nav Error
- This topic has 3 replies, 2 voices, and was last updated 7 years, 11 months ago by
Ernest Marcinko.
-
AuthorPosts
-
June 29, 2018 at 5:15 pm #18522
SwiftsDavid
Participant{removed for security}
Hi Guys,
I am having issues trying to get the Ajax Search Nav working.
I have the latest version installed – Version 4.13.1
I have created a basic default search nav [wd_asp id=1] . I’ve added the Products, Posts, Pages into the Search in custom post types.
Doing a test run on my Demo Ajax Search Nav and nothing happens on the search when I type in a product etc? It just spins and times out?
Can you help me with this issue please.
I fully deleted and re-installed the plugin. It didn’t fix it.
I have looked at the wp-content\plugins\ajax-search-pro\includes\classes\search\class-asp-query.php
I Scroll to line 384.
I don’t see any record of the line if ( class_exists( ‘WooCommerce’ ) ) {
I’m not sure what else to do?
Can you view my Ajax Search Nav and see the problem and let me know if there is anything I can do to fix please? – https://swiftsupplies.com/admin-test-page-only/
Kind Regards,
David.
July 2, 2018 at 9:54 am #18549Ernest Marcinko
KeymasterHi David,
The issue was, that you had over 32 000 products, with a lot of content to search for (over 3 million words). The server was not able to handle the query, because of the size of the database.
Since you added back-end access, I have made a few major improvements:
– I have enabled the Index Table engine, which is specifically made for big databases like yours. It indexed 3.2 million words.
– I have changed the search logic to a much more strict one, that goes well with your number of products: https://i.imgur.com/tZuUlfP.png
– I have also enabled the custom ajax handler option, which improves the search performance by a lotThe search should respond now almost instantenously, or within a few seconds at worst.
July 4, 2018 at 6:31 pm #18593SwiftsDavid
ParticipantHi Ernest,
Thank you so much for the reply and info.
Very much appreciated my friend.
I have since integrated the Ajax Search Nav back into the header of the website and all looks good.
Thank you again for your support.
Have a great evening.
Kind regards,
David.
July 4, 2018 at 6:36 pm #18594Ernest Marcinko
KeymasterYou cannot access this content.
-
AuthorPosts
- The topic ‘Ajax Search Nav Error’ is closed to new replies.