Fabis94 Posted July 8, 2009 Share Posted July 8, 2009 In myBB global.php i messed something up in this place: if ($flag == 1){ eval("\$footer = \"".$templates->get("footer").""\";"); } else { eval("\$footer = \"".$fads."".$templates->get("footer").""\";"); } I get these errors for the first eval(): Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /home/public_html/mybbtest/mybb/global.php on line 512 Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING in /home/public_html/mybbtest/mybb/global.php on line 512 Quote Link to comment https://forums.phpfreaks.com/topic/165191-solved-error-in-eval/ Share on other sites More sharing options...
rhodesa Posted July 8, 2009 Share Posted July 8, 2009 if ($flag == 1){ eval("\$footer = \"".$templates->get("footer")."\";"); } else { eval("\$footer = \"".$fads.$templates->get("footer")."\";"); } Quote Link to comment https://forums.phpfreaks.com/topic/165191-solved-error-in-eval/#findComment-871041 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.