MyBB Community Forums

Full Version: parse error after edit header template
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I get this error after editing the header template.
A fresh glabal file won't work

Parse error: syntax error, unexpected '-', expecting '}' in /usr/home/deb4195/domains/ikf-forum.eu/public_html/testforum/global.php(415) : eval()'d code on line 159
(2008-08-27, 06:57 PM)spinning Wrote: [ -> ]eval()'d code on line 159

That indicates a problem in the template itself, not global.php. Make sure you don't have any typos or invalid variable names in the code, especially on line 159. Wink
(2008-08-27, 07:33 PM)WDZ Wrote: [ -> ]
(2008-08-27, 06:57 PM)spinning Wrote: [ -> ]eval()'d code on line 159

That indicates a problem in the template itself, not global.php. Make sure you don't have any typos or invalid variable names in the code, especially on line 159. Wink

Thanks I am glad frontpage has the function to make think undone.