vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   Security Token? (https://vborg.vbsupport.ru/showthread.php?t=213442)

kevinpowertv 05-11-2009 11:38 PM

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
)

Lynne 05-12-2009 12:12 AM

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.

kevinpowertv 05-12-2009 02:04 PM

I would have posted it there if I had any modifications. I currently have no mods.

Lynne 05-12-2009 02:58 PM

Quote:

Originally Posted by kevinpowertv (Post 1809370)
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 (Post 1809019)
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.

ragtek 05-12-2009 03:10 PM

Where can i find the emailnotification?
Sounds realy good

Lynne 05-12-2009 03:40 PM

Quote:

Originally Posted by ragtek (Post 1809413)
Where can i find the emailnotification?
Sounds realy good

Security Token Notification

ragtek 05-12-2009 03:51 PM

thx very much

kevinpowertv 05-12-2009 03:54 PM

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.

ragtek 05-12-2009 04:07 PM

Have you a custom style?
If yes, contact the stylecreater

kevinpowertv 05-12-2009 04:12 PM

No custom style. It is a fresh install of Vbulletin. As I said, the only mod is the security token notification email plugin.


All times are GMT. The time now is 02:44 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01048 seconds
  • Memory Usage 1,731KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete