coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 bridging => Topic started by: Patrick Shaw on January 23, 2006, 12:08:07 AM

Title: IPB integration problem
Post by: Patrick Shaw on January 23, 2006, 12:08:07 AM
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.
Title: Re: IPB integration problem
Post by: Nibbler on January 23, 2006, 12:13:56 AM
See http://forum.coppermine-gallery.net/index.php?topic=25515.msg117349#msg117349
Title: Re: IPB integration problem
Post by: Patrick Shaw on January 23, 2006, 12:24:32 AM
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 :)
Title: Re: IPB integration problem
Post by: Patrick Shaw on January 23, 2006, 12:32:35 AM
Edit: Stupid question... previous post stands.
Title: Re: IPB integration problem
Post by: Joachim Müller on January 23, 2006, 06:56:06 AM
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
Title: Re: IPB integration problem
Post by: Patrick Shaw on January 25, 2006, 06:30:54 AM
Thanks buddy :)
Title: Re: IPB integration problem
Post by: Patrick Shaw on January 25, 2006, 06:44:11 AM
That didn't help :( ... still directs me to http://www.asiaexpat.info/forum/index.php?http://www.asiaexpat.info/gallery/displayimage.php?album=random&cat=0&pos=-5 after log in
Title: Re: IPB integration problem
Post by: Joachim Müller on January 26, 2006, 08:39:24 AM
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/
Title: Re: IPB integration problem
Post by: Tim77 on February 01, 2006, 04:07:29 AM
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.
Title: Re: IPB integration problem
Post by: Joachim Müller 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.
Title: Re: IPB integration problem
Post by: Tim77 on February 01, 2006, 02:51:02 PM
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.
Title: Re: IPB integration problem
Post by: Joachim Müller on February 01, 2006, 06:59:34 PM
well, no details then. OK, whatever.
Title: Re: IPB integration problem
Post by: Tim77 on February 02, 2006, 03:52:36 AM
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.
Title: Re: IPB integration problem
Post by: Joachim Müller on February 02, 2006, 09:04:15 AM
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.
Title: Re: IPB integration problem
Post by: Tim77 on February 02, 2006, 03:29:20 PM
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.
Title: Re: IPB integration problem
Post by: 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/
Title: Re: IPB integration problem
Post by: Tim77 on February 02, 2006, 04:18:01 PM
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.
Title: Re: IPB integration problem
Post by: Nibbler on February 02, 2006, 04:29:23 PM
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.
Title: Re: IPB integration problem
Post by: Tim77 on February 02, 2006, 04:48:38 PM
It's always been easier for me to understand absolute paths than relative paths.