forum.coppermine-gallery.net
Support => cpg1.4.x Support => Older/other versions => cpg1.4 bridging => Topic started by: soh on January 07, 2007, 02:38:05 pm
-
I have the following issue when trying to bridge coppermine and phpBB2:
Fatal error: Cannot redeclare cpggetmicrotime() (previously declared in /homepages/24/d110412048/htdocs/cpg/cpg1410/include/init.inc.php:35) in /homepages/24/d110412048/htdocs/cpg/cpg1410/include/init.inc.php on line 33
I have read many posts with the same problem but cannot find a solution that works for me.
Coppermine install: http://cushendunemmets.com/cpg1410/
Forum install: http://cushendunemmets.com/phpBB2/
Coppermine version: cpg1.4.2
Forum version: phpBB2
Test user account: some_testuser_name / the_password_for_the_test_user_account
BridgeManager settings:
Forum URL: http://mysite.tld/test/foo_bar
Relative path to your BBS's config file: I do not know...I have tried various combinations but nothing works. I either get through and am told ../phpBB2/config.php doesn't exist or get through to enable and am told Fatal error: Cannot redeclare cpggetmicrotime() (previously declared in /homepages/24/d110412048/htdocs/cpg/cpg1410/include/init.inc.php:35) in /homepages/24/d110412048/htdocs/cpg/cpg1410/include/init.inc.php on line 33
Use post-based groups?: no
Cookie name/preifx (if applicable)
-
Look in init.inc.php - do you have two functions named cpggetmicrotime? If so, remove one of them.
-
no, only one. here are lines 33 - 35:
function cpgGetMicroTime()
{
list($usec, $sec) = explode(" ", microtime());
I also put down wrong url - http://www.cushendunemmets.com/cpg/cpg1410/index.php is correct
-
Why do you have Forum URL: http://mysite.tld/test/foo_bar? You need to put an actual address in there.
Have you read the instructions for bridging?
-
Sorry, just missed putting that bit in.
http://www.cushendunemmets.com/phpBB2
Yes I have read as much as I can find. It is the bit about Relative path to your BBS, seen from your Coppermine folder (e.g. "../forum/" if your BBS is at http://www.yourdomain.tld/forum/ and Coppermine at http://www.yourdomain.tld/gallery/)
that I cannot get. It seems to me that this shopuld be../phpBB2/ or /phpBB2/ but nothing seems to do it.
-
Relative path should be ../phpBB2/ but judging by the error message, try ../../phpBB2/