phantom5 wrote: Parse error: parse error, unexpected '}' in /srv/www/htdocs/...../modules/Gallery/includes/template.php(101) : eval()'d code on line 113 function compile_template($template) { // Replace <?xml by printing them via php to avoid error messages when short_open_tags is on $template = preg_replace('/<\?xml/i', "<?php echo '<?xml'; ?>", $template); lines 112-115 does this help identify the error? btw, thanks for the help Posted: Thu Nov 09, 2006 10:21 pm
phantom5 wrote: Parse error: parse error, unexpected '}' in /srv/www/htdocs/nuke/modules/Gallery/includes/template.php(101) : eval()'d code on line 113 Posted: Sat Nov 11, 2006 12:33 am
admin(Mark) wrote: hi, did you add a new theme? I have checked my codes and see no reason for that error. Posted: Sat Nov 11, 2006 1:53 pm
phantom5 wrote: I changed themes and there is no difference. The theme.php says thesae no matter what theme u are using. I did try 3 different themes but same error. Posted: Sat Nov 11, 2006 3:30 pm
phantom5 wrote: turns out that the themes I tried all came from the same author and had similar code. I tried a few more from different sources and it does work but I did find errors similar in some templates but right now it does work. Thanks for the help! Posted: Sat Nov 11, 2006 10:30 pm
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||