Contact form not working

Home Forums Timessquare Site Template Contact form not working

This topic contains 2 replies, has 1 voice, and was last updated by  ab-themes 10 years, 3 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #186

    ab-themes
    Keymaster

    Hi. I have bought your great template “Timesquare”. I have followed all your instructions regarding the Contact Form and changed the code in custom.js file + sendmail.php file+reCaptcha keys. Unfortunately, it doesn’t work. Could you please help me?

    #187

    ab-themes
    Keymaster

    Is it possible that you send me cpanel login data?
    I see that submit doesn’t work so i tried to find what is wrong but everything seams fine from source code.
    If you send me cpanel login i will fix it.

    #188

    ab-themes
    Keymaster

    There was an error in the sendmail.php file :

    $name = htmlentities($_POST['name']);
        $subject = htmlentities($_POST['subject']);
        $message = "Name: $namenEmail: ".$_POST['email']."n"."Sent you a message: n".htmlentities($_POST['message']);
        mail($send_to, $subject, $message);

    ‘name’ has to be ‘contact-name’

    ‘subject’ has to be ‘contact-subject’

    ‘message’ has to be ‘contact-message’

    • This reply was modified 10 years, 2 months ago by  ab-themes.
Viewing 3 posts - 1 through 3 (of 3 total)

The topic ‘Contact form not working’ is closed to new replies.