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
Works ok for me, grab the latest version of the bridge file from here (http://forum.coppermine-gallery.net/index.php?topic=24166.msg111062#msg111062) and see if that helps.
just curious, you went from the main website to the forums, then back to the main website and then tried to access CPG?
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.
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.
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.
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.
Wonderful!!! It works great now! Thanks a bunch!