PHP problem contactform
Autore: Willy WortelPHP problem with my contactform. I get the following message:
setField('Instelling', $_POST['imObjectForm_1_1'], '', false); $form->setField('Naam', $_POST['imObjectForm_1_2'], '', false); $form->setField('Adres', $_POST['imObjectForm_1_3'], '', false); $form->setField('Postcode', $_POST['imObjectForm_1_4'], '', false); $form->setField('Woonplaats', $_POST['imObjectForm_1_5'], '', false); $form->setField('E-mail', $_POST['imObjectForm_1_6'], '', false); $form->setField('Opmerkingen', $_POST['imObjectForm_1_7'], '', false); if(@$_POST['action'] != 'check_answer') { if(!isset($_POST['imJsCheck']) || $_POST['imJsCheck'] != 'jsactive' || (isset($_POST['imSpProt']) && $_POST['imSpProt'] != "")) die(imPrintJsError()); $form->mailToOwner('***', '***', '', '', true); $form->mailToCustomer('***', $_POST['imObjectForm_1_6'], '', 'Hartelijk dank voor uw bestelling', false); @header('Location: ../index.html'); exit(); } else { echo $form->checkAnswer(@$_POST['id'], @$_POST['answer']) ? 1 : 0; } } // End of file
anyone know what the problem is here.
I can't sent a contactform
Hello Willy,
I would guess that your server (webhost) currently does not support/is not correctly configured for the execution of PHP code. The Email Forms use PHP code and if not set up correctly on your server then operation will fail.
To begin troubleshooting you can visit the following link in your browser:
http://www.yourwebsitename.com/admin/login.php
Replace 'yourwebsitename.com' with the name of your domain, and log in using your admin username and password as specified in Step 4 Access Management of WebSite X5.
Once logged in check for any errors (which will be clearly shown) and let us know the version of PHP (if any) running on your server (again this will be reported in the admin panel)
I recommend that you also update your copy of Evolution 10 to the very latest release, as you are using one of the earliest releases which has some bugs, etc:
http://answers.websitex5.com/profile/downloads
Kind regards,
Paul