|
Posted by sbinev on 11/03/71 11:40
I am new to Smarty and I really don't have a clue how to resolve this
-- been working on it for hours.
I am using a componentized template search_box.tpl and assigning it to
the function plugin file function
smarty_function_load_search_box($params, $smarty);
{* search_box.tpl *}
{load_search_box assign="search_box"}
<br />
<table border="0" cellpadding="0"
cellspacing="1" width="200">
<tr>
<td class="SearchBoxHead"> Search the Catalog
</td>
</tr>
<tr>
..
..
and I receive the following error:
[code:1:4f3e1ebb96]ERRNO: 256
TEXT: Smarty error: [in search_box.tpl line 2]:
syntax error: unrecognized tag 'load_search_box'
(Smarty_Compiler.class.php, line 565)
LOCATION:
/customers/myweb318045/ftp/www.casacollections.com/public_html/libs/smarty/Smarty.class.php,
line 1088, at March 22, 2005, 12:07 am[/code:1:4f3e1ebb96]
Everything worked fine while testing on localhost PHP5, then I found
out that I had to host it on PHP 4.3 and this happened.
Does anybody know how to resolve this, I am really stuck. Please help!
http://eye.cc php newsgroups
Navigation:
[Reply to this message]
|