Advanced search  

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: [1]   Go Down

Author Topic: bridge problem with phpbb and CPG  (Read 9518 times)

0 Members and 1 Guest are viewing this topic.

paulers

  • Coppermine newbie
  • Offline Offline
  • Posts: 9
bridge problem with phpbb and CPG
« on: November 28, 2005, 12:28:27 am »

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 
« Last Edit: November 28, 2005, 01:23:48 am by Nibbler »
Logged

Nibbler

  • Guest
Re: bridge problem with phpbb and CPG
« Reply #1 on: November 28, 2005, 12:37:00 am »

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

paulers

  • Coppermine newbie
  • Offline Offline
  • Posts: 9
Re: bridge problem with phpbb and CPG
« Reply #2 on: November 28, 2005, 12:41:34 am »

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

Logged

paulers

  • Coppermine newbie
  • Offline Offline
  • Posts: 9
Re: bridge problem with phpbb and CPG
« Reply #3 on: November 28, 2005, 12:49:57 am »

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.

Logged

paulers

  • Coppermine newbie
  • Offline Offline
  • Posts: 9
Re: bridge problem with phpbb and CPG
« Reply #4 on: November 28, 2005, 12:54:42 am »

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.

Logged

atomar77

  • Coppermine newbie
  • Offline Offline
  • Posts: 1
Re: bridge problem with phpbb and CPG
« Reply #5 on: November 28, 2005, 01:01:59 am »

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.
Logged

Nibbler

  • Guest
Re: bridge problem with phpbb and CPG
« Reply #6 on: November 28, 2005, 01:06:06 am »

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

Code: [Select]
$result = cpg_db_query($sql, $UDB_DB_LINK_ID);
change it to

Code: [Select]
$result = cpg_db_query($sql, $this->link_id);
And see if that fixes the problem.
Logged

paulers

  • Coppermine newbie
  • Offline Offline
  • Posts: 9
Re: bridge problem with phpbb and CPG
« Reply #7 on: November 28, 2005, 01:11:42 am »

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

Logged
Pages: [1]   Go Up
 

Page created in 0.047 seconds with 19 queries.