phpBB-TweakS
 
Advanced Search
   
 
Home Downloads FAQ Register FAQ Memberlist Usergroups Ranks
 
 

Please help us to develop!

 
It appears you are using a browser that is not based on Internet Explorer, this means you are not viewing the web as good as you should be. Other browsers might try to immitate Internet Explorer, but none can parse the web as it should like Internet Explorer can. So view the web as it was meant to be with Avant Browser!
         

phpBB-TweakS Forum Index Feedback phpBB Security cookies missmatch [phpBB 2.0.18]
Display posts from previous:   
Half Thread Topic  Fully Thread Topic  Download Topic
      All times are GMT - 5 Hours  
Post new topic  This topic is locked: you cannot edit posts or make replies.

Mon Nov 14, 2005 6:07 pm
Author Message
mbalao
Amature TweakeR
Amature TweakeR


Joined: 10 Mar 2005
Posts: 36
Words Posted: 3,119
Average Post: 86.64


Post subject: phpBB Security cookies missmatch [phpBB 2.0.18] Reply with quote

phpBB Security - cookies missmatch [phpBB 2.0.18]
I would like to share here how I fix this problem.

OPEN: includes/phpbb_security.php
Code:
FIND:
if ($data['autologinid'] != '')
   $cookie_users_pass = $data['autologinid'];
   $cookie_users_id    = $data['userid'];
   $viewing_users_pass = $userdata['user_password'];
   $viewing_users_id   = $userdata['user_id'];

REPLACE, WITH:
if ($userdata['autologinid'] != '' && $board_config['allow_autologin'])
        $cookie_users_pass = $userdata['autologinid'];
   $cookie_users_id    = $userdata['userid'];
   $viewing_users_pass = $userdata['user_password'];
   $viewing_users_id   = $userdata['user_id'];


Hope you can find this helpful. I tested it on my board and it works Wink Don't forget to enable the cookies check in page_header.php if you commented it as a temporay fix like Austin said.
And sorry to post this in the Feedback Embarassed

EDIT: Oh I recently realised about a reply Austin sent me. He says the Cookies check is not needed anymore in phpBB 2.0.18 Smile
Post #1
      Back To Top  

Tue Nov 15, 2005 9:08 am
Author Message
aUsTiN
Webmaster
Webmaster


Usa Georgia

Joined: 05 Jan 2005
Posts: 3684
Words Posted: 144,671
Average Post: 39.27

Location: USA

Post subject: Reply with quote

Please dont post errors in the sites feedback forum.
Post #2
      Back To Top  

 
         

Post new topic  This topic is locked: you cannot edit posts or make replies.

phpBB-TweakS Forum Index Feedback phpBB Security cookies missmatch [phpBB 2.0.18]
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


      Back To Top  

Page 1 of 1
Jump to:  
 
Protected by phpBB Security © phpBB-TweakS
phpBB Security Has Blocked 3,237 Exploit Attempts.

· Archive · Sitemap: Index · Sitemap: Forums · Sitemap: Topics · Sitemap: Posts ·

:: [ Load Time: 2.7 Seconds ] :: [ 29 Queries ] :: [ 4,596 Page(s) Viewed Today ] ::
:: [ Todays Queries: 138,097 ] :: [ Highest Load: 1,396,429 Queries On May. 08, 2007 ] ::
:: [ SQL Load: 62% Time: 1.7 ] :: [ PHP Load: 38% Time: 1 ] :: [ Debug: On ] :: [ GZIP: Enabled ] ::
:: The server last rebooted 81 days, 8 hours, 55 minutes, 57 seconds ago. ::

The phpBB[Network]!
       
Powered by phpBB 2.0.* © 2001, 2002 phpBB Group
Avalanche style by What Is Real © 2004