Topic: Errors on Preview

Whenever I try to preview a post that has the test.com tag I get this error:

Fatal error: Cannot redeclare preparse_bbcode() in /home/adietler/web/public/include/parser.php on line 41

I have 1.2.5 installed with no mods or plugins on a MySQL DB. Everything else appears to work just fine. The forum is here: http://TheForum.tv/

Anyone have any idea what's causing this?

(If this has been posted before I apologize, I searched a bunch but couldn't find any reports of this error.)

Re: Errors on Preview

Hmm. That's very odd. It's as if require_once does not work as it should. You're sure it's a fresh, unmodified version? Try re-uploading a new copy of post.php.

"Programming is like sex: one mistake and you have to support it for the rest of your life."

Re: Errors on Preview

Well it wasn't post.php, but it was include/parser.php

Don't know how it got messed up (maybe the upload had an error) the first time, but it works now. Thanks for the help.

Re: Errors on Preview

It was post.php requiring parser.php twice wink