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.
See http://forum.coppermine-gallery.net/index.php?topic=25515.msg117349#msg117349
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 :)
Edit: Stupid question... previous post stands.
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
Thanks buddy :)
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
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/
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.
You can't bridge between different domains - I'd like to see how you accomplished this. Please post details.
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.
well, no details then. OK, whatever.
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.
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.
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.
Those aren't different domains, they are the same domain. The relative path would be ../../heather/public_html/forum/
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.
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.
It's always been easier for me to understand absolute paths than relative paths.