vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   Users are not able to sign in! (https://vborg.vbsupport.ru/showthread.php?t=263112)

AttalaEA 05-04-2011 03:23 PM

Users are not able to sign in!
 
Hello guys I am currently running vbulletin 4.1.3 and registered users are not able to sign in.
once they sign in they return back to the main page as the didn't sign in and the can see register and sign in again.
How to fix this issue?

Lynne 05-04-2011 04:04 PM

If you allow users to login to your site via both http://www.yoursite.com and just yoursite.com., then you MUST have your cookie domain (vboptions > cookies > cookie domain) set to ".yoursite.com" (no quotes, but note the period at the beginning) or your users will have problems. Also, make sure to tell your users to click the Remember Me button when they login.

AttalaEA 05-04-2011 04:13 PM

This is not the case what happens is they recieve welcome message with them username (Welcome User and when they redirected they came back same without Logging in)

Lynne 05-04-2011 04:21 PM

Do you allow users to browse your site via both yoursite.com and www.yoursite.com? And what is your cookie domain set to?

AttalaEA 05-04-2011 04:28 PM

1 Attachment(s)
First I don't know how to allow users to browse your site via both yoursite.com and www.yoursite.com?

Second I have attached my cookies setting image

AttalaEA 05-04-2011 04:49 PM

Hello now i see when i opened my website it shows http://mywebsite.com without www

How i can make it http://www.mywebsite.com

HMBeaty 05-04-2011 04:53 PM

Add this to your .htaccess file in your forum root:
Code:

RewriteEngine On
rewritecond %{http_host} ^yoursite.com
rewriteRule ^(.*) http://www.yoursite.com/$1 [R=301,L]


AttalaEA 05-04-2011 04:58 PM

Quote:

Originally Posted by HMBeaty (Post 2191764)
Add this to your .htaccess file in your forum root:
Code:

RewriteEngine On
rewritecond %{http_host} ^yoursite.com
rewriteRule ^(.*) http://www.yoursite.com/$1 [R=301,L]



HMBeaty It doesn't make any difference

HMBeaty 05-04-2011 05:00 PM

Did you change yoursite.com to whatever your sites url is?

EDIT: I may also be mistaken and you might have to upload it to your root directory. e.g. it would be uploaded so it would look like this yoursite.com/.htaccess

AttalaEA 05-04-2011 05:28 PM

Quote:

Originally Posted by HMBeaty (Post 2191771)
Did you change yoursite.com to whatever your sites url is?

EDIT: I may also be mistaken and you might have to upload it to your root directory. e.g. it would be uploaded so it would look like this yoursite.com/.htaccess

Thanks Man You are the Best ! :)


All times are GMT. The time now is 01:15 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.01059 seconds
  • Memory Usage 1,727KB
  • 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_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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