coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 bridging => Topic started by: seosutra on October 10, 2006, 10:04:22 AM

Title: Login to CPG redirects to forums...
Post by: seosutra on October 10, 2006, 10:04:22 AM
Hello,

I am having login issues after the bridge process:

When i go to the forum and log in... it will log me in.
Now, if i try to visit the photogallery, it will redirect me to the forum index page.

And If i directly try to visit the gallery page, it will redirect me to the forum index page.

Not sure what can be the issue? should i have 1 database for both applications?

kindly sugges...



Coppermine install: http://www.mydomain.com/photogallery/
Forum install: http://www.mydomain.com/forum/
Coppermine version: cpg1.4.9
Forum version: PHPBB 2.0.21

BridgeManager settings:
Forum URL:  http://www.mydomain.com/forum/
Relative path to your BBS's config file:  ../forum/ 
Use post-based groups?:  NO
Cookie name : phpbb2mysql

I will appreciate the help

regs
SSutra
Title: Re: Login to CPG redirects to forums...
Post by: Nibbler on October 10, 2006, 12:21:55 PM
Post real data.
Title: Re: Login to CPG redirects to forums...
Post by: seosutra on October 10, 2006, 01:03:20 PM
Forum URL: http://www.1stoped.com/forum/index.php
CPG: http://www.1stoped.com/photogallery/
Title: Re: Login to CPG redirects to forums...
Post by: Nibbler on October 10, 2006, 01:09:02 PM
Test account?
Title: Re: Login to CPG redirects to forums...
Post by: seosutra on October 10, 2006, 01:22:17 PM
user: test
pass: test246
Title: Re: Login to CPG redirects to forums...
Post by: seosutra on October 11, 2006, 08:41:05 AM
any suggestions?
Title: Re: Login to CPG redirects to forums...
Post by: Nibbler on October 11, 2006, 12:54:56 PM
I don't know what the problem is, all your settings seem correct. Make sure you are using the correct bridge for your phpbb version. You get the redirect when you visit the gallery because you have it set that way in config (allow unlogged access = no).
Title: Re: Login to CPG redirects to forums...
Post by: seosutra on October 11, 2006, 02:32:03 PM
actually what happens is that when i log in from the forum and then visit the gallery... it will still rediret me to the forums index page.

however, if i log in as an admin from the forum... and then go to the gallery... it would accept me as an admin...

I can see all the users and groups of the forums from the CPG admin section.

i am using seperate database for both the application, is this an issue?
Title: Re: Login to CPG redirects to forums...
Post by: Nibbler on October 11, 2006, 03:04:06 PM
Quote from: seosutra on October 11, 2006, 02:32:03 PM
actually what happens is that when i log in from the forum and then visit the gallery... it will still rediret me to the forums index page.

Right, it doesn't recognise you as a user and so it redirects you.

Quote from: seosutra on October 11, 2006, 02:32:03 PM
i am using seperate database for both the application, is this an issue?

No.
Title: Re: Login to CPG redirects to forums...
Post by: woz on October 12, 2006, 12:55:11 PM
I am having the same issue

phpbb: 2.0.21
CPG: 1.4.9
Title: Re: Login to CPG redirects to forums...
Post by: woz on October 12, 2006, 01:09:58 PM
sorry bout the double post .... couldn't find "edit".

I have corrected my issue. SMALL typo in the cookie setting.

Default phpbb cookie setting: phbb2mysql NOT phpbbmysql
Title: Re: Login to CPG redirects to forums...
Post by: seosutra on October 14, 2006, 09:50:40 AM
Quote from: Nibbler on October 11, 2006, 03:04:06 PM
Right, it doesn't recognise you as a user and so it redirects you.

but then, how does it recognise me when i log into the forum as an Admin User?