PhotoPost Photo Gallery Sales PhotoPost Sales Toll Free Phone Number
Mon-Fri 9am-4pm EST
  PhotoPost Photo Sharing Photo Gallery    Visualize community tm
| | | | | | | | |

Go Back   PhotoPost Community > PhotoPost Support > PhotoPost Pro Support Forums > Photopost Pro Installation & Upgrades

Photopost Pro Installation & Upgrades If you're having install or upgrade problems

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old June 23rd, 2005, 02:47 AM   #1 (permalink)
Junior Member
 
Join Date: Jun 2005
Posts: 8
PP, IPB2 on different subdomains

I have a problem with integrating PP and IPB2.

I followed the install script, and went OK.

When I login from PP, it says successful login, redirecting.. And then PP main page says 'Users browsing the gallery: 1 unregistered user ' and I cannot access the admin page (and I'm admin of my forum).
Since I want to introduce this service for a community (15k+ users), first I want to test the whole stuff before moving live.
Currently, my forum is on a subdomain (forum.bbbbb.ccc) and PP will be on another subdomain (album.bbbbb.ccc).
The cookies from PP and IPB are almost identical (of course, the timestamps are different), but they both have my loginname and userid.

Could you tell me what to do?

Thank you in advance.


BalazsP
balazsp is offline   Reply With Quote
Old June 23rd, 2005, 06:56 AM   #2 (permalink)
Senior Member
 
Join Date: Mar 2003
Posts: 1,296
Hi..

Please check to see if PP "PhotoPost Cookie Domain" is using : .mysite.com
and that your "PhotoPost Cookie Path" is set to : /

The PP cookie setting "URL to your forums main directory" set this to use the forum subdomain

-T
b6gm6n is offline   Reply With Quote
Old June 23rd, 2005, 07:32 AM   #3 (permalink)
Junior Member
 
Join Date: Jun 2005
Posts: 8
I did that.
However, when I login from PP, it says again 'Login successful' but after the redirection it seems I'm still not logged in into PP. (but I'm logged in into my forum).
What more can I do? What info can I give that can help?
balazsp is offline   Reply With Quote
Old June 23rd, 2005, 11:04 AM   #4 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,802
Do the cookie settings match identically? url and test login?
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old June 23rd, 2005, 01:36 PM   #5 (permalink)
Junior Member
 
Join Date: Jun 2005
Posts: 8
the cookie domain is the same for both.
excerpt from the confglobal.php of ipb2:
$INFO['cookie_domain'] = '.rpg.hu';
$INFO['cookie_id'] = 'rpg';
$INFO['cookie_path'] = '/';

copy from PP settings table:
171 PhotoPost Cookie Path cookie_path /
172 Forum Cookie Prefix cookieprefix rpg
173 PhotoPost Cookie .rpg.hu

:no idea:

is it possible to change the login method AFTER the installation?
maybe i'd try to install PP standalone with its own auth system and then use the ipb2 login system..
balazsp is offline   Reply With Quote
Old June 23rd, 2005, 02:31 PM   #6 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,802
just for the sake of trying make the cookie prefix empty in both apps and see what happens
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old June 23rd, 2005, 04:39 PM   #7 (permalink)
Junior Member
 
Join Date: Jun 2005
Posts: 8
Hi,

cool without the prefix it seems to be working.. thanks
(although my whole site is using these cookies for authentication, so it should work in the long run )

now I can login from PP too, but when I go to my forum, I have to relogin too and from the same browser I can login to PP with login1 and login to ipb with login2. (it should not work like this, I think)

Any suggestion on these?
Thank you in advance

BalazsP
balazsp is offline   Reply With Quote
Old June 23rd, 2005, 05:06 PM   #8 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,802
What do you mean login 1 and login 2

You should be able to login to either the forum or photopost and be logged in automatically with the other application.

I beleive if I see this right your still using the cookie prefix on the forum try removing it
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old June 24th, 2005, 03:18 AM   #9 (permalink)
Junior Member
 
Join Date: Jun 2005
Posts: 8
i mean
login1 = username1
login2 = username2
and yes i think it should log in automatically.. /but currently it doesn't/
in ipb, i deleted the cookie prefix from the conf file, the ipb_settings table, but it didn't work.

(couple hours later)

in ipb functions.php there is a line:
$name = $ibforums->vars['cookie_id'].$name;
around line 1920.
if i comment it, it's okay. it logs in in both system, without the cookie prefix.
/however, i don't understand where it gets the cookie_id variable... :-/ it's deleted from config file, db /

is it possible to get PP to use that cookie_id that i set in PP config? (because it sets the proper cookieprefix + cookie /i checked/ but does not use it)
it could save me the hassle of rewriting dozens of scripts

Thank you.
balazsp is offline   Reply With Quote
Old June 24th, 2005, 09:24 AM   #10 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,802
You do not have Invisionboard and Photopost using the same cookie settings. Guaranteed.

You need to PM me your admin login and I can assist. I found your forum but not photopost so you must also include your link to photopost as we have a language barrier as I cant read your site but I fumbled through enough to register a test account.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old June 24th, 2005, 09:58 AM   #11 (permalink)
Junior Member
 
Join Date: Jun 2005
Posts: 8
PM sent with the details.
Thank you.
balazsp is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
IPB2 avatars(FIXED) ljcook ReviewPost Bug Reports 9 September 4th, 2005 11:16 AM
IPB2 avatars in posts Arnie ReviewPost Suggestions 11 August 29th, 2005 12:31 PM
IPB2 and Review post Arnie ReviewPost Bug Reports 8 June 20th, 2005 01:06 PM
IPB2 login? ljcook ReviewPost Installation & Upgrades 2 April 12th, 2005 04:57 PM
Subdomains InterFX ReviewPost How do I...? 1 July 29th, 2004 04:18 PM


All times are GMT -5. The time now is 02:00 PM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0