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

Errors when using the search button

Home Forums Product Support Forums Ajax Search Pro for WordPress Support Errors when using the search button

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #55402
    rickfullerjr_w3cdrickfullerjr_w3cd
    Participant

    I love all the features of the search plugin, but I can’t seem to get direct results no matter what I try. Live search works great!

    When I type a search term in and click enter on the keyboard or hit the magnifying glass I get error 500. I was previously getting error “414 Request-URI Too Large”, but I changed the Search Method from “GET” to “POST” based on this help page:

    KB Link

    I just upgraded my server hardware hoping it was just a resource issue, but I still get the 500 Internal error message.

    Can you help?

    #55406
    Ernest MarcinkoErnest Marcinko
    Keymaster

    Hi,

    Thank you very much for the details, it helps a lot!

    Sure! So the issue is casused by a long-url protection from the server side, where too much information is being sent because of the search filter states. The checkbox filter states have to be sent all at once and therefore it creates a too long URL. It rarely happens, only in cases when there is way too many options in a checkbox filter.

    To resolve this, I have change the filters layout to a multiselect+search here for every filter box. It is very similar to the checkbox behavior, except the user can search and select the ones they want to filter by and also resolves the URI issue as much less information is sent to the results page via the long URL.

    I hope this helps!

    #55408
    rickfullerjr_w3cdrickfullerjr_w3cd
    Participant

    Thank you very much Mr.Marcinko. That is much better. A great search engine is more complex than I imagined, but I believe you thought of everything with Ajax!

    Thank you,

    Rick

    #55409
    Ernest MarcinkoErnest Marcinko
    Keymaster

    You cannot access this content.

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