PDA

View Full Version : Issues with Logging Out of the forum


karnevil
05-21-2015, 05:42 AM
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 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 1432229918 at 1432229918 ---------------

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".


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 1432306823 at 1432306823 ---------------

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 1432316175 at 1432316175 ---------------

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