Advanced search  

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]

Pages: [1]   Go Down

Author Topic: Bridging issues between Coppermine and punBB  (Read 3581 times)

0 Members and 1 Guest are viewing this topic.

GuiLinux

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 6
Bridging issues between Coppermine and punBB
« on: May 22, 2007, 11:29:59 pm »

I have the following issue when trying to bridge coppermine and the latest version of punBB:
I cannot log in from Coppermine.  I am directed to the following URL:
http://www.round11.net/gallery/login.php?referer=index.php

And I get the following in IE6:
Code: [Select]
The resource cannot be displayed
The resource you are looking for cannot be opened by your browser.

--------------------------------------------------------------------------------

Please try the following:

Click the  Back button to try another link.
Click  Search to look for information on the Internet.

HTTP Error 406 - Not acceptable
Internet Explorer

Coppermine install: http://www.round11.net/gallery
Forum install: http://www.round11.net/forum
Coppermine version: cpg1.4.10
Forum version: punBB 1.2.15
Test user account: test / test

BridgeManager settings:
Forum URL:  http://www.round11.net/forum
Relative path to your BBS's config file:  ../forum/
Use post-based groups?:  ?

Any help would be appreciated.  Thanks!
« Last Edit: May 24, 2007, 07:20:21 am by GauGau »
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Bridging issues between Coppermine and punBB
« Reply #1 on: May 23, 2007, 07:41:56 am »

http://www.round11.net/gallery doesn't appear to be a coppermine-driven gallery, but one driven by menalto gallery. Is your question still valid, or did you decide to use menalto gallery instead of coppermine?
Logged

GuiLinux

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 6
Re: Bridging issues between Coppermine and punBB
« Reply #2 on: May 23, 2007, 03:08:04 pm »

Yes, it's switched back over to Coppermine.  I appologize.  I was testing things and forgot to set it back.  The only difference now, is that Coppermine is now installed in the root directory and the bridging has changed to:

BridgeManager settings:
Forum URL:  http://www.round11.net/forum
Relative path to your BBS's config file:  forum/
Use post-based groups?: No

Test account is still set up.  And these are brand new installs of both software.
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Bridging issues between Coppermine and punBB
« Reply #3 on: May 23, 2007, 05:33:27 pm »

When accessing http://www.round11.net/ and clicking on the login button, I get redirected to http://www.round11.net/forum/login.php?action=login&redir=http://round11.net//, with this error message:
Quote
406 not acceptable
Not Acceptable
An appropriate representation of the requested resource /forum/login.php could not be found on this server.

Apache/1.3.37 Server at www.round11.net Port 80
As far as I remember there have been issues with punBB and the redirection parameter, but I don't remember the corresponding thread out of the back of my head. Accessing http://www.round11.net/forum/login.php?action=login works as expected. Taking a look at the punbb bridge file (bridge/punbb12.inc.php) I saw some comments:
Quote
/*

For login/logout redirection:

Edit punbb's login.php


Find: $page_title = pun_htmlspecialchars($pun_config['o_board_title']).' / '.$lang_common['Login'];

Add before it: $redirect_url = (isset($_GET['redir'])) ? $_GET['redir'] : $redirect_url;


Find: redirect('index.php', $lang_login['Logout redirect']);

Change to: redirect(isset($_GET['redir']) ? $_GET['redir'] : 'index.php', $lang_login['Logout redirect']);

*/
Try if this fixes your issue.
Logged

GuiLinux

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 6
Re: Bridging issues between Coppermine and punBB
« Reply #4 on: May 23, 2007, 07:29:29 pm »

Unfortunatly, that didn't help.  It seems there's a problem on the coppermine's login proceedure rather than punbb's login proceedure.  If I log in to punnBB, I show logged into Coppermine, so something is working there.  It's just the login/logout proceedure from Coppermine that's causing the problem.
Logged

GuiLinux

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 6
Re: Bridging issues between Coppermine and punBB
« Reply #5 on: May 23, 2007, 11:26:55 pm »

Please ignore this request.  You can close this thread.  Thank you.
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Bridging issues between Coppermine and punBB
« Reply #6 on: May 24, 2007, 07:19:40 am »

For the benefit of others you should have posted what you did to solve your issues.
Logged
Pages: [1]   Go Up
 

Page created in 0.117 seconds with 15 queries.