2012-07-26, 05:53 AM
Strange, I've never had to disable codepress before, but after doing so and editing the header template then saving (just changed a $lang variable) I get this error:
Parse error: syntax error, unexpected '<', expecting '}' in /MySite/global.php(527) : eval()'d code on line 10
I only changed literally 5 characters in the header template.
This leads to believe this may have been somehow caused by disabling codepress? yay or nay? what do you think? and I really would like to avoid doing a fresh install if possible.
Edit:
to be more specific the parse error shows on the forum where the header should be.
AH HA! Here's the line of code that caused it!! After removing it everything works again.
Parse error: syntax error, unexpected '<', expecting '}' in /MySite/global.php(527) : eval()'d code on line 10
I only changed literally 5 characters in the header template.
This leads to believe this may have been somehow caused by disabling codepress? yay or nay? what do you think? and I really would like to avoid doing a fresh install if possible.
Edit:
to be more specific the parse error shows on the forum where the header should be.
AH HA! Here's the line of code that caused it!! After removing it everything works again.
<li><a href="{$mybb->settings['bburl']}/usercp.php?action=usergroups"><img src="{$theme['imgdir']}/toplinks/memberlist.gif" alt="" title="" />{$lang->usergroups</a></li>
LOL WTF????