Forms not working

12 replies · opened Jun 24, 2017

NnikoslavsJun 24, 2017

My contact and subscribe form stuck on preloader.gif, its link is https://allegrakrstarenja.com/en/contact.html

This are directory listing on server:
/assets/include/sendemail.php
/assets/include/subscribe.php

/en/contact.html

I referenced ../assets/include/sendmail.php in html code, is there anything else to change in other files?

Kindly

SSemicolon WebSTAFFJun 25, 2017

Hello,

We have checked out your https://allegrakrstarenja.com/assets/include/sendemail.php File, however there appears to be some issue with the file as it returns a Blank Reply. Can you please re-upload these files again as it might solve your issue.

Thanks for your Patience.

Meanwhile, do let us know if we can help you with anything else or if you find any further issues with Canvas.

NnikoslavsJun 26, 2017

Hello there again,
I reuploaded original files from theme, not edited ones, but form still got stuck on preloader gif, also with subscribe.php? Is there maybe something need to be changed in functions.js? once again, I am referencing php scripts as follows:
"<form class="nobottommargin" id="template-contactform" name="template-contactform" action="../assets/include/sendemail.php" method="post">"

NnikoslavsJun 27, 2017

Reuploading didn't solve problem, everytime I click on submit or subscribe button, there is only preloader.gif and everything stop working?

Do you have some other proposition?

Also, please answer do I correctly referenced php files?

SSemicolon WebSTAFFJun 27, 2017

Hello,

The File Linkings appear to be fine, however there appears to be some error with the File itself as they do not return any message from the Servers. Did you modify the File's Codes in any way? Can you please send the include/sendemail.php File to semicolonweb@gmail.com so that we can check any possible issues with this. Thanks for your Patience.

Meanwhile, do let us know if we can help you with anything else or if you find any further issues with Canvas.

SSemicolon WebSTAFFJun 28, 2017

Hello,

Thanks for your Patience! We have checked out the Files on Our Own Servers and it works fine for us, so the issue is not with the Files. However, sometimes the Emails are not allowed because the Email Domain set in the $mail->setFrom Option should be from the same Server as your SMTP Server or Mail Server. So simply find the following code in the include/sendemail.php File:

$mail->SetFrom( $email , $name );

and replace it with:

$mail->SetFrom( 'you@yourdomain.com' , $name );

Probably: nikola@allegrakrstarenja.com . This should certainly fix the issue. Thanks for your Patience.

Let us know if we can help you with anything else or if you find any further issues.

NnikoslavsJun 28, 2017

I tried that and forwarded your reply to server administrator, hope that something will come up...

Can you please tell me which files and folders are needed for succesfull contact form? I think that ajax picks up when submit button is pressed, but didn't receive response from form?

Thank you for all your trouble

NnikoslavsJul 17, 2017

Update on this...

Form is now sending mail, but spinner keep spinning, please advise what to do?

SSemicolon WebSTAFFJul 17, 2017

Hello,

Thank You so much for your Patience on this!

Yes! Everything appears to be working fine at the moment! To fix the issue you are currently facing, simply find the $mail->SMTPDebug = 2; in the include/sendemail.php File and change it to $mail->SMTPDebug = 0;.

This will definitely fix your issue. Hope this Helps!

Additionally, it would be really helpful for other users if you can please let us know what did you do to fix the issue.

Let us know if we can help you with anything else or if you find any further issues.

NnikoslavsJul 17, 2017

Thank you, that worked great...

Also, needed to set SMTP Auth for sending e-mails,that worked for me, but needed time to set everything up with mail providers and server admins

SSemicolon WebSTAFFJul 18, 2017

Hello,

Thank You so much for your Patience! Really Glad that issues have been resolved.

Do let us know if we can help you with anything else or if you find any further issues with Canvas.

Have the same question, or something new?

Sign in to the Canvas dashboard to reply or open your own topic. Canvas owners get direct help from the SemiColonWeb team.

Reply on the dashboard