Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 Programming Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 05-11-2009, 11:38 PM
kevinpowertv kevinpowertv is offline
 
Join Date: Jan 2008
Posts: 25
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Security Token?

Just installed 3.8 fresh for a brand new forum. I got to post a thread and I get a security token error. I installed the security token email notification plugin and it looks like it's saying there is something wrong with global.php... any ideas?

Missing or Invalid Security Token detected.

Script Call Backtrace
=====================
#0 /chroot/home/mysite/mysite.com/html/forum/includes/functions.php line 2688: eval()
#1 /chroot/home/mysite/mysite.com/html/forum/global.php line 379: fetch_error(security_token_missing,sendmessage.php )
#2 /chroot/home/mysite/mysite.com/html/forum/newthread.php line 51: require_once(/chroot/home/mysite/mysite.com/html/forum/global.php)

POST Variables
==============
Array
(
[subject] => test
[message] => test
[wysiwyg] => 0
[iconid] => 0
[s] =>
[f] => 2
[do] => postthread
[posthash] => 3e7cdb7fadb42b3bcc230c19d62ea037
[poststarttime] => 1242088409
[loggedinuser] => 1
[sbutton] => Submit New Thread
[parseurl] => 1
[emailupdate] => 9999
[polloptions] => 4
[forumid] => 2
[securitytoken] =>
[ajax] => 0
)
Reply With Quote
  #2  
Old 05-12-2009, 12:12 AM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If you don't know how to read the messages from your modification, you should ask in the modification thread for help doing so.

These errors are a result of a missing security token (yes, Lynne, I know that!). You can read about it here - Implementing CSRF Protection in modifications. That article should help you find the form to add it to.
Reply With Quote
  #3  
Old 05-12-2009, 02:04 PM
kevinpowertv kevinpowertv is offline
 
Join Date: Jan 2008
Posts: 25
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I would have posted it there if I had any modifications. I currently have no mods.
Reply With Quote
  #4  
Old 05-12-2009, 02:58 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by kevinpowertv View Post
I would have posted it there if I had any modifications. I currently have no mods.
You said you had installed a modification:
Quote:
Originally Posted by kevinpowertv View Post
I installed the security token email notification plugin and it looks like it's saying there is something wrong with global.php... any ideas?
Why install it if you don't understand how to read the results? For help reading the results, you should be posting in the modification thread.
Reply With Quote
  #5  
Old 05-12-2009, 03:10 PM
ragtek ragtek is offline
 
Join Date: Mar 2006
Location: austria, croatia
Posts: 1,630
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Where can i find the emailnotification?
Sounds realy good
Reply With Quote
  #6  
Old 05-12-2009, 03:40 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ragtek View Post
Where can i find the emailnotification?
Sounds realy good
Security Token Notification
Reply With Quote
  #7  
Old 05-12-2009, 03:51 PM
ragtek ragtek is offline
 
Join Date: Mar 2006
Location: austria, croatia
Posts: 1,630
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thx very much
Reply With Quote
  #8  
Old 05-12-2009, 03:54 PM
kevinpowertv kevinpowertv is offline
 
Join Date: Jan 2008
Posts: 25
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I obviously was having the problem before I installed the Security Token Notification plugin. I installed the plugin so it could show me where the problem was coming from and it is coming from global.php. I have made no other adjustments to vbulletin.
Reply With Quote
  #9  
Old 05-12-2009, 04:07 PM
ragtek ragtek is offline
 
Join Date: Mar 2006
Location: austria, croatia
Posts: 1,630
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Have you a custom style?
If yes, contact the stylecreater
Reply With Quote
  #10  
Old 05-12-2009, 04:12 PM
kevinpowertv kevinpowertv is offline
 
Join Date: Jan 2008
Posts: 25
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

No custom style. It is a fresh install of Vbulletin. As I said, the only mod is the security token notification email plugin.
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 04:52 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.08343 seconds
  • Memory Usage 2,255KB
  • 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
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (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
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete