The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
#1
|
||||
|
||||
SOLVED - Another security token thread - SOLVED
Was i thought i was clear about how to avoid it, but now
i ran into the problem myself, makeing a modification with a form sumbitting to db. user fills in form, and data is saved in db, but i get this wonderfull little error msg.. Code:
Your submission could not be processed because a security token was missing. If this occurred unexpectedly, please inform the administrator and describe the action you performed before you received this error. file works perfectly only this submission to database.. PHP Code:
but it was enough.. here is part of the form im using. Code:
<form name="form1" method="post" action="?do=submitapplication"> <h1><b> {vb:rawphrase ew_app_personalinfo}</b></h1><hr /> {vb:rawphrase ew_app_realname} <input type="text" name="realname" size="38"> <br /><br /><table width="100%" border="0" cellpadding="0" cellspacing="0"> <tr><td class="blockhead" width="100%" height="16" align="center"> <input type="submit" class="button" value="{vb:rawphrase ew_app_submit_app}" /><br /></td></tr> </table> </form> i thought i was missing the global above, but its at the top of the file require_once('./global.php'); searching these forums, just shows alot of responses "disable your hooks" etc any ideas why the security token is showing up as missing ? EDIT / PS : Allready tryed creating new style to see if the style was borky.. --------------- Added [DATE]1264256070[/DATE] at [TIME]1264256070[/TIME] --------------- Solved its cause by the method="post" when using the form so i simply removed the entire method and my form start looks like this now <form action="?do=submitapplication" name="newapp"> <input type="hidden" name="do" value="submitapplication" /> and it runs perfectly |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|