vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   News and Announcements (https://vborg.vbsupport.ru/forumdisplay.php?f=2)
-   -   Bug in version 3.5 RC3 (users get logged out unexpectedly) (https://vborg.vbsupport.ru/showthread.php?t=96212)

Brad 09-13-2005 10:24 PM

Bug in version 3.5 RC3 (users get logged out unexpectedly)
 
I've been seeing people hitting this bug all day so I thought it would be a good idea to post an announcement related to it.

Basicly people are begin logged out of the forum at random times, personaly I've only hit the bug once but others seem to get it all the time.

Freddie posted this fix here

Open class_core.php

Find:

PHP Code:

vbsetcookie('sessionhash'$sessionhash0); 

Replace with:

PHP Code:

if (!defined('SKIP_SESSIONCREATE'))
 {
     
vbsetcookie('sessionhash'$sessionhash0);
 } 


Oblivion Knight 09-13-2005 10:31 PM

Thanks for the pointer, Brad.

None of my users had reported anything, but I've fixed the mentioned file anyway.

Floris 09-13-2005 10:41 PM

Users from vbfans reported this, so I have fixed it :)

bigcurt 09-13-2005 10:56 PM

I also had someone report this on a forum I work at. Thanks alot :)



~Curt

Paul M 09-14-2005 12:06 AM

As I recall - it's only a problem if you don't use "remember me" isn't it.

Marco van Herwaarden 09-14-2005 02:40 AM

And it seems to happen more often if you are also logged into ACP and using FF. But that might be coincidence.

Protoman 09-14-2005 02:58 AM

I was starting to wonder why I had to login so many times in 20 minutes. :D

hydrostatic 09-14-2005 03:04 AM

RC3 seems to be bug-full... First it was the "Members Viewing This Thread" and now it's this? Wow, maybe RC3 won't be the last RC of 3.5. At least RC1 and RC2 didn't have bugs that were this conspicuous...

Well, it doesn't happen on my forum. But I applied the fix anyway.

Brandon Sheley 09-14-2005 03:15 AM

soory, but where is class_core.php ?

Andreas 09-14-2005 03:25 AM

Where it should be :)
In includes

Brandon Sheley 09-14-2005 03:30 AM

ah thx :) i was looking in the root :P


edit.. made the changes, boards still up :) keep up the good work..

Toky0 09-14-2005 06:46 AM

Thanks for the fix. I added it even though I haven't experienced it yet. :nervous:

artonex 09-14-2005 11:36 AM

thanks for the fix brad :)

Blam Forumz 09-15-2005 06:08 AM

thanks for the fix :D

stan111 09-15-2005 06:55 AM

i am using V3.0.7
i can't find classcore.php in the include ?

Brad 09-15-2005 07:31 AM

Quote:

Originally Posted by stan111
i am using V3.0.7
i can't find classcore.php in the include ?

This bug does not effect the 3.0.x code. We are talking about 3.5 :).

I've edited the thread title to point that out.

uae 09-15-2005 09:08 AM

Had some members waiting on the door to get into my forum, here we got the fix.
Thanks Brad :)

Logikos 09-15-2005 09:12 AM

I was wondering why I kept keeing logged out of vB.com! Thanks man..

loonytune15 09-15-2005 02:40 PM

applied the fix, my thanks.

Chad F. 09-15-2005 08:45 PM

I applied the fix yesterday but I'm still getting complaints that people are being logged out unexpectedly..:(

Marco van Herwaarden 09-16-2005 06:03 AM

Let them clear their cookies.

xlguy 02-27-2006 04:17 AM

We've had users clear their cookies, and check their privacy settings are default to Medium and we're still getting random logouts on 3.5.3. The plugins we have are:
  • Archive Adsense 1.0
    Edit New Thread Button 1.1
    Extended Signature Limits 1.0.3
    Form Hack 3.3
    HELLCATs Realtime Page Compressor 1.24
    Moderator Stats 1.2
    Reported post creates new thread 2.01
    Security Fix for Issue in vBulletin 3.5.3
    SigmaChat 1.0.0 SigmaChat integration
    Strike Through Closed Threads 1.0.0
I can't see how any of these would affect it. Such a strange issue this, there are plenty of people reporting it across vB.com and .org but at the same time plenty of people without the problem. I wonder what the common link is?

Marco van Herwaarden 02-27-2006 07:13 AM

Upgrade to 3.5.4
Reset your cookie domain/path to default.
Create a new Style with no Parent set, let your members use this new style, and see if they still have problems.
Try disabling the Page compressor hack.
Turn off GZip-compression in your vBulletin Options.
If still problems, disable all hacks.
Make sure your members who are reporting this are checking Remember Me box when logging in.
What is the setting for you Cookie timeout?

michaelbenson 02-27-2006 07:14 AM

Quote:

Originally Posted by xlguy
We've had users clear their cookies, and check their privacy settings are default to Medium and we're still getting random logouts on 3.5.3. The plugins we have are:
  • Archive Adsense 1.0
    Edit New Thread Button 1.1
    Extended Signature Limits 1.0.3
    Form Hack 3.3
    HELLCATs Realtime Page Compressor 1.24
    Moderator Stats 1.2
    Reported post creates new thread 2.01
    Security Fix for Issue in vBulletin 3.5.3
    SigmaChat 1.0.0 SigmaChat integration
    Strike Through Closed Threads 1.0.0
I can't see how any of these would affect it. Such a strange issue this, there are plenty of people reporting it across vB.com and .org but at the same time plenty of people without the problem. I wonder what the common link is?

Perhaps it would be best to actually upgrade to the later versions and not just apply security fixes/patches? I havent personally encountered this error and i seem to be using some similar modifications to you too.

xlguy 02-27-2006 01:58 PM

Quote:

Originally Posted by MarcoH64
Upgrade to 3.5.4
Reset your cookie domain/path to default.
Create a new Style with no Parent set, let your members use this new style, and see if they still have problems.
Try disabling the Page compressor hack.
Turn off GZip-compression in your vBulletin Options.
If still problems, disable all hacks.
Make sure your members who are reporting this are checking Remember Me box when logging in.
What is the setting for you Cookie timeout?

Thanks for this Marco, I have already tried resetting the cookie path. The timeout is the default (900 I think?). At the moment users are indeed using a child style, so I will give your suggestion a go. As for "Remember Me" I have that set to checked automatically. The problem was happening before Page compressor so I'm confident it's not that. Cheers.


All times are GMT. The time now is 04:44 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01173 seconds
  • Memory Usage 1,764KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_php_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (25)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete