Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 05-21-2015, 05:42 AM
karnevil karnevil is offline
 
Join Date: Feb 2007
Location: Derbyshire
Posts: 83
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default 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 )
Reply With Quote
  #2  
Old 05-21-2015, 08:45 AM
thetechgenius's Avatar
thetechgenius thetechgenius is offline
 
Join Date: Jun 2014
Posts: 258
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Did you change the "Path to Save Cookies" option in vBulletin?
Reply With Quote
  #3  
Old 05-21-2015, 09:17 AM
RichieBoy67's Avatar
RichieBoy67 RichieBoy67 is offline
 
Join Date: Apr 2004
Location: CT - Down in a hole..
Posts: 3,057
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #4  
Old 05-21-2015, 03:33 PM
karnevil karnevil is offline
 
Join Date: Feb 2007
Location: Derbyshire
Posts: 83
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you both
Quote:
Originally Posted by thetechgenius View Post
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 View Post
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';
Reply With Quote
  #5  
Old 05-21-2015, 04:52 PM
thetechgenius's Avatar
thetechgenius thetechgenius is offline
 
Join Date: Jun 2014
Posts: 258
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #6  
Old 05-22-2015, 12:50 PM
karnevil karnevil is offline
 
Join Date: Feb 2007
Location: Derbyshire
Posts: 83
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #7  
Old 05-22-2015, 01:14 PM
kh99 kh99 is offline
 
Join Date: Aug 2009
Location: Maine
Posts: 13,185
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #8  
Old 05-22-2015, 01:55 PM
karnevil karnevil is offline
 
Join Date: Feb 2007
Location: Derbyshire
Posts: 83
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 05:29 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.07585 seconds
  • Memory Usage 2,234KB
  • Queries Executed 13 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)bbcode_code
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (8)post_thanks_box
  • (8)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (8)post_thanks_postbit_info
  • (8)postbit
  • (8)postbit_onlinestatus
  • (8)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete