coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 bridging => Topic started by: apsman on February 20, 2008, 06:52:29 AM

Title: Fatal Error after trying to bridge
Post by: apsman on February 20, 2008, 06:52:29 AM
I have the following issue when trying to bridge coppermine and XXX:

Fatal error: Cannot redeclare cpggetmicrotime() (previously declared in /home/wttls/public_html/gallery/include/init.inc.php:35) in /home/wttls/public_html/gallery/include/init.inc.php on line 37

Coppermine install: http://www.wttls.com/gallery
Forum install: http://www.wttls.com/forum
Coppermine version: cpg1.4.12
Forum version: phpBB 2.0.22
Test user account: Cannot create test account on coppermine but i can create one on phpBB if needed

BridgeManager settings: (Not sure on these)
Forum URL:  http://mysite.tld/test/foo_bar
Relative path to your BBS's config file:  ../bla/ 
Use post-based groups?:  0
Cookie name/preifx (if applicable)


If you need anything else feel free to email me or i will check back here tomorrow! When i try to do the recover from bad bridge it is giving me the same error message as if i was just trying to log on.
Title: Re: Fatal Error after trying to bridge
Post by: Joachim Müller on February 20, 2008, 07:37:43 AM
Quote from: apsman on February 20, 2008, 06:52:29 AM
Coppermine version: cpg1.4.12
Upgrade! Most recent stable currently is cpg1.4.16
Quote from: apsman on February 20, 2008, 06:52:29 AMTest user account: Cannot create test account on coppermine but i can create one on phpBB if needed
When bridged, coppermine users are not taken into account, so we don't need a coppermine user account, but one from the app you bridge with.
Quote from: apsman on February 20, 2008, 06:52:29 AMForum URL:  http://mysite.tld/test/foo_bar
Set it to http://www.wttls.com/forum/ - should be quite obvious.
Quote from: apsman on February 20, 2008, 06:52:29 AMRelative path to your BBS's config file:  ../bla/
Set it to ../forum/
Quote from: apsman on February 20, 2008, 06:52:29 AMIf you need anything else feel free to email me
There is no support by email.
Quote from: apsman on February 20, 2008, 06:52:29 AM
When i try to do the recover from bad bridge it is giving me the same error message as if i was just trying to log on.
http://coppermine-gallery.net/demo/cpg14x/docs/index.htm#bridge_manager_recover_start
Alternatively, use a third-party tool like phpMyAdmin to directly access your database, browse coppermine's config table, set bridge_enable to 0
Title: Re: Fatal Error after trying to bridge
Post by: apsman on February 20, 2008, 01:01:35 PM
Want to make sure i have this right!

I have the following issue when trying to bridge coppermine and phpBB:

Fatal error: Cannot redeclare cpggetmicrotime() (previously declared in /home/wttls/public_html/gallery/include/init.inc.php:35) in /home/wttls/public_html/gallery/include/init.inc.php on line 37

Coppermine install: http://www.wttls.com/gallery
Forum install: http://www.wttls.com/forum
Coppermine version: cpg1.4.12
Forum version: phpBB 2.0.22
Test user account: Username: test Password: poop

BridgeManager settings: (Not sure on these)
Forum URL:  http://www.wttls.com/forums
Relative path to your BBS's config file:  ../forum/ 
Use post-based groups?:  0
Cookie name/preifx (if applicable)
Title: Re: Fatal Error after trying to bridge
Post by: apsman on February 20, 2008, 01:04:02 PM
Errr dont see a edit button! Ok i am looking to upgradeing this is my first time running a website so it takes me a while to figure it all out. I think i know where i went wrong though. I think when trying to bridge when asked relative path for forum i might have put .../gallery/ instead of /forum. Is there anyways to fix that?
Title: Re: Fatal Error after trying to bridge
Post by: Nibbler on February 20, 2008, 01:45:27 PM
http://coppermine-gallery.net/demo/cpg14x/docs/index.htm#bridge_manager_recover_start
Title: Re: Fatal Error after trying to bridge
Post by: apsman on February 20, 2008, 02:06:02 PM
Yea i got it... looks like when i was trying that last night i was still logged in and it wouldnt let me log out. So now i am running in stand-alone mode. but when i try to log in it gives me the welcome screen and when i click continue it puts me out to the front page not logged in (trying to log in as admin).

Thank you so much for the help.
Title: Re: Fatal Error after trying to bridge
Post by: apsman on February 20, 2008, 02:12:22 PM
update: logging in with firefox gets me admin tools.... but it does not with IE
Title: Re: Fatal Error after trying to bridge
Post by: Joachim Müller on February 20, 2008, 06:06:55 PM
Clear your cookies then in IE.
Title: Re: Fatal Error after trying to bridge
Post by: apsman on February 20, 2008, 08:07:13 PM
Looks like i am solved... I just upgraded to the newest version of coppermine, now i just realized i need to update my phpBB version as well!

P.S. very good walkthrough for the update was very easy for me!

Thanks
Title: Re: Fatal Error after trying to bridge
Post by: apsman on February 20, 2008, 08:36:29 PM
Yeppers got everything updated and got the bridge to work!

Thank you for all the help!