hello
I install cherrydesign, and this message appear why ?
Parse error: syntax error, unexpected '{' in /homez.193/xxxxx/www/templates/gk_cherrydesign/libs/gk.template.helper.php on line 703
Can you help me?
thank you
marie
Problem is connected with using PHP 4 which haven't support for exceptions. To
solve:
change :
- Code: Select all
try {
lessc::ccompile($this->templatepath().DS.'less'.DS.str_replace('/',DS,
$file).'.less', $this->templatepath().DS.'less'.DS.str_replace('/',DS,
$file).'.css');
} catch (exception $ex) {
exit('lessc fatal error:<br />'.$ex->getMessage()."n FILE:".$file);
}
to:
- Code: Select all
lessc::ccompile($this->templatepath().DS.'less'.DS.str_replace('/',DS,
$file).'.less', $this->templatepath().DS.'less'.DS.str_replace('/',DS,
$file).'.css');