Problem...

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Locked
Faltzer

Problem...

Post 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...?
cyberman

Re: Problem...

Post by cyberman »

If I'm right you have define one function in two times ...
Faltzer

Re: Problem...

Post by Faltzer »

So that means PHP file editing with PHP knowledge I don't posess? :/
Pierre M.

Re: Problem...

Post 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
Faltzer

Re: Problem...

Post 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?
Locked

Return to “CMSMS Core”