the ftp info provided is not working.
to help troubleshoot, change line 122:
$MM_editCmd = mysql_query($WA_Sql, $WA_connection) or die(mysql_error());
to:
$MM_editCmd = mysql_query($WA_Sql, $WA_connection) or die(mysql_error()." <br />SQL: ".$WA_Sql);
this should show the full SQL for the insert query to help determine the problem.