vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   Problem when login into forum (https://vborg.vbsupport.ru/showthread.php?t=249410)

henrybui 08-27-2010 03:27 AM

Problem when login into forum
 
- After user login through login form...user is then notified that user login completed. Somehow that user get kicked back to homepage and the login form still empty saying that user has not logged in.

Please Help!:confused:

Lynne 08-27-2010 03:30 AM

What do you have your Cookie Domain set to? And do you allow users to browse your site via both yoursite.com and www.yoursite.com?

mmfgamer5 08-27-2010 08:19 AM

I had this problem. Go to http://members.vbulletin.com, then login to there. Then edit the license of the forum you're having the problem on. Next, change the Forums URL to www.your-site.com. If that doesn't work, redirect http://your-site.com to http://www.your-site.com.

henrybui 09-21-2010 08:26 AM

but my problem it not happened often, somtime do occur. My cookie domain is .mysite.com , when user go to mysite.com it auto redirect to www.mysite.com

jlosey 09-21-2010 12:41 PM

Edit the headerinclude template for each style. make sure it looks like this:
Code:

<script type="text/javascript">
<!--
        var SESSIONURL = "{vb:raw session.sessionurl_js}";
        var SECURITYTOKEN = "{vb:raw bbuserinfo.securitytoken}";
        var IMGDIR_MISC = "{vb:stylevar imgdir_misc}";
        var IMGDIR_BUTTON = "{vb:stylevar imgdir_button}";
        var vb_disable_ajax = parseInt("{vb:raw vboptions.disable_ajax}", 10);
        var SIMPLEVERSION = "{vb:raw vboptions.simpleversion}";
        var BBURL = "{vb:raw vboptions.bburl}";
        var LOGGEDIN = {vb:raw bbuserinfo.userid} > 0 ? true : false;
        var RELPATH = "{vb:raw relpath}";
// -->
</script>

I had the same issue, and found that adding the last line in there fixed it. I had many problems converting to 4.0, and only just fixed this issue with my board.

henrybui 09-23-2010 01:45 AM

yes, in the headerinclude template had that code .. Now, i don't know how to fix this bug T_T


All times are GMT. The time now is 11:51 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.01036 seconds
  • Memory Usage 1,719KB
  • 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)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)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