Advanced search  

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

Pages: [1]   Go Down

Author Topic: IPB integration problem  (Read 8904 times)

0 Members and 1 Guest are viewing this topic.

Patrick Shaw

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
IPB integration problem
« 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.
« Last Edit: January 25, 2006, 06:36:52 am by TranzNDance »
Logged

Nibbler

  • Guest
Logged

Patrick Shaw

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
Re: IPB integration problem
« Reply #2 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 :)
Logged

Patrick Shaw

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
Re: IPB integration problem
« Reply #3 on: January 23, 2006, 12:32:35 am »

Edit: Stupid question... previous post stands.
« Last Edit: January 23, 2006, 04:23:09 am by Patrick Shaw »
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: IPB integration problem
« Reply #4 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
Logged

Patrick Shaw

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
Re: IPB integration problem
« Reply #5 on: January 25, 2006, 06:30:54 am »

Thanks buddy :)
Logged

Patrick Shaw

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
Re: IPB integration problem
« Reply #6 on: January 25, 2006, 06:44:11 am »

Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: IPB integration problem
« Reply #7 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/
Logged

Tim77

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 27
    • Heather O'Rourke: The Memorial Site
Re: IPB integration problem
« Reply #8 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.
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: IPB integration problem
« Reply #9 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.
Logged

Tim77

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 27
    • Heather O'Rourke: The Memorial Site
Re: IPB integration problem
« Reply #10 on: February 01, 2006, 02:51:02 pm »

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.
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: IPB integration problem
« Reply #11 on: February 01, 2006, 06:59:34 pm »

well, no details then. OK, whatever.
Logged

Tim77

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 27
    • Heather O'Rourke: The Memorial Site
Re: IPB integration problem
« Reply #12 on: February 02, 2006, 03:52:36 am »

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.
« Last Edit: February 02, 2006, 04:44:05 am by Tim77 »
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: IPB integration problem
« Reply #13 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.
Logged

Tim77

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 27
    • Heather O'Rourke: The Memorial Site
Re: IPB integration problem
« Reply #14 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.
Logged

Nibbler

  • Guest
Re: IPB integration problem
« Reply #15 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/
Logged

Tim77

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 27
    • Heather O'Rourke: The Memorial Site
Re: IPB integration problem
« Reply #16 on: February 02, 2006, 04:18: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.
Logged

Nibbler

  • Guest
Re: IPB integration problem
« Reply #17 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.
Logged

Tim77

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 27
    • Heather O'Rourke: The Memorial Site
Re: IPB integration problem
« Reply #18 on: February 02, 2006, 04:48:38 pm »

It's always been easier for me to understand absolute paths than relative paths.
Logged
Pages: [1]   Go Up
 

Page created in 0.021 seconds with 19 queries.