Bridging Coppermin & phpBB not working Bridging Coppermin & phpBB not working
 

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]

Main Menu

Bridging Coppermin & phpBB not working

Started by vandman, July 04, 2013, 06:50:50 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

vandman

Hi,

I installed phpBB (3.0.10) through debian package
I use an alias to declare it in apache:
  Alias /forum/images /var/lib/phpbb3/images
  Alias /forum /usr/share/phpbb3/www
I do not know if it is relevent, I installed "phpBB Gallery" pluggin prior to Coppermin...


I installed Cpg (1.5.24) through the zip file.
I use an alias to declare it in apache:
  Alias /album /var/www/cpg15x

Here is my config (from coppermin DB) for the bridging:
full_forum_url    http://mysite/forum
recovery_logon_failures    0
recovery_logon_timestamp    
relative_path_to_config_file    ../phpbb/
short_name    phpbb3
use_post_based_groups    1

So whe I set it up, everything goes well.
But when I want to log into Coppermine, It does not work as it loop-back to phpBB.

How can I fix it?

Thanks

vandman

Hi,

You can have a look at my website and register if you wish (for a test)...

maison.nikolov.ws/album


Thanks

vandman

Please Help me.

I gave all the information + the website...

There is no point to give a username + password as the link is not workink...
There is nothing in it (phpBB and Coppermine) So registration is free and you can test...

I can not access Coppermine from PHPBB, neither from Coppermine (when the bridge is up)...

Coppermine alone is working great as well as PHPBB...

Thanks


phill104

Have you checked the cookie prefix in phpBB? Most bridging problems are from that. If you do a quick search of these forums you will find lots of details on how to check that.
It is a mistake to think you can solve any major problems just with potatoes.

vandman

I am not quite shure about what you call a cookie prefix.

But as a setup in PHPBB, I have:
cookie domain name: maison.nikolov.ws
name of the cookie: forum
path of the cookie: /

In Coppermine, I have:
name of the cookie: album
path of the cookie: /

So I think it is OK?

Any clue?

vandman

Hi,

I am Happy, I found the solution.

The trouble came from the fact that I installed phpBB through the debian package.
In the debian Package, the file config.php is not the same as the one in the phpBB install package (zip file).
In the debian package, the information about the connection to mysql is not in congig.php within the phpBB folder but in /etc/phpBB3...

Here was the issue, I think...

Thanks for you time...
;D

phill104

Many thank for coming back to resolve your thread especially with a fix. It really is appreciated.
It is a mistake to think you can solve any major problems just with potatoes.

vandman

Just to add a bit of information on bridging:

I found a way to add a button in phpBB to go back to Coppermine:
Here is how we do (based on subsilver2 theme)
I used the "gateway" theme as it is the same theme in phpBB and Coppermine.
In
Quote./styles/gateway/template/overall_header.html
replace
<a href="{U_FAQ}">{L_FAQ}</a>
put
<a href="../your_relative_link_to_cpg/">Gallery</a>
&#8226; <a href="{U_FAQ}">{L_FAQ}</a>

Pay attention to the relative link.
if your phpBB is installed at www.yourdomain.com/phpbb
and Coppermine is at www.yourdomain.com/cpg15x,
you must put for
Quote../your_relative_link_to_cpg/
../cpg15x/

That is all