The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
"security token was missing"
I have two problems that I suspect are connected and I'm not sure what I did or what to do.
Does anyone have any ideas? --------------- Added [DATE]1241969778[/DATE] at [TIME]1241969778[/TIME] --------------- I am now 99% sure that I have messed this one up myself in a template edit. I have switched to another style, and tried to register an account and had no problem. So what template should I be looking at that has to do with registering? |
#2
|
||||
|
||||
Look at any templates that are used on the registration page (vboptions > General Settings > Add Template Name in HTML Comments > set to Yes . Then go back to your page and view the source code and you will see the name of all the templates for that page in the source code).
|
#3
|
|||
|
|||
Here's another strange update. Everything is fine in my old style, but in my new and the default vb styles, I can not register an account.
I looked at the register.php page source here's one notable difference I see, but I do not know if it even matters:: The style I can register with: <form action="register.php?do=register" method="post"> <input type="hidden" name="s" value="" /> <input type="hidden" name="securitytoken" value="guest" /> <input type="hidden" name="do" value="register" /> <input type="hidden" name="url" value="http://www.MYSITE.com/forum/" /> <input type="hidden" name="month" value="" /> <input type="hidden" name="day" value="" /> <input type="hidden" name="year" value="" /> <input type="hidden" name="ejtoMUft" value="gyDSerIj" /> <input type="hidden" name="WhjdFopQ" value="7865249rtbg25hdiv783dg8rujv5d4t" /> <input type="hidden" name="who" value="adult" /> The style I can not register with: <form action="register.php?do=register" method="post"> <input type="hidden" name="s" value="" /> <input type="hidden" name="securitytoken" value="guest" /> <input type="hidden" name="do" value="register" /> <input type="hidden" name="url" value="http://www.MYSITE.com/forum/" /> <input type="hidden" name="month" value="" /> <input type="hidden" name="day" value="" /> <input type="hidden" name="year" value="" /> <input type="hidden" name="who" value="adult" /> I notice this: <input type="hidden" name="ejtoMUft" value="gyDSerIj" /> <input type="hidden" name="WhjdFopQ" value="7865249rtbg25hdiv783dg8rujv5d4t" /> Is missing from the one I can not register. Is this something to do with the Spam bot prevention from registering? --------------- Added [DATE]1241974473[/DATE] at [TIME]1241974473[/TIME] --------------- Quote:
MANY THANKS!!!! Getting me to look into my source code fixed this for me. Thank you. It was the spam bot prevention. I hadn't edited the template on the new style for that. I'm not sure about the security token issue yet, but I'm pretty sure they were related. |
#4
|
||||
|
||||
Look at the Spam Bot modification and see if they asked you to add those lines to the form.
|
#5
|
|||
|
|||
Well that fixed the registration problem. But I am still getting hit with a ton of contact emails stating that they have signed up but when they go to login they are gotting the message:
"Security Token Missing" Any ideas? |
#6
|
||||
|
||||
Read this - Implementing CSRF Protection in modifications
|
#7
|
|||
|
|||
I think I have the problem diagnosed. Now the question is, can anyone help me out.
There are times when users login, they are automatically re-directed to ttp://www.mywebsite.com/forum/profile.php?do=dst I do not know why the re-direct happens. This doesn't happen when I log in, but I have replicated it with another account. Here is the vbulletin error that you get after the redirection: If you hit back on the browser after this message, everything is fine. Any help is appreciated! |
#8
|
||||
|
||||
Check your footer template and make sure it has the security token in the form as mentioned in the article I linked you to.
|
#9
|
|||
|
|||
Quote:
Lynne, I have to say thanks again. I don't know why you take it upon yourself to answer everyone's questions to the best of your ability, but it's great you are here. That fixed the problem I was able to emulate and hopefully the problem altogether. How did you know it had to be the footer? Was DST Daylight Savings Time? |
#10
|
||||
|
||||
I've seen a LOT of problems posted here and after a while you learn what the answers are to some of problems.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|