1
Fabrice
Bug in imagemanager in 2.4.4 and 2.4.5
  • 2010/7/18 12:22

  • Fabrice

  • Just popping in

  • Posts: 5

  • Since: 2010/4/3 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

<?php  
$language 
$GLOBALS['xoopsConfig']['language'];
if(
file_exists(XOOPS_ROOT_PATH.'/language/'.$language.'/style.css')){ 
echo 
"<link rel="stylesheet" type="text/css" media="all" href="language/$language/style.css" />";
}


Each time I empty smarty_cache, i must correct this line like this :

<?php  
$language 
$GLOBALS['xoopsConfig']['language'];
if(
file_exists(XOOPS_ROOT_PATH.'/language/'.$language.'/style.css')){ 
echo 
'<link rel="stylesheet" type="text/css" media="all" href="language/'.$language.'/style.css" />';
}


Then everything works.

Where should i made change to well generate this file ?

Thanks.




TopTop



Login

Who's Online

185 user(s) are online (112 user(s) are browsing Support Forums)


Members: 0


Guests: 185


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: May 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits