Cookie error in 2.0.18 when updating

This is an archive of the phpBB 2.0.x support forum. Support for phpBB2 has now ended.
Forum rules
Following phpBB2's EoL, this forum is now archived for reference purposes only.
Please see the following announcement for more information: viewtopic.php?f=14&t=1385785
sobewebmaster
Registered User
Posts: 119
Joined: Sun Oct 02, 2005 1:19 am

Cookie error in 2.0.18 when updating

Post by sobewebmaster »

When I do the update to .18 from .17, I get a login issue, where I have to delete cookies each time I want to login.

And I know that it says nothing to do with mods, but this kinda has something to do with phpBB Security methinks. It says it is a DDOS attempt and asks me to leave if I check Remember Me, and when I come back while still logged in, it gives me that error. But it lets me login regularly when I delete cookies :(

Any help would be appreciated. If someone could tell me the steps to markout in that 2.0.17 to 2.0.18 MOD file readme, so that I don't get that updated login, it would be appreciated.

Or could I just update from .17 to .19, because .18 deals a lot with the login <_< Like, what I update my database to .18, then did a regular manual update to .19 from just a database update of .18.
Seraphic
Registered User
Posts: 274
Joined: Wed Feb 15, 2006 8:20 am

Post by Seraphic »

Last edited by Seraphic on Sun Feb 19, 2006 1:32 am, edited 1 time in total.
sobewebmaster
Registered User
Posts: 119
Joined: Sun Oct 02, 2005 1:19 am

Post by sobewebmaster »

It has nothing to do with going to admin login <_<

Unless that bug in 2.0.17 is for regular logins... I mean when checking remember me, and when going off the site, and coming back, it gives you a security warning to leave the site, and will not let you login unless you delete your cookies <_<
Seraphic
Registered User
Posts: 274
Joined: Wed Feb 15, 2006 8:20 am

Post by Seraphic »

Hi,

The fix for the login cookie issue when going from .17 to .18 is found on the website I gave above. Also, phpBB Security 1.0.3 is out, this has the fix included.
User avatar
Lumpy Burgertushie
Registered User
Posts: 69224
Joined: Mon May 02, 2005 3:11 am
Contact:

Post by Lumpy Burgertushie »

you don't need any fixes or security fixes, etc.

you just need to finish the update process and get your cookies setup properly.
First , get this:
Auto Cookies MOD
then, unzip it to your computer,


then upload the included install folder, to your phpbb folder on the server.,

then , in your browser, go to:
yourdomain.com/yourphpbbb/install/cookie.php

then click the button to accept the settings it finds.

then delete the install folder.

Then you and all your members MUST do the cookie dance:

step 1. log out
step 2. clear your browser cookie
step 3. clear your browser cache/temporary internet files
step 4. close your browser
step 5. go back and test
step 6. hold one foot in the air and spin around three times
singing "Do the Cookie Dance, yeah, yeah, yeah."

done.
Premium phpBB 3.3 Styles by PlanetStyles.net

I am pleased to announce that I have completed the first item on my bucket list. I have the bucket.
Seraphic
Registered User
Posts: 274
Joined: Wed Feb 15, 2006 8:20 am

Post by Seraphic »

Lumpy Burgertushie, that is not the problem.

There is a cookie coding conflict when going from phpBB .17 to .18 when using phpBB Security 1.0.2. This is because of the new features added in phpBB .18.

sobewebmaster, use one of the below links to get the fix. But you must be a member to access the page.

http://phpbb-tweaks.com/topics.html-t-8770 or http://phpbb-tweaks.com/topics.html-t-8731
User avatar
Lumpy Burgertushie
Registered User
Posts: 69224
Joined: Mon May 02, 2005 3:11 am
Contact:

Post by Lumpy Burgertushie »

Seraphic wrote: Lumpy Burgertushie, that is not the problem.

There is a cookie coding conflict when going from phpBB .17 to .18 when using phpBB Security 1.0.2. This is because of the new features added in phpBB .18.

sobewebmaster, use one of the below links to get the fix. But you must be a member to access the page.

http://phpbb-tweaks.com/topics.html-t-8770 or http://phpbb-tweaks.com/topics.html-t-8731


ah, I didn't realize that phpbb security was the name of a MOD.

sorry,
robert
Premium phpBB 3.3 Styles by PlanetStyles.net

I am pleased to announce that I have completed the first item on my bucket list. I have the bucket.
sobewebmaster
Registered User
Posts: 119
Joined: Sun Oct 02, 2005 1:19 am

Post by sobewebmaster »

Thank you :)

And just for the heck of it for anyone else with the problem I had:
OPEN
page_header.php

FIND

Code: Select all

   phpBBSecurity_Cookies();
REPLACE WITH

Code: Select all

#   phpBBSecurity_Cookies(); 
This will also be the official release in 1.0.3. The difference is the cookie function will be removed all together because of the simple fact, phpBB finally made it secure, so there is no need for it any longer.


:)
Madirena
Registered User
Posts: 41
Joined: Sun Feb 19, 2006 5:03 pm
Location: Italy

Post by Madirena »

Hello everybody!

I done everything you said here (auto cookie mod), for me there are not problems, but my users have big problems with login.
OPEN
page_header.php

FIND
Code:
phpBBSecurity_Cookies();


REPLACE WITH
Code:
# phpBBSecurity_Cookies();


This will also be the official release in 1.0.3. The difference is the cookie function will be removed all together because of the simple fact, phpBB finally made it secure, so there is no need for it any longer.

I don't find phpBBSecurity_Cookies(); in my page_header.php 8O 8O

Have you another solution??? PLEEEEASE!!!!
User avatar
Lumpy Burgertushie
Registered User
Posts: 69224
Joined: Mon May 02, 2005 3:11 am
Contact:

Post by Lumpy Burgertushie »

Madirena:

if you don't have that security program installed, then that advice is not for you.

If your members are having problems , tell them to do the cookie dance.

post this to the board in an announcement.
step 1. log out
step 2. clear your browser cookie
step 3. clear your browser cache/temporary internet files
step 4. close your browser
step 5. go back and test
step 6. hold one foot in the air and spin around three times
singing "Do the Cookie Dance, yeah, yeah, yeah."
Premium phpBB 3.3 Styles by PlanetStyles.net

I am pleased to announce that I have completed the first item on my bucket list. I have the bucket.
Madirena
Registered User
Posts: 41
Joined: Sun Feb 19, 2006 5:03 pm
Location: Italy

Post by Madirena »

thank you, but THIS is the problem! they do it 7 times/day, but the problems are still there.... :cry:
Madirena
Registered User
Posts: 41
Joined: Sun Feb 19, 2006 5:03 pm
Location: Italy

Post by Madirena »

Sorry, guys, I'm again here..
Now seems that the problems for old users is ok, but the new users are redirecting at login for ever!!!
Madirena
Registered User
Posts: 41
Joined: Sun Feb 19, 2006 5:03 pm
Location: Italy

Post by Madirena »

Autocookie mod is setting the way for cookies /forum
(where "forum" is the folder where the forum is on the server), but in that way, the old users don't autenticate...

If I put /forum/, the old users are autenticate, but the new ones NO...

Can somebody help me please???? :cry: :cry: :cry: :cry:
Madirena
Registered User
Posts: 41
Joined: Sun Feb 19, 2006 5:03 pm
Location: Italy

Post by Madirena »

YESSS!!! I SOLVED IT!!!

It wasn't the "cookie way" the problem but the name of the cookie was setted "phpbb" and not with the name of the site :D

for the others:

doman for cookies: www.yoursite.com
name for cookies: yoursite
:D :D :D :D
Madirena
Registered User
Posts: 41
Joined: Sun Feb 19, 2006 5:03 pm
Location: Italy

Post by Madirena »

:cry: :cry: :cry:
It worked once... :cry:
Locked

Return to “2.0.x Support Forum”