All Low add-ons are now owned by EEHarbor. Read the blog post.

Support archive

We're getting an error in Chrome when the search is fairly large. It seems to be OK in Firefox and Safari will process the search.

smartpill 7 Oct 2014 22:29 problem, complete

This is the error in Chrome on both Mac and Windows:

The webpage at http://www.connecticutbarns.org/find/... might be temporarily down or it may have moved permanently to a new web address.
Error code: ERR_RESPONSE_HEADERS_TOO_BIG

The search shows 1290 results when it does finish.

General Information
Low Search 3.2.0
ExpressionEngine : 273
PHP : 5.4.14
DB Driver : mysql
Server Software : Apache
Browser : Chrome 37.0.2062.124

Session Settings

User Session Type : c
Admin Session Type : c
Cookie Domain :
Cookie Path :
CP Cookie Domain :
CP Cookie Path :
CP Session TTL : 60000

Replies

  1. Low 8 Oct 2014 13:30

    Looks like a tricky issue to investigate. I'm abroad right now, which makes it even more difficult. I'll try and tackle it when I get back on Friday.

  2. smartpill 8 Oct 2014 13:53

    Understood. Safe trip.

  3. Low 13 Oct 2014 08:52

    Can you please send SuperAdmin login credentials to hi at gotolow dot com if you can? I'll need to take a look myself.

  4. smartpill 13 Oct 2014 17:31

    Sure. On its way...

  5. Low 13 Oct 2014 21:56

    Managed to solve the issue, which was due to some, well, rather inefficient nesting of tags, resulting in a lot unnecessary queries being run. The issue is solved for now, but the code of that particular template can definitely be optimized further. If you want, I can offer implementation aid for that.

  6. smartpill 13 Oct 2014 22:07

    I'll definitely take a very close look at what you did. Wow, It is working amazing well now. Thank you, Sir. Did you change the Collection or was this all the results template?

  7. Low 13 Oct 2014 22:14

    Your code looked something like this:

    {exp:low_search:results limit="1500" ... }
    {if count == 1}
    Your search for {exp:low_title:category category_id="{low_search_category}"}
    generated {absolute_results} results
    {/if}
    {/exp:low_search:results}
    {exp:low_search:results ... }
    actual search results
    {/exp:low_search:results}

    This meant, for the first Results tags, there would be up to 1500 results, generating 1500

  8. smartpill 13 Oct 2014 23:02

    Ah, I didn't see any reference to outputting the search terms if it was not based on keyword searching and we're using categories so I wasn't sure how else to tackle it and assumed low:title would be efficient.

    Thanks for the insight!