vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   vBulletin 3.8.4 PL2 breaking cookie authentication from non-VB Pages (https://vborg.vbsupport.ru/showthread.php?t=232117)

evannn 01-04-2010 07:02 AM

vBulletin 3.8.4 PL2 breaking cookie authentication from non-VB Pages
 
Hi guys,

Anyone encountered this issue? Non-VB pages login used to work fine before 3.8.4 PL2. After rolling out the patch, the non-VB pages (w/ or without cookie) broke.

Can the developers shed some light on what are the changes in login mechanism?

Thank

--------------- Added [DATE]1262598588[/DATE] at [TIME]1262598588[/TIME] ---------------

Has there been some changes in the hashing/salt generation algo?

NeDra 01-04-2010 06:44 PM

Actually in the new 384 PL2
If you logout, here we have a huge issue were we can't even login anymore.
The login last for 1 page maximum, I also need to get the non-VB login to work after I fix the forum cookies issue.

I can't even login to the admin pannel right now...

--------------- Added [DATE]1262658936[/DATE] at [TIME]1262658936[/TIME] ---------------

evannn, I fixed my problem by not using a subdomain.
Also make sure that your cookies in the admin control pannel is set to ".domainname.com"
So it work for all subdomain.

Settings > Options > Cookies and HTTP Header Options > Cookie Domain

evannn 01-05-2010 02:44 AM

Hi Nedra,

yes.the cookie domain is already specified :)

The forums is located at http://forums.mysubdomain.com/
the other non vB pages are located at mysubdomain.com/page1.php etc

mastertek2000 01-05-2010 11:19 AM

there is a problem with this you can find help here


http://www.vbulletin.com/forum/showt...e-login-issues

evannn 01-12-2010 08:37 AM

Hi Friends,

I have filed a support ticket with vBulletin and they responded.

If you are on 3.8.4 PL2,
Go into includes/functions.php, around line 34, you should see a
define('COOKIE_SALT', 'XXXX');

What I did was:
Replace this line with the same line from 3.8.4 PL1

I confirm this resolved the problem. But I am concerned whether does this has any security implications.

Thanks


All times are GMT. The time now is 05:54 AM.

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.00973 seconds
  • Memory Usage 1,718KB
  • 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
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)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