Cookie problem - expiring repeatedly

Current Version: 1.0.6
Released: 09.01.10
Forum rules
Before creating a new support thread, please take a look in the board3 Portal FAQ and use the search!
Many questions have already been answered.

Topic author
Brogan
Active Member
Posts: 26
Joined: 27. September 2008 17:50

Cookie problem - expiring repeatedly

Post by Brogan »

Your Portal Version: 1.0.0RC3
Your phpBB Type: Standard phpBB3
MODs installed: No
Your knowledge: Basic Knowledge

What have you done before the problem was there?
Movet the portal to the domain root

What have you already tryed to solve the problem?
Nothing

Description and Message
Since moving portal.php from /forum to the domain root there is a cookie problem.

Users are now required to log in each day, despite checking the "Remember me" box.

Is there a fix for this?
User avatar

Ice
Former Team Member
Posts: 359
Joined: 20. January 2008 23:43
Location: England, United Kingdom

Re: Cookie problem - expiring repeatedly

Post by Ice »

Make sure the cookie path is set to '/'
Board3 Portal Dev & English Tech Support

Topic author
Brogan
Active Member
Posts: 26
Joined: 27. September 2008 17:50

Re: Cookie problem - expiring repeatedly

Post by Brogan »

I which file is that?

Thanks.
User avatar

Kevin
Site Admin
Posts: 2989
Joined: 7. January 2006 20:11
phpBB.de User: Saint
phpBB.com User: Saint_hh
Location: Hamburg
Contact:

Re: Cookie problem - expiring repeatedly

Post by Kevin »

In no file.
Set it in the ACP.
~~~ They say the definition of madness is doing the same thing and expecting a different result ~~~

Kein Support per PN / No support via PM!

Topic author
Brogan
Active Member
Posts: 26
Joined: 27. September 2008 17:50

Re: Cookie problem - expiring repeatedly

Post by Brogan »

Yes, just found it and it is already set to /

This problem has only started occurring since I moved the portal.php file from /forum to the domain root.

Topic author
Brogan
Active Member
Posts: 26
Joined: 27. September 2008 17:50

Re: Cookie problem - expiring repeatedly

Post by Brogan »

Anything else I can check?

Topic author
Brogan
Active Member
Posts: 26
Joined: 27. September 2008 17:50

Re: Cookie problem - expiring repeatedly

Post by Brogan »

Still got the same problem with this.
What should the configuration in the root .htaccess be?
User avatar

Kevin
Site Admin
Posts: 2989
Joined: 7. January 2006 20:11
phpBB.de User: Saint
phpBB.com User: Saint_hh
Location: Hamburg
Contact:

Re: Cookie problem - expiring repeatedly

Post by Kevin »

Delete the entry in the .htaccess for the portal in your forum directory.
Create a new one in your root directory, with the entry for the portal.
~~~ They say the definition of madness is doing the same thing and expecting a different result ~~~

Kein Support per PN / No support via PM!

Topic author
Brogan
Active Member
Posts: 26
Joined: 27. September 2008 17:50

Re: Cookie problem - expiring repeatedly

Post by Brogan »

Thanks.

Topic author
Brogan
Active Member
Posts: 26
Joined: 27. September 2008 17:50

Re: Cookie problem - expiring repeatedly

Post by Brogan »

I've tried several things and still can't resolve this cookie problem.

I now have both home.php (portal) and forum.php in the domain root.

I suspect it's due to this line in my .htaccess file:

Code: Select all

DirectoryIndex home.php index.php index.html index.htm
Any ideas what I can do to resolve it?
User avatar

Ice
Former Team Member
Posts: 359
Joined: 20. January 2008 23:43
Location: England, United Kingdom

Re: Cookie problem - expiring repeatedly

Post by Ice »

Well after 2 days it still has me signed in.

If you have Firefox handy go to Tools -> Options -> Privacy -> Show Cookies -> filter cliptheapex -> check all cookies have the path '/'
Board3 Portal Dev & English Tech Support

Topic author
Brogan
Active Member
Posts: 26
Joined: 27. September 2008 17:50

Re: Cookie problem - expiring repeatedly

Post by Brogan »

It all seems to be fine.

I've just cleared all the board cookies and I'll see what happens.

Topic author
Brogan
Active Member
Posts: 26
Joined: 27. September 2008 17:50

Re: Cookie problem - expiring repeatedly

Post by Brogan »

This is still not working so we have no option but to uninstall the portal.
User avatar

Ice
Former Team Member
Posts: 359
Joined: 20. January 2008 23:43
Location: England, United Kingdom

Re: Cookie problem - expiring repeatedly

Post by Ice »

Well I'm still logged in perfectly fine. Sorry, but we don't know what could cause this and so do not know what we can do to fix it.
Board3 Portal Dev & English Tech Support

Topic author
Brogan
Active Member
Posts: 26
Joined: 27. September 2008 17:50

Re: Cookie problem - expiring repeatedly

Post by Brogan »

Maybe it's an issue with having multiple pages open?

I have Firefox set to automatically open the homepage, forum and ACP in separate tabs.
Perhaps that is the reason?

That used to work without the portal though so obviously something somewhere needs tweaking.
I'll see if I can track it down...
Locked

Return to “board3 Portal 1.0.x - English Support”