PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
I have a theme installed on my board. The bb code has never worked. Whenever someone uses it I get the following message at the top of the page:
Parse error: syntax error, unexpected '<' in /home/daveko5/public_html/phpbb/includes/bbcode.php(61) : eval()'d code on line 61
Warning: Cannot modify header information - headers already sent by (output started at /home/daveko5/public_html/phpbb/includes/bbcode.php(61) : eval()'d code:61) in /home/daveko5/public_html/phpbb/includes/page_header.php on line 483
Is there some code I need to alter/fix? I know html, but I'm new to php, so treat me like I don't know anything.
Template. The default template worked. I've compare the bbcode.tpl in the template I'm using with the subSilver bbcode.tpl, and they look identical. Where else might there be a problem?
They're probably using preg_replace with /e switch and something in your input caused it to form a syntactically incorrect string. I wouldn't use software that behaves like this.