Bridging issues between Coppermine and punBB Bridging issues between Coppermine and punBB
 

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

Main Menu

Bridging issues between Coppermine and punBB

Started by GuiLinux, May 22, 2007, 11:29:59 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

GuiLinux

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!

Joachim Müller

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?

GuiLinux

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.

Joachim Müller

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.

GuiLinux

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.

GuiLinux

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

Joachim Müller

For the benefit of others you should have posted what you did to solve your issues.