Bonjour,
Lorsque je charge mon template dans le gestionnaire de templates, il y a un bug avec Catads.
catads_subcat.html :
This page cannot be displayed due to an internal error.
You can provide the following information to the administrators of this site to help them solve the problem:
Error: Smarty error: [in db:catads_subcat.html line 1]: syntax error: unclosed tag \{if} (opened line 1). (Smarty_Compiler.class.php, line 326)
--------------------------------------------
catads_index.html
This page cannot be displayed due to an internal error.
You can provide the following information to the administrators of this site to help them solve the problem:
Error: Smarty error: [in db:catads_index.html line 6]: syntax error: unclosed tag \{if} (opened line 6). (Smarty_Compiler.class.php, line 326)
---------------------------------------------
catads_item.html :
This page cannot be displayed due to an internal error.
You can provide the following information to the administrators of this site to help them solve the problem:
Error: Smarty error: [in db:catads_item.html line 5]: syntax error: unclosed tag \{else} (opened line 5). (Smarty_Compiler.class.php, line 326)
----------------------------------------------
catads_block_expired_ads.html :
Selected file does not exist)
----------------------------------------------
Pour information, environs de la ligne 326 de Xoops 2.3.3
du fichier Smarty_Compiler.class.php :
/* Compile the template tags into PHP code. */
$compiled_tags = array();
for ($i = 0, $for_max = count($template_tags); $i < $for_max; $i++) {
$this->_current_line_no += substr_count($text_blocks[$i], "\n");
$compiled_tags[] = $this->_compile_tag($template_tags[$i]);
$this->_current_line_no += substr_count($template_tags[$i], "\n");
}
if (count($this->_tag_stack)>0) {
list($_open_tag, $_line_no) = end($this->_tag_stack);
$this->_syntax_error("unclosed tag \{$_open_tag} (opened line $_line_no).", E_USER_ERROR, __FILE__, __LINE__);
return;
}
En vous remerciant par avance de m'aider à corriger ce bug.
Je trouve le module Catads très utile