[Help ASAP]"necessary data rewind wasn't possible"

Here is my code:

function CreateAccount() {
   formText = "Creating account...";
   var formC = new WWWForm();
   formC.AddField( "Email", formEmail );
   formC.AddField( "Username", formNick ); 
   formC.AddField( "Password", formPassword ); 
   var w = WWW(CreateURL,formC);
   yield w;
      if (w.error != null) { 
      print("ERROR: "+w.error);
	  formText = w.error;
   } else { 
   formText = w.data;
   }
}

When I try to run it I get this error from w.error:

Here is my PHP with the database information removeed:

$Username = $_POST['Username'];
$Password = $_POST['Password'];
$Email = $_POST['Email'];
$result = mysql_query("SELECT * FROM Accounts WHERE Username='$Username'") or die(mysql_error());  
$row = mysql_fetch_array( $result );
if ($row){
echo "Username taken!";
}
else {
mysql_query("INSERT INTO Accounts (UserId, Username, Password, Email, Banned, HasMedsouzNation)
VALUES (NULL,'$Username', '$Password', '$Email',0,0)") or die(mysql_error());
echo "Account created succesfully!";
}
?>

This happened to me before and when I put the WWWForm in a different script it worked fine, could this be caused by the fact that I have 2 WWWforms in the same script?

Just a guess. :smile:

It is caused by that! I’m gonna report that bug right now!

Could you post more of your script, not just the function? I’m interested to see where else a WWWForm was being used that caused this error.

I PMed it to you because I don’t want anyone copying it. :smile: