1
This bug is still present in Xoops 2.4.5.
I think it's due to Smarty
Quote:
Parse error: syntax error, unexpected T_STRING, expecting ',' or ';' in http%253A%252F%252Fwww.chtiland.com%252Fv5%25%25system-chtiland-chtiland^%%5D^5DD^5DDC7D64%%db%3Asystem_imagemanager.html.php on line 54
This line looks like this
$language = $GLOBALS['xoopsConfig']['language'];
if(file_exists(XOOPS_ROOT_PATH.'/language/'.$language.'/style.css')){
echo "stylesheet" type="text/css" media="all" href="language/$language/style.css" />";
}
Each time I empty smarty_cache, i must correct this line like this :
$language = $GLOBALS['xoopsConfig']['language'];
if(file_exists(XOOPS_ROOT_PATH.'/language/'.$language.'/style.css')){
echo '.$language.'/style.css" />';
}
Then everything works.
Where should i made change to well generate this file ?
Thanks.