Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions
  #1  
Old 07-02-2008, 04:30 AM
PachiUniverse PachiUniverse is offline
 
Join Date: Feb 2008
Posts: 20
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Cannot Log-Out of Forums! Help!

I had some trouble installing my Arcade today and I think I may have edited some code somewhere.

For some reason I cannot log out of the forum. I get this error:
"An error occurred while attempting to log you out. Click here to log out."

And then I "Click here" to log out and it says the same thing again.

My website is http://www.pachiuniverse.com/vbulletin/ you may need to register and then try to log out to see the error.

Please help me, I'm scared for the security of my users.
Reply With Quote
  #2  
Old 07-02-2008, 04:54 AM
CEO254 CEO254 is offline
 
Join Date: Feb 2008
Posts: 112
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have the exact same problem

It happened after I upgraded the forums
Reply With Quote
  #3  
Old 07-02-2008, 05:43 AM
PachiUniverse PachiUniverse is offline
 
Join Date: Feb 2008
Posts: 20
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by CEO254 View Post
I have the exact same problem

It happened after I upgraded the forums
I'm not the best with code so its really hard for me to find out exactly where it could be messed up at. No offense but I'm glad I'm not the only one with the problem.

Anyone able to help?
Reply With Quote
  #4  
Old 07-02-2008, 06:30 AM
Dismounted's Avatar
Dismounted Dismounted is offline
 
Join Date: Jun 2005
Location: Melbourne, Australia
Posts: 15,047
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

There were minor changes made to the logout code in the navbar a few versions back, and it would've caused the mentioned error.
Reply With Quote
  #5  
Old 07-02-2008, 03:28 PM
PachiUniverse PachiUniverse is offline
 
Join Date: Feb 2008
Posts: 20
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Dismounted View Post
There were minor changes made to the logout code in the navbar a few versions back, and it would've caused the mentioned error.
I would guess that's what I did wrong since I started the install instructions on a Version I wasn't running.

This is the code for the Log Out feature on my navbar template.

Code:
	<td class="vbmenu_control"><a href="login.php?$session[sessionurl]do=logout&amp;logouthash=$bbuserinfo[logouthash]" onclick="return log_out('$vbphrase[sure_you_want_to_log_out]')">$vbphrase[log_out]</a></td>
	</if>
</tr>
Is something wrong in there?

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

Ok, I no longer think it's my navbar template.

I think it might have something to do with the login.php file.

If anyone could lend some assistance and tell me if this code is correct to the login.php file.
Code:
// ############################### start logout ###############################
if ($_REQUEST['do'] == 'logout')
{
	$vbulletin->input->clean_gpc('r', 'logouthash', TYPE_STR);

	if ($vbulletin->userinfo['userid'] != 0 AND $vbulletin->GPC['logouthash'] !== $vbulletin->userinfo['securitytoken'])
	{
		eval(standard_error(fetch_error('logout_error', $vbulletin->session->vars['sessionurl'], $vbulletin->userinfo['securitytoken'])));
	}

	process_logout();

	$vbulletin->url = fetch_replaced_session_url($vbulletin->url);
	if (strpos($vbulletin->url, 'do=logout') !== false)
	{
		$vbulletin->url = $vbulletin->options['forumhome'] . '.php' . $vbulletin->session->vars['sessionurl_q'];
	}
	$show['member'] = false;
	eval(standard_error(fetch_error('cookieclear', create_full_url($vbulletin->url), $vbulletin->options['forumhome'], $vbulletin->session->vars['sessionurl_q']), '', false));

}
--------------- Added [DATE]1215062230[/DATE] at [TIME]1215062230[/TIME] ---------------

I've been working on this all day and cant find a fix.

If you know how to fix this please let me know.
Reply With Quote
  #6  
Old 07-03-2008, 11:44 AM
Marco van Herwaarden Marco van Herwaarden is offline
 
Join Date: Jul 2004
Posts: 25,415
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

To troubleshoot this, please create a new Style with no Parent set. Now browse the forum using this new style, do you still have the same problems? If you are troubleshooting login or guest issues, you will need to set this style as board default in the vBulletin Options.

PS If you want someone to look at your board regarding a login/logout issue, then please do not ask them to register but provide a test account.
Reply With Quote
  #7  
Old 07-03-2008, 09:32 PM
PachiUniverse PachiUniverse is offline
 
Join Date: Feb 2008
Posts: 20
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Marco van Herwaarden View Post
To troubleshoot this, please create a new Style with no Parent set. Now browse the forum using this new style, do you still have the same problems? If you are troubleshooting login or guest issues, you will need to set this style as board default in the vBulletin Options.

PS If you want someone to look at your board regarding a login/logout issue, then please do not ask them to register but provide a test account.
Thanks for the reply. I've tested it with a new style with no parent set and I still have the same problem.

I've set up a test account for everyone to see the problem.
User: VBTestAccount
Password: ****

What should be my next step in finding the problem?

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

I've reverted the Default style to its original settings and when I test the log out issue with the new default style I get the same error.

Can someone please help me? I'm beginning to think its hopeless...
Reply With Quote
  #8  
Old 07-06-2008, 08:53 PM
CEO254 CEO254 is offline
 
Join Date: Feb 2008
Posts: 112
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I am also having no luck with this issue
Reply With Quote
  #9  
Old 07-07-2008, 03:26 AM
PachiUniverse PachiUniverse is offline
 
Join Date: Feb 2008
Posts: 20
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I fixed the problem by updating the forums to a later version of 3.6
Reply With Quote
  #10  
Old 07-07-2008, 01:48 PM
CEO254 CEO254 is offline
 
Join Date: Feb 2008
Posts: 112
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by PachiUniverse View Post
I fixed the problem by updating the forums to a later version of 3.6
I have the newest version and its still not working
Reply With Quote
Reply

Thread Tools
Display Modes

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 06:31 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.04204 seconds
  • Memory Usage 2,251KB
  • 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
  • (2)bbcode_code
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)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