bridge problem with phpbb and CPG bridge problem with phpbb and CPG
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

bridge problem with phpbb and CPG

Started by paulers, November 28, 2005, 12:28:27 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

paulers

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

I have links on each of my sites to help the user navigate between the main website, forums, and coppermine.

main website = http://devinememories.net

When the user goes from main website -> CPG -> main website -> CPG  etc.. everything works fine.
When the user goes from main website ->forums -> main web site -> CPG , I get a blank Fatal Error message.

The only way to get it to work again is to clear cookies and cache after recieving fatal error.

Coppermine install: http://devinememories.net/pics/
Forum install: http://devinememories.net/forums/
Coppermine version: cpg1.4.2
Forum version: phpBB 2.0.18
Test user account: test/test

BridgeManager settings:

Forum URL:  http://devinememories.net/forums 
Relative path to your BBS's config file:  ../forums/ 
Use post-based groups?:  0 
Cookie prefix:  phpbb2mysql 

Nibbler

Works ok for me, grab the latest version of the bridge file from here and see if that helps.

paulers

just curious, you went from the main website to the forums, then back to the main website and then tried to access CPG?


paulers

I updated the bridge and still does the same thing.

go to http://devinememories.net and click the link "Devine Memories Forums "
then click on the link titled "Devine Memories Website"
then when back at the main site, click the link titled "Devine Memories Photo Gallery"

note: I did all of this without logging into the forums or CPG.


paulers

another weird thing I would like to add:

if I go from main website -> forums -> main website -> photo gallery I get fatal error.

however, if I go from main website -> forums, log in to forums -> main website -> CPG all works fine.


atomar77

I get the same error. After I clear all the cookies it works fine.
Haven't spent too much time trying to narrow it down tho.

Nibbler

OK, I get the error now. Can you look in the bridge file, find

$result = cpg_db_query($sql, $UDB_DB_LINK_ID);

change it to

$result = cpg_db_query($sql, $this->link_id);

And see if that fixes the problem.

paulers

Wonderful!!! It works great now! Thanks a bunch!