vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   Issues with Logging Out of the forum (https://vborg.vbsupport.ru/showthread.php?t=318737)

karnevil 05-21-2015 05:42 AM

Issues with Logging Out of the forum
 
We've just upgraded PHP and now no one is able to log out of the forum. It appears to work okay on inactive users being logged out automatically after a specified period, but logging out on purpose isn't working.

The pop up appears asking if you are sure you want to log out, but it just stays logged in.

It is all my site users, and have tried clearing my own cookies, the forum cache etc, and tested it on FF, Chrome and IE.

Has anyone else had a similar issue?

(edit: Sorry - we're on 4.2.1 )

thetechgenius 05-21-2015 08:45 AM

Did you change the "Path to Save Cookies" option in vBulletin?

RichieBoy67 05-21-2015 09:17 AM

You can also try using tools.php in the vbulletin tools and change your cookie prefix in the config.php file if techgenius's tip doesn't work.

karnevil 05-21-2015 03:33 PM

Thank you both
Quote:

Originally Posted by thetechgenius (Post 2546032)
Did you change the "Path to Save Cookies" option in vBulletin?

We tried changing it to .legalbeagles.info and it made no difference so switched it back to blank (which is what it has always been) - is that the bit you mean?

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

Quote:

Originally Posted by RichieBoy67 (Post 2546035)
You can also try using tools.php in the vbulletin tools and change your cookie prefix in the config.php file if techgenius's tip doesn't work.


this is what we currently have

// Prefix that all vBulletin cookies will have
// Keep this short and only use numbers and letters, i.e. 1-9 and a-Z
$config['Misc']['cookieprefix'] = 'bb';

thetechgenius 05-21-2015 04:52 PM

Open config.php in a text editor such as Notepad++, and copy and paste this code at the top, after "<?php".
Code:


define('DISABLE_HOOKS', true);

Save the file and upload it via ftp, and overwrite the old config.php (You can make a backup of your old config.php if you want to).


config.php is located here - "forum_root>includes>config.php"

Just incase if you have trouble finding config.php.


Then see if that fixed the problem. If it did, then the problem is with one of your addons you have installed and enabled.

karnevil 05-22-2015 12:50 PM

Hi, Thanks for the help.

We already have #define('DISABLE_HOOKS', true); at the top of the config.php

Tried just removing the # and the tested logging out of the forum - that didn't work, but removing the # did mean that a couple of plugins stopped working - a chatbox and vsa advanced statistics.

I have put the # back in again.

We are under constant brute force attacks at the minute (well last two weeks), and have our xmlrpc.php file renamed at the moment.....

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

nope wasn't that, don't know why it would be, just tried changing that back.

It happened when we did the php upgrade. I presume we will need to switch off all our plug ins on the VB side and test each one.

kh99 05-22-2015 01:14 PM

What version of php are you using? Have you checked the php error log? It could be that you're getting an error because something isn't compatible with the new version.

karnevil 05-22-2015 01:55 PM

PHP is now 5.3.3

error log - nothing since 16:22 ( and I've been testing logging in and out, clearing cookies in between and so on and no errors showing up at all )

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

Panic over... thanks for your help guys, as it turns out I am just an idiot and had accidentally changed a link while doing something else.... and everything just coincidentally occurred at the same time.... so next time, remind me to look at the blindingly obvious bits FIRST. :) xx Sorry, and thanks xxxx


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