This website uses cookies to personalize your experience. By using this website you agree to our cookie policy.

No search results on Wamp Server

Home Forums Product Support Forums Ajax Search Pro for WordPress Support No search results on Wamp Server

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #3127
    katonkaton
    Participant

    Hello
    I am still working on Local Host Wamp Server , and actually I have no result appear at search , I am working on Twenty Fourteen and disable all other plugin .. the same result.

    I got the following error within browser console
    —————————————————
    TypeError: response.match(…) is null
    response = response.match(/!!ASPSTART!!(.*[\s\S]*)!!ASPEND!!/)[1];

    jquery….r=4.0.1 (line 604, col 27
    ——————————————————

    Would you give me a hand ? Thank you in advance

    #3128
    Ernest MarcinkoErnest Marcinko
    Keymaster

    Hi!

    That sounds like the ajax request is not returning anything, which happens if the code stumbles into an fatal error at some point and halts.

    If you click on the network tab of your browsers developer tools and check the content of the ajax request after trying a search it should be empty.

    Now, try to enable error reporting in the wp-config.php file and try searching again and then examine the new ajax response. It should contain some kind of fatal error message for sure.

    WAMP server might have some core modules disabled. I switched to XAMPP a few years back, that’s my current testing environment and it corresponds with 99% of the hosting servers. If you don’t mind, I would recommend trying it 😉

    #3146
    katonkaton
    Participant

    Hello
    I have uploaded the site to an online server and still face the same problem would you check the following link
    http://www.alexwebdesign.com/newborg/pharmaceutical/

    The ajax Search within products search Gray box
    and you can try to search by any down items like Anti Wrinkles Cream or etc.

    What do you think ?

    #3150
    Ernest MarcinkoErnest Marcinko
    Keymaster

    Hi!

    I’m suspecting a settings-database inconsistency based on the error message returned in the ajax request.

    Try to open the plugins “Cache options” submenu and hit the “Save Options” button without changing anything. It might solve the problem.

    #3154
    katonkaton
    Participant

    work like charm , Thanks for your assist

    • This reply was modified 11 years, 6 months ago by katonkaton.
    #3156
    Ernest MarcinkoErnest Marcinko
    Keymaster

    No problem 😉

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.