| Author |
Message |
txll
Beginner


Joined: Jan 10, 2008 Posts: 5
|
Posted: Sun Jan 13, 2008 2:22 pm Post subject: being logged off from gallery |
|
|
I integrated phpBB3 3.0.0 and Gallery 2.2.4. I made the mods on prosilver style only and use only it. I also applied the changes from this topic: http://www.nukedgallery.net/postt3821.html [nukedgallery.net] User accounts from the forum exported to the gallery.
The problem is the following:
1) a user is logged in the forum;
2) user clicks on the Gallery 2 link and goes to the gallery;
3) in this moment the user is still logged in and can see everything which is allowed to his group;
4) in this moment the user clicks on a link somewhere in the gallery and now he is logged off and he can see the gallery as a guest only. If I return to the forum in this moment, I'm still logged off.
If I make the gallery to work standalone ( $gallery->setConfig('mode.embed.only', false); ) I can log in the gallery with the administrator account and then everything is fine (I'm not being logged off on the next click or whenever).
I searched in the forum here and couldn't find this problem or similar so maybe it is a mistake made by me that causes the problem. I'll be very thankful if someone could point me where the problem could be and where to search for it. |
|
| Back to top |
|
|
AdBot
|
| Post subject: being logged off from gallery |
|
|
|
|
|
| Back to top |
|
 |
jettyrat
Moderator


Joined: Nov 28, 2005 Posts: 1144
|
Posted: Mon Jan 14, 2008 11:16 am Post subject: Re: being logged off from gallery |
|
|
| I think that is the cookie issue again. Make sure your cookie settings are the same in G2 and phpBB3. |
|
| Back to top |
|
|
txll
Beginner


Joined: Jan 10, 2008 Posts: 5
|
Posted: Mon Jan 14, 2008 11:41 am Post subject: Re: being logged off from gallery |
|
|
You are right Thank you very much  |
|
| Back to top |
|
|
anmolgill
Beginner


Joined: Jun 27, 2008 Posts: 5
|
Posted: Thu Jul 03, 2008 3:17 am Post subject: Re: being logged off from gallery |
|
|
hi dear
how to check the cookie setting in gallery2 and phbb forum are same or not |
|
| Back to top |
|
|
dari
Site Admin


Joined: Mar 03, 2003 Posts: 6287 Location: Washington Township, NJ, USA
|
Posted: Thu Jul 03, 2008 6:14 am Post subject: Re: being logged off from gallery |
|
|
| in the gallery 2 admin page, i believe it's under the "general" section, there is the cookie settings section. in phpbb3, it's in the ACP, under cookie settings. make sure the path/domain match for both. this is assuming that your gallery and forum are in the same domain, ie www.yoursite.com/gallery and www.yoursite.com/forum. if you use forum.yoursite.com and gallery.yoursite.com, you should use .yoursite.com as the domain (make sure the . is in their at the front). |
|
| Back to top |
|
|
jettyrat
Moderator


Joined: Nov 28, 2005 Posts: 1144
|
Posted: Thu Jul 03, 2008 9:32 am Post subject: Re: being logged off from gallery |
|
|
| The integration code (v1.0.1) should have set this for you if you ran the automatic configuration. Did it not work? |
|
| Back to top |
|
|
|
|
|
|
|