Home › Forums › Theme support › Eastend : Ajax contact form translation › Reply To: Eastend : Ajax contact form translation
Hi,
I don’t understand what’s happening
I replace ajax.php files by the original .. but always the same error …
at the end of the ajax.php file .. there is this code
if($_POST[‘ajaxType’]==”ajaxTrue”)
{
if($emailSent==true)
{
echo “1”;
}
else
{
echo “2”;
}
}
else
{
$url=$_SEVER[“HTTP_REFERER”];
//header(“Location: $url”);
die();
}
so the mail is sent but 1 is displayed ..
I just made test on ajax.php and custom.js.php … do you have an idea ?
(hard period for the site immovateur.com 🙁 )
many thanks for your help
Franck