Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Security Token Notification Details »»
Security Token Notification
Version: 1.0.1, by Andreas Andreas is offline
Developer Last Online: Jan 2023 Show Printable Version Email this Page

Category: Administrative and Maintenance Tools - Version: 3.6.9 Rating:
Released: 04-23-2008 Last Update: 05-26-2008 Installs: 75
Uses Plugins
 
No support by the author.

This simple mod logs security token erorrs to vBulletin PHP error log and optionally sends an E-Mail to the webmaster.

Example Log Entry
Code:
Missing or Invalid Security Token detected.

Script Call Backtrace
=====================
#0 C:\Programme\XAMPP Lite\htdocs\vb310\includes\functions.php line 2420: eval()
#1 C:\Programme\XAMPP Lite\htdocs\vb310\includes\init.php line 417: fetch_error(security_token_missing,ltr,sendmessage.php)
#2 C:\Programme\XAMPP Lite\htdocs\vb310\global.php line 20: require_once(C:\Programme\XAMPP Lite\htdocs\vb310\includes\init.php)
#3 C:\Programme\XAMPP Lite\htdocs\vb310\newthread.php line 49: require_once(C:\Programme\XAMPP Lite\htdocs\vb310\global.php)

POST Variables
===============
Array
(
    [do] => foo
    [f] => 3
    [forumid] => 3
    [securitytoken] => 
)

Request URI
===========
/vb368pl1/newthread.php?do=foo

Datum: 24.04.2008 11:36:08
Benutzername: Kirby
IP-Adresse: 127.0.0.1
If you do not know what this is about, you most likely won't need it

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #72  
Old 08-03-2008, 04:23 AM
webghey webghey is offline
 
Join Date: May 2005
Posts: 32
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I've yet to see an explanation on how to decode, or what really needs done on any user in the thread. I understand it's missing a security code - for this error to show, but I don't know how to resolve it, or which template/page of code needs modified.

Am I looking at the stock vb pages that were ftp'ed, or what am I looking at?

Sorry for the pm I sent the mods asking for help. I didn't notice the "do not pm" warning until after I had sent the message.

3.72 patch 1 - stock vb template


Quote:
Missing or Invalid Security Token detected. Script Call Backtrace =====================
#0 /forums/includes/functions.php line 2592: eval()
#1 /forums/global.php line 386: fetch_error(security_token_missing,sendmessage.php )
#2 /forums/editpost.php line 51: '
/forums/global.php)
#3 /home/civic8th/public_html/forums/vbseo.php line /forums/editpost.php)

POST Variables
============== Array ( [ajax] => 1 [securitytoken] => ) Request URI =========== /forums/editpost.php?do=updatepost&postid=undefined

Quote:
Missing or Invalid Security Token detected. Script Call Backtrace =====================
#0 /forums/includes/functions.php line 2592: eval()
#1 /forums/global.php line 386: fetch_error(security_token_missing,sendmessage.php )
#2 /forums/ajax.php line 58: /forums/global.php)
#3 forums/vbseo.php line 1082: forums/ajax.php)

POST Variables ============== Array ( [ajax] => 1 [securitytoken] => ) Request URI =========== /forums/ajax.php?do=quickedit&p=3396930

Quote:
Missing or Invalid Security Token detected. Script Call Backtrace =====================
#0 /forums/includes/functions.php line 2592: eval()
#1 /forums/global.php line 386: fetch_error(security_token_missing,sendmessage.php )
#2 /forums/attachment.php line 114: forums/global.php)
#3 forums/vbseo.php line 1129: /forums/attachment.php)

POST Variables ============== Array ( [ajax] => 1 [securitytoken] => ) Request URI =========== /forums/attachment.php?attachmentid=14365

Quote:
Missing or Invalid Security Token detected. Script Call Backtrace =====================
#0 /forums/includes/functions.php line 2592: eval()
#1 /forums/global.php line 386: fetch_error(security_token_missing,sendmessage.php )
#2 /forums/editpost.php line 51: /forums/global.php)
#3 /forums/vbseo.php line 1129: forums/editpost.php)

POST Variables ============== Array ( [ajax] => 1 [securitytoken] => ) Request URI =========== /forums/editpost.php?do=updatepost&postid=undefined

Quote:
Missing or Invalid Security Token detected. Script Call Backtrace =====================
#0 /forums/includes/functions.php line 2592: eval()
#1 /forums/global.php line 386: fetch_error(security_token_missing,sendmessage.php )
#2 /forums/newreply.php line 82: /forums/global.php)
#3 /forums/vbseo.php line 1129: /forums/newreply.php)

POST Variables ============== Array ( [ajax] => 1 [message] => [securitytoken] => ) Request URI =========== /forums/newreply.php?do=postreply&t=109619

Quote:
Missing or Invalid Security Token detected. Script Call Backtrace =====================
#0 /forums/includes/functions.php line 2592: eval()
#1 forums/global.php line 386: fetch_error(security_token_missing,sendmessage.php )
#2 /forums/ajax.php line 58: /forums/global.php)
#3 /forums/vbseo.php line 1082: /forums/ajax.php)

POST Variables ============== Array ( [ajax] => 1 [securitytoken] => ) Request URI =========== /forums/ajax.php?do=quickedit&p=3393980
Reply With Quote
  #73  
Old 08-03-2008, 05:34 AM
webghey webghey is offline
 
Join Date: May 2005
Posts: 32
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

https://vborg.vbsupport.ru/showthread.php?t=177013
I went through this -

I see some of my things above say vbseo - and according to vbseo, it's not them

Quote:
Since vbseo doesn't create or alter form elements, it's not related.

it's either a mod, or your skin. Did you revert all your templates?
http://www.vbseo.com/f77/vbseo-secur...missing-24817/

vbulletin.com's answer?
Quote:
If this problem is only happening to some people and cannot be reproduced, the probable cause is their browser cache. Have these users either try a different browser or clear their browser cache.

Otherwise an ISP cache may also be to blame.
http://www.vbulletin.com/forum/showp...26&postcount=4

Quote:
Some people have reported this problem when uploading very large file attachments.
can we define "large"


I've never SEEN this error, ............ help
Reply With Quote
  #74  
Old 08-03-2008, 05:51 AM
webghey webghey is offline
 
Join Date: May 2005
Posts: 32
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

<a href="http://www.vbulletin.com/forum/showthread.php?t=272803" target="_blank">http://www.vbulletin.com/forum/showthread.php?t=272803</a>

another member from VB not knowing what the problem is???

"vBulletin Developer
If it's not happening consistently, it's probably not that big of a deal."
Reply With Quote
  #75  
Old 08-03-2008, 05:56 AM
webghey webghey is offline
 
Join Date: May 2005
Posts: 32
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
vBulletin Team
It should be added that tokens are only valid for a limited time. The time ranges between 1 and 3 hours. In the normal scheme of things, this won't cause any problems. However if a user loads your page and then wanders off to do something else and comes back later, they can receive this error.
.........
http://www.vbulletin.com/forum/showp...52&postcount=4
Reply With Quote
  #76  
Old 08-03-2008, 06:34 AM
webghey webghey is offline
 
Join Date: May 2005
Posts: 32
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

a comment or ANYthing would be amazing right now....staff online who've used this hack - you could comment please
Reply With Quote
  #77  
Old 08-03-2008, 03:26 PM
MrPHD's Avatar
MrPHD MrPHD is offline
 
Join Date: Feb 2006
Location: Portugal
Posts: 385
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi, please see this only one simple change. http://www.vbulletin.com/forum/showthread.php?t=269069
Reply With Quote
  #78  
Old 08-04-2008, 10:46 AM
MrPHD's Avatar
MrPHD MrPHD is offline
 
Join Date: Feb 2006
Location: Portugal
Posts: 385
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

"...Go to your Style manager open your default theme Template Editor and find FORUM DISPLAY TEMPLATE - FORUMDISPLAY open and copy all content from that, now open your template are you using and Template Manager - Forum Display template - ForumDisplay and cut out the old one and paste new. Have a nice day..."
Reply With Quote
  #79  
Old 08-05-2008, 06:15 PM
obiefan obiefan is offline
 
Join Date: Jul 2006
Posts: 28
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Done this... Still getting them.

I have done everything everyone has said, short of uninstalling or disabling hacks.

What does disabling hacks do, other than to prove it's a hack... these errors are sp sporadic that it's almost impossible to see the errors in the first place. so disabling hacks, you'd never see them again, and also not have any hacks...

Is there a method to follow that I could inspect the "code" for all of my hacks and find the offending party?

THANKS!

Quote:
Originally Posted by MrPHD View Post
"...Go to your Style manager open your default theme Template Editor and find FORUM DISPLAY TEMPLATE - FORUMDISPLAY open and copy all content from that, now open your template are you using and Template Manager - Forum Display template - ForumDisplay and cut out the old one and paste new. Have a nice day..."
Reply With Quote
  #80  
Old 08-10-2008, 03:43 PM
roady89 roady89 is offline
 
Join Date: Jun 2007
Posts: 29
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I am also still getting the error emails. I installed the STN a few months back, went over all the templates, made the edits but still getting error emails. I have checked and doubled checked many times but no joy. One very common error is /search.php?do=process. I checked all the search templates and they are all correct. The funny thing is, my users are not reporting any errors but before I patched the templates they would report them. It's almost like these errors are not displaying for users but the STN is reporting them. I finally just disabled STN till I can find a solution.

Any suggestions where to look?
Reply With Quote
  #81  
Old 03-15-2009, 09:58 AM
tony adams tony adams is offline
 
Join Date: Oct 2004
Posts: 51
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

excellent - saved me hours of searching
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 12:12 AM.


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.07819 seconds
  • Memory Usage 2,320KB
  • Queries Executed 25 (?)
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)bbcode_code
  • (11)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)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_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