PDA

View Full Version : Security Token?


kevinpowertv
05-11-2009, 11:38 PM
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 (https://vborg.vbsupport.ru/showthread.php?t=177013). 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
I would have posted it there if I had any modifications. I currently have no mods.
You said you had installed a modification:
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
Where can i find the emailnotification?
Sounds realy good
Security Token Notification (https://vborg.vbsupport.ru/showthread.php?t=177017&highlight=token)

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.

Lynne
05-12-2009, 04:55 PM
My comment, Kevin, was that you installed a plugin without understanding what it was showing you and that you should ask in the thread for the explanation of the output.

As for your security token error.... if this is a totally fresh install with default files and default style, you should post over on vb.com for help with the issue.