我在我的搜索模块中遇到了这个语法错误。有人可以看看这是什么确切的问题。Xcart搜索模块问题
// This is the path to the fts_instant_product_search.php file you uploaded.
{php}$x=parse_url($GLOBALS['smarty']->_tpl_vars['current_location']);$GLOBALS['smarty']->assign('searchPath',$x['path']);{/php}
searchPath = "{$searchPath}/";
它产生这个错误:
PHP Fatal error: Uncaught --> Smarty Compiler: Syntax error in template "/home/noveltie/public_html/xcart475/skin/lumino_responsive/customer/fts_instant_product_search.tpl" on line 79 "{php}$x=parse_url($GLOBALS['smarty']->_tpl_vars['current_location']);$GLOBALS['smarty']->assign('searchPath',$x['path']);{/php}" unknown tag "php" <-- thrown in /home/xxx/public_html/xcart475/include/lib/smarty3/sysplugins/smarty_internal_templatecompilerbase.php on line 79