vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Community Lounge (https://vborg.vbsupport.ru/forumdisplay.php?f=13)
-   -   Forum playing up (https://vborg.vbsupport.ru/showthread.php?t=312574)

DreadsUK 06-30-2014 09:10 AM

Forum playing up
 
Is there any reason my forum would unexpectedly start loggin me in and out? its happening without me doing anything

Disco_Dave 06-30-2014 09:32 AM

Do you have any errors in your error_log?

And have you changed anything in the last 24hrs or so....

DreadsUK 06-30-2014 09:35 AM

Quote:

Originally Posted by Disco_Dave (Post 2504596)
Do you have any errors in your error_log?

And have you changed anything in the last 24hrs or so....

yea, downloaded something, and uploaded it to the server.

That has now been uninstalled and removed but problem persists

where do i find error_log

Disco_Dave 06-30-2014 09:48 AM

In your public_html under error_log

DreadsUK 06-30-2014 10:02 AM

Quote:

Originally Posted by Disco_Dave (Post 2504598)
In your public_html under error_log

looked in admincp and can't see it. can;t find via ftp either. might have to ask host

Tigga 06-30-2014 11:51 AM

Have you tried closing all browser windows and clearing your cookies?

Dave 06-30-2014 03:40 PM

Does this only happen to you or also to your other members? I had this issue in the past and I believe clearing all of my cookies of my forum domain fixed it.

DreadsUK 06-30-2014 04:28 PM

Quote:

Originally Posted by Dave (Post 2504632)
Does this only happen to you or also to your other members? I had this issue in the past and I believe clearing all of my cookies of my forum domain fixed it.

yea i've done that, still happening. It seems that im logged out when accessing the forum from a link to the forum rather than typing the address.

also just found
Internal Server Error
Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.

Dave 06-30-2014 05:23 PM

Could it be that you're accessing your site as http://www.dreadsuk.com and then sometimes click on a link which is like http://dreadsuk.com, without the www subdomain?

Internal server errors are logged in the error-log file of Apache.

DreadsUK 06-30-2014 05:29 PM

Quote:

Originally Posted by Dave (Post 2504639)
Could it be that you're accessing your site as http://www.dreadsuk.com and then sometimes click on a link which is like http://dreadsuk.com, without the www subdomain?

ah there we go, thats whats happening. Is there a fix for this?

Quote:

Originally Posted by Dave (Post 2504639)
Internal server errors are logged in the error-log file of Apache.

i've contacted the host to take a look

We've started getting notification errors on quotes. Can;t seem to find any reaosn why, but from what appears to be out of the blue, a notification comes up. When clicked, there is nothing to be notified for. Weird..

This got me to thinking it had something to do with the DBTech Usertagging mod when is where i found the server error 500 in the usertagging ACP

Dave 06-30-2014 05:32 PM

Quote:

Originally Posted by DreadsUK (Post 2504640)
ah there we go, thats whats happening. Is there a fix for this?


i've contacted the host to take a look

We've started getting notification errors on quotes. Can;t seem to find any reaosn why, but from what appears to be out of the blue, a notification comes up. When clicked, there is nothing to be notified for. Weird..

This got me to thinking it had something to do with the DBTech Usertagging mod when is where i found the server error 500 in the usertagging ACP

You can simply configure a .htaccess file to do a 301 redirection to the www subdomain.
Like this and this.

TheLastSuperman 06-30-2014 06:51 PM

Quote:

Originally Posted by Dave (Post 2504641)
You can simply configure a .htaccess file to do a 301 redirection to the www subdomain.
Like this and this.

You know that's how I prefer to do it, I've done it that way for ages and then a while back was told by then fellow support staff that setting the www or non www in the Redirect Domain Whitelist was the preffered method. Guess what though? Some stull receive the error "Invalid Redirect URL" when logging in doing it the "preferred" wat though so keep reading ;) :p.

AdminCP > Settings > Options > Site Name / URL / Contact Details > *Scroll to find Redirect Domain Whitelist

Quote:

Redirect Domain Whitelist
Optional, advanced additional URL configuration. This setting should remain blank for most installations. Specify additional domains of your forum:

Examples:
http://www.example2.com
http://www.example.com

Note: do not add a trailing slash. ('/')
Enter in the one not the primary i.e. if your URL for the site on that same page is www.site.com then enter in http://site.com in the whitelist box and save, if you use http://site.com then in the whitelist box enter in http://www.site.com and save it's one or the other.

Now I still use .htaccess to do this instead of the whitelist ask me why? Despite all the hub-bub around this and the "correct" way to do it being whitelist or not I still see forums and owners who come to me saying "Mike I did that but I'm still receiving Invalid Redirect URL when I login" but everything online including forum and ticket support is telling me that doing the whitelist *should* fix it but it didn't what can I do?" well you can now do what Dave above mentioned and use .htaccess and you won't run into one single issue nuff' said ;).

Edit: Also just to note, this is an issue that can also arise IF your session_timeout is set too high OR if you've recently setup a test site and the cookies were not renamed (cookie value in config i.e. bb is default) then when you login your live site and test site at the same time it will automatically log you out of one when into the other based on cookie.


All times are GMT. The time now is 05:31 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.01133 seconds
  • Memory Usage 1,747KB
  • 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
  • (8)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (12)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