Support › Forums › Azul – HTML Template › Contact form is NOT working
Tagged: contact us
- This topic has 27 replies, 3 voices, and was last updated 8 years, 4 months ago by
CreaboxThemes.
-
AuthorPosts
-
November 12, 2014 at 12:22 pm #4085
Kedar
ParticipantOf course: http://serwer1408104.home.pl/soon
November 12, 2014 at 2:58 pm #4086CreaboxThemes
KeymasterHi Kedar,
can you send me you the configuration in the file config.php? Withou the password please.
Regards
November 12, 2014 at 11:13 pm #4087Kedar
Participant<?
//define the receiver of the emaildefine(‘TO_NAME’,’Gorący Potok’); //put your name
define(‘TO_EMAIL’,’info@goracypotok.pl’); //put your emaildefine(‘TEMPLATE_PATH’,’template/default.php’);
define(‘SMTP_HOST’,’serwer1408104.home.pl’); //for example gmail: smtp.gmail.com
define(‘SMTP_USERNAME’,’info@goracypotok.pl’); //put your email
define(‘SMTP_PASSWORD’,’xxxxxxxxx’); //put your password
define(‘SUBJECT’,’Kontakt ze strony tymczasowej Gorący Potok’); //change if you want the subject// Messages
define(‘MSG_INVALID_NAME’,’Please enter your name.’);
define(‘MSG_INVALID_EMAIL’,’Please enter valid e-mail.’);
define(‘MSG_INVALID_MESSAGE’,’Please enter your message.’);
define(‘MSG_SEND_ERROR’,’Sorry, we can\’t send this message.’);?>
November 13, 2014 at 7:39 am #4088CreaboxThemes
KeymasterHi,
I have read in several forums and the problem may be caused by the variable TO_NAME. You can make a test and check if the problem happens yet. Change the variable TO_NAME in this way:
define('TO_NAME','Name');
Regards
November 14, 2014 at 7:33 am #4089Kedar
ParticipantIt does not help… Still get information “Could not instantiate mail function.” + information from 19th line of config.php file.
November 15, 2014 at 10:11 am #4090CreaboxThemes
KeymasterTry this possible solution. In the file contact.php, the line 37 is commented. Delete the double slash. The code has to change in this way:
$mail->IsSMTP(); // enable SMTP
Regards
November 15, 2014 at 9:47 pm #4091Kedar
ParticipantDoes not help. Now I’m getting information: “SMTP ERROR: Could not connect to SMTP host.”
November 17, 2014 at 7:56 am #4095CreaboxThemes
KeymasterHi Kedar,
have you tried to contact with your hosting support? Maybe it could be an error in the server.
If it is not, you can create a little space for me in your server to make tests with the phpmailer. Or phpmailer can be changed by the function that is used in the newsletter form.
Regards
November 17, 2014 at 6:21 pm #4098Kedar
ParticipantMails working just fine in other programs. So I think that’s not the serwer fault.
November 17, 2014 at 8:42 pm #4100CreaboxThemes
KeymasterHi again,
we can trust the next:
- Change the file contact.php form this one.
- In the file scripts-video.js, instead the function for the contact for, use this one.
- In the main file (index.html), change the line
<form class="fadeOut-2" action="#" id="contactform">
to this one<form class="fadeOut-2" action="php/contact.php" id="contactform" method="post">
(about the line 202 in your file)
Regards
November 20, 2014 at 7:39 pm #4105CreaboxThemes
KeymasterHi Kedar,
any news?
Regards
November 20, 2014 at 10:11 pm #4106Kedar
ParticipantYes.. I just resign to use template. We starting main site @ Monday and “Comming soon” template won’t be needed anymore…
November 21, 2014 at 11:09 am #4111CreaboxThemes
KeymasterOk, sorry for the inconveniences. Regards
-
AuthorPosts
- You must be logged in to reply to this topic.