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 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")."\";"); } Link to comment https://forums.phpfreaks.com/topic/165191-solved-error-in-eval/#findComment-871041 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.