Page 1 of 1

Problem...

Posted: Sun Nov 19, 2006 9:59 pm
by Faltzer
I'm trying to include news from my myBB forum copy with a forum plugin to show news from my forum to site. And I get this error all the time in my index:

Fatal error: Cannot redeclare redirect() (previously declared in /home/rindiny/domains/pokeuniverse.info/public_html/lib/misc.functions.php:32) in /home/rindiny/domains/pokeuniverse.info/public_html/forums/inc/functions.php on line 504


Is there a way to rectify the problem...?

Re: Problem...

Posted: Mon Nov 20, 2006 5:30 am
by cyberman
If I'm right you have define one function in two times ...

Re: Problem...

Posted: Mon Nov 20, 2006 10:18 pm
by Faltzer
So that means PHP file editing with PHP knowledge I don't posess? :/

Re: Problem...

Posted: Tue Nov 21, 2006 1:25 pm
by Pierre M.
You may have not hacked the PHP yourself directly. But there could be a collision of two definitions of "redirect()", one in myBB and one inside another software installed on your server.
PM

Re: Problem...

Posted: Tue Nov 21, 2006 10:29 pm
by Faltzer
I'm not on a dedicated, if not on a normal webhost. Do I just remove the redirect from myBB if it is there?