Low search error
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
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
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.
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}
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?
dsiriste 3 May 2011 20:32
yep, check it out:
http://blog.clustr.com/
on the left side is search box
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.
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?
dsiriste 3 May 2011 20:59
Yes, now is fine. Thank you ;-)
Low 3 May 2011 21:01
Cool. The next update will include the typo fix in the docs.