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

Support archive

Low Search - Error When Going Back to Form

Mathew Smith 24 Jan 2014 01:46 question, complete

If I use the search form and goto the results page, then click the browser back button to the form page and try a different search, I get a "You are not authorized to perform this action" error message. Any ideas on how to avoid this? If I refresh -- then the form will work correctly.

Thank you.

Replies

  1. Low 24 Jan 2014 08:33

    If you're on EE 2.6 or lower, add secure="no" to the Form tag. If you're on EE2.7 and up, make sure you're on the latest version of Low Search and visit the CP module page at least once.

  2. Mathew Smith 24 Jan 2014 16:26

    That did it. Thank you.

    One more question. My form has a keywords field, a custom field dropdown, and a custom field checkbox. If I leave the keywords field blank and make a custom field selection in either of the other two form inputs -- it works. But if I leave all the form inputs blank -- it actually returns all entries from ALL channels.

    Is there anyway to have it display all entries ONLY from the searched channel?

    Thank you again.

  3. Low 24 Jan 2014 18:29

    Yes, either set the collection="" or channel="" parameter on the Results tag to the collections/channels you want to display.

  4. Mathew Smith 24 Jan 2014 20:53

    Thanks, Low!