forum.coppermine-gallery.net

Support => cpg1.5.x Support => cpg1.5 bridging => Topic started by: shackman on July 24, 2010, 10:18:09 pm

Title: Fatal Error on bridge manager
Post by: shackman on July 24, 2010, 10:18:09 pm
This is not a bridge issue as much as a bridge wizard issue. Obviously the php file has a problem because when I open the bridge manager tab I get the following error:

Fatal error: Cannot redeclare cpggetmicrotime() (previously declared in .../coppermine/include/init.inc.php:27) in .../coppermine/include/init.inc.php on line 29

I purposely deleted the complete path details from the error message. This is an excerpt from the php file "init.inc" file, lines 25 thru 30:


function cpgGetMicroTime()
{
    list($usec, $sec) = explode(' ', microtime());
    return ((float)$usec + (float)$sec);
}
$cpg_time_start = cpgGetMicroTime();


I have made no alterations in this file whatsoever.
Title: Re: Fatal Error on bridge manager
Post by: Αndré on September 01, 2010, 02:22:08 pm
Seems that something includes init.inc.php a second time. Please disable all plugins and remove all custom mods. Also make sure that your theme has been upgraded properly.
Title: Re: Fatal Error on bridge manager
Post by: Nibbler on September 01, 2010, 02:53:34 pm
This happens when you enter the path to Coppermine into the bridge manager when it asks for the path to the forum.