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

Support archive

Low search error

dsiriste 3 May 2011 20:03 problem, complete

Hi, when i submit my keyword i'm getting this error:

Parse error: syntax error, unexpected T_ENDIF in /my_site/system/expressionengine/libraries/Functions.php(648) : eval()'d code on line 35

I got EE 2.1.3

Replies

  1. Low 3 May 2011 20:06

    Hi,

    What code are you using for the search results tag? It looks like there may be an issue with a conditional there.

    I spotted a typo in the docs that came with Low Search, so it might be that.

  2. dsiriste 3 May 2011 20:23

    Helo, Thanks for fast reply.

    this is the code:
    {exp:low_search:form collection="news" search_mode="all" result_page="news/searches"}
    (input type="search" name="keywords" id="keywords" class="news_search_txtarea" /)
    (button type="submit" class="news_btn_search")<!-- Button -->(/button)
    {/exp:low_search:form}

  3. Low 3 May 2011 20:26

    Can you check the URL of the page where the error is shown? Is that the URL where the search form is shown, or is that the "news/searches" page?

  4. dsiriste 3 May 2011 20:32

    yep, check it out:

    http://blog.clustr.com/

    on the left side is search box

  5. Low 3 May 2011 20:36

    Yeah, that's probably a faulty conditional in the news/searches template.

    If you give me access to your CP, I can look that one up for you. You can send login credentials to low@loweblog.com.

  6. Low 3 May 2011 20:54

    Just what I thought. There's a small typo in the docs that came with Low Search. I fixed it in your template, now it works normally.

    Can you confirm that it does?

  7. dsiriste 3 May 2011 20:59

    Yes, now is fine. Thank you ;-)

  8. Low 3 May 2011 21:01

    Cool. The next update will include the typo fix in the docs.