IPB integration problem IPB integration problem
 

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

IPB integration problem

Started by Patrick Shaw, January 23, 2006, 12:08:07 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Patrick Shaw

Hi,
I have installed the gallery successfuly. My IPB installation is establiched and functioning perfectly. However, I can't get the integration to work.

Coppermine version: cpg1.4.2
IPB 2.1.3





The settings in Coppermine are as follows....

Forum URL:      http://www.asiaexpat.info/forum
Relative path to your BBS's config file:    /homepages/24/d143989976/htdocs/forum/forum/
Use post-based groups?:    1
Cookie path in config section is    /

The settings in IPB are...

Cookie Domain
Hint: use .your-domain.com for global cookie:                    .asiaexpat.info
Cookie Name Prefix
Allows multiple boards on one host:                                  asiaexpat_
Cookie Path
Relative path from domain to root IBF dir:                          /




I have set up a user for you in Coppermine........

User: coppermine test
Pass: abc123



Here's what happens... when I click thre login button from Coppermine, it takes me to the IPB login page. When I log in, it the directs me to the forum index, with the following URL... http://www.asiaexpat.info/forum/index.php?http://www.asiaexpat.info/gallery/
Afterwards, I try going to the galler but I'm not logged in and the log in button just goes back to the IPB log in page again.
I've tried to figure this out myself but I can't, sorry... please help me.

N.B. I have currently disabled the integration.


Patrick Shaw

Superb and speedy support, thanks........




I removed the cookie prefix, as descrbid in the link you gave me and It now logs me into Coppermine successfully. However, after logging in, it still takes me to  http://www.asiaexpat.info/forum/index.php?http://www.asiaexpat.info/gallery/     Is this normal? Surely it should take me to the gallery index?


Again, thanks for the quick support :)

Patrick Shaw

#3
Edit: Stupid question... previous post stands.

Joachim Müller

Quote/homepages/24/d143989976/htdocs/forum/forum/
is not a relative path, but an absolute one. Change it to
Quote../gallery/
Also update from cpg1.4.2 to the most recent stable cpg1.4.3

Patrick Shaw



Joachim Müller

check coppermine's config: what's your setting for "URL of your coppermine gallery folder (no 'index.php' or similar at the end)" in the "General settings" section? It must be http://www.asiaexpat.info/gallery/

Tim77

In reference to GauGau's post about relative/absolute paths... I was not able to use a relative path with my CPG 1.4.3/IPB 2.1.4 intigration because they are running on different cPanel accounts and under different domains on the same server... I used an absolute path rather than the relative path and it worked fine.

Joachim Müller

You can't bridge between different domains - I'd like to see how you accomplished this. Please post details.

Tim77

Quote from: GauGau on February 01, 2006, 07:39:16 AM
You can't bridge between different domains - I'd like to see how you accomplished this. Please post details.
It just worked... I didn't do anything special, it just worked. I did have problems with this setup using older versions of cpg but it was flawless with 1.4.3. I'm using two different cPanel accounts. The gallery is at /home/gallery/ and the forum is at /home/heather/

When cpg asked for the "relative path to IPB conf_global.php" I simply gave it the absolute path and it works fine.

Joachim Müller

well, no details then. OK, whatever.

Tim77

#12
Quote from: GauGau on February 01, 2006, 06:59:34 PM
well, no details then. OK, whatever.
What other details would you like? I didn't modify anything so there is nothing else to tell. You wrote the scrips so I can not tell you why it works. What other info could I provide? As stated above, coppermine and invision are on two different cPanel accounts on the same server. Coppermine is located at /home/gallery/public_html/ and invision is located at /home/heather/public_html/forum/ When the "Bridge Manager" asked for the "Relative path" to Invision's conf_global.php file... I gave it the ABSOLUTE path of /home/heather/public_html/forum/conf_global.php and it works fine.

Joachim Müller

What's wrong with links? As you said you have them on different domains, I would have liked to see those domains and how cookies will work across domain borders.

Tim77

The forum is located at http://heatherorourke.net/forum/

The gallery is located at http://gallery.heatherorourke.net/

It's currently set to not allow viewing of the gallery without being logged into the forum first.

Nibbler

Those aren't different domains, they are the same domain. The relative path would be ../../heather/public_html/forum/

Tim77

Quote from: Nibbler on February 02, 2006, 03:51:01 PM
Those aren't different domains, they are the same domain. The relative path would be ../../heather/public_html/forum/
They are actually two different cPanel accounts. The only point I have been trying to make here is that you do NOT need to enter the relative path, an absolute path works just fine even across different accounts on the same server.

Nibbler

I'm just trying to avoid confusion for others who may want to actually bridge across different domains. If the absolute path is working for you then great, but the code is written for and tested with relative paths.

Tim77

It's always been easier for me to understand absolute paths than relative paths.