coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 bridging => Topic started by: GuiLinux on May 22, 2007, 11:29:59 PM

Title: Bridging issues between Coppermine and punBB
Post by: GuiLinux 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:
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!
Title: Re: Bridging issues between Coppermine and punBB
Post by: Joachim Müller 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?
Title: Re: Bridging issues between Coppermine and punBB
Post by: GuiLinux 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.
Title: Re: Bridging issues between Coppermine and punBB
Post by: Joachim Müller 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:
Quote406 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.
Title: Re: Bridging issues between Coppermine and punBB
Post by: GuiLinux 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.
Title: Re: Bridging issues between Coppermine and punBB
Post by: GuiLinux on May 23, 2007, 11:26:55 PM
Please ignore this request.  You can close this thread.  Thank you.
Title: Re: Bridging issues between Coppermine and punBB
Post by: Joachim Müller on May 24, 2007, 07:19:40 AM
For the benefit of others you should have posted what you did to solve your issues.