Log in

View Full Version : Security Token Error


SavSin
06-26-2012, 01:42 AM
So I create a custom membership application page for our website and when i click the submit it tells me my security token is missing.

Here are the pages. and the template below.

And a link to the page. (Must me registered to view it.)
http://norcalbots.com/MembershipApplication.php



{vb:stylevar htmldoctype}
<html xmlns="http://www.w3.org/1999/xhtml"<vb:if condition="$vboptions['enablefacebookconnect']"> xmlns:fb="http://www.facebook.com/2008/fbml"</vb:if> dir="{vb:stylevar textdirection}" lang="{vb:stylevar languagecode}" id="vbulletin_html">
<head>
{vb:raw headinclude}
<title>{vb:raw pagetitle}</title>

<vb:if condition="$includecss">
<vb:if condition="$vboptions['storecssasfile']">
<vb:each from="includecss" value="file">
{vb:cssfile {vb:raw file}}
</vb:each>
<vb:else />
{vb:cssfile {vb:raw includecss}}
</vb:if>
</vb:if>
{vb:raw headinclude_bottom}
</head>
<body>

{vb:raw header}

{vb:raw navbar}

{vb:raw output}

{vb:raw footer}

</body>
</html>



Test account info available if requested

Pandemikk
06-26-2012, 02:37 AM
There's not even a form on that code you posted...

SavSin
06-26-2012, 04:25 AM
There's not even a form on that code you posted...


Its in the php file. I tried it in both but they both give an error.

Pandemikk
06-26-2012, 04:44 AM
Put your form in the template and make sure you have:

<input type="hidden" name="securitytoken" value="{vb:raw bbuserinfo.securitytoken}" />
<input type="hidden" name="s" value="{vb:raw session.sessionhash}" />