Smarty error returned with Search Module
Posted: Wed May 26, 2010 8:29 am
Hi
I am getting an error message when the search module returns results. The reslts are the but preceeded by this error message
string(182) "Smarty error: [in module_db_tpl:Search;displayresult line 5]: syntax error: unrecognized tag: $entry-?phpMyAdmin=YnxhOzzcOpU16wQbizEUBDLh9e8>url (Smarty_Compiler.class.php, line 446)" string(133) "Smarty error: [in module_db_tpl:Search;displayresult line 5]: syntax error: unrecognized tag '' (Smarty_Compiler.class.php, line 590)"
Can any body help. I have tried clearing the cache.

Just going through some test moving things around. The search was in a global content block making up a large footer
I separated out the top portion search panel and now I don't get an error returned. However, the links on the search results now default back to the home page.
Ooops, for some reason the errors back and the links on the search results show a blank href (href=" ")
string(182) "Smarty error: [in module_db_tpl:Search;displayresult line 5]: syntax error: unrecognized tag: $entry-?phpMyAdmin=YnxhOzzcOpU16wQbizEUBDLh9e8>url (Smarty_Compiler.class.php, line 446)" string(133) "Smarty error: [in module_db_tpl:Search;displayresult line 5]: syntax error: unrecognized tag '' (Smarty_Compiler.class.php, line 590)"
I am getting an error message when the search module returns results. The reslts are the but preceeded by this error message
string(182) "Smarty error: [in module_db_tpl:Search;displayresult line 5]: syntax error: unrecognized tag: $entry-?phpMyAdmin=YnxhOzzcOpU16wQbizEUBDLh9e8>url (Smarty_Compiler.class.php, line 446)" string(133) "Smarty error: [in module_db_tpl:Search;displayresult line 5]: syntax error: unrecognized tag '' (Smarty_Compiler.class.php, line 590)"
Can any body help. I have tried clearing the cache.

Just going through some test moving things around. The search was in a global content block making up a large footer
Code: Select all
<!-- Start of the Search and login Panel -->
<div id="searchPanelWidth">
<div id="searchPanelWidth960">
<div id="searchPanel">
<div id="searchFormHolder">
{search resultpage="search-results"}
</div>
<h2>{cms_selflink page='customer-login' text='Customer Login'}</h2>
<div class="clearfix"> </div>
</div>
</div>
</div>
<!-- End of the Search and login Panel -->
<!-- Start of Big Footer -->
<div id="breadcrumb"><h3>{breadcrumbs root="s-m-hackett" starttext="You are here"}</h3></div>
<div id="footerHolder">
<div id="footerMenuHolder">
<div class="footerMenuBox">
{menu template="b-menu" start_element="2" number_of_levels="2"}
</div>
<div class="footerMenuBox">
{menu template="b-menu" start_element="3" number_of_levels="2"}
</div>
<div class="footerMenuBox">
{menu template="b-menu" start_element="4" number_of_levels="2"}
</div>
<div class="footerMenuBox">
{menu template="b-menu" start_element="5" number_of_levels="3"}
</div>
<div class="footerMenuBox">
{menu template="b-menu" start_element="6" number_of_levels="2"}
</div>
<div class="footerMenuBox">
{menu template="b-menu" start_element="7" number_of_levels="2"}
</div>
<div class="clearfix"> </div>
</div>
<div class="clearfix"> </div>
<div id="footerContact">
<div id="contactUs"><h3>Contact us</h3></div>
{cms_module module='FormBuilder' form='contact'}
</div>
<div class="clearfix"> </div>
</div>
<!-- End of Big Footer -->
<!-- Start address detail and copyright etc -->
<div id="addressPanel">
<p>1 Kilwardby Mews, Kilwardby Street, Ashby-de-la-Zouch<br />
Leicestershire LE65 2FR</p>
{menu items="disclaimer,sitemap,terms,client-login"}
<p class="clearfix"> </p>
</div>
<!-- End address detail and copyright etc -->
{* Start relational links *}
<div id="relationalLinks">
<p>{cms_selflink dir="next" label="Next: "} | {cms_selflink dir="previous" label="Previous: "}</p>
</div>
{* End relational links *}
Ooops, for some reason the errors back and the links on the search results show a blank href (href=" ")
string(182) "Smarty error: [in module_db_tpl:Search;displayresult line 5]: syntax error: unrecognized tag: $entry-?phpMyAdmin=YnxhOzzcOpU16wQbizEUBDLh9e8>url (Smarty_Compiler.class.php, line 446)" string(133) "Smarty error: [in module_db_tpl:Search;displayresult line 5]: syntax error: unrecognized tag '' (Smarty_Compiler.class.php, line 590)"