Jump to content

SAUDIS

Recommended Posts

Hi,

Has anyone still got issues with the updates to the contact form in Prestashop 1.6.1.18?

I've made the changes to the contactcontroller.php and contact.tpl as suggested in the GitHub ticket: https://github.com/PrestaShop/PrestaShop/pull/8168 but I'm still receiving an error that the form cannot be submitted. I have checked that emails are configured correctly through the back office email test and these work just fine. However the contact form is failing to submit?

Has anyone else had any issue following the code base change? The error I'm recieving is: 

There is 1 error An error occurred while sending the message.

I'd be interested to hear if anyone else is still having issues?

Regards,

 

Steven.

Link to comment
Share on other sites

On 23.2.2018 at 10:47 AM, SAUDIS said:

[...] Has anyone else had any issue following the code base change? The error I'm recieving is: 

There is 1 error An error occurred while sending the message.

I'd be interested to hear if anyone else is still having issues?.

 

yes - i have these problems too :(

 

 

 

Link to comment
Share on other sites

On 4.3.2018 at 11:24 AM, DesiWeb said:

 

yes - i have these problems too :(

 

 

 

 

i had edited my template-file (themes/xxxx/contact-form.tpl) --> add these code:

				<input type="text" name="url" value="" class="hidden" />
				<input type="hidden" name="contactKey" value="{$contactKey}" />

and now it works perfect...

  • Like 1
Link to comment
Share on other sites

  • 1 month later...

the new version contact form added two security filed in tpl file 

 

<div class="submit"> <input type="text" name="url" value="" class="hidden"> <input type="hidden" name="contactKey" value="f0fb5767045eda70793c5f6e1cf43fbe">  <button type="submit" name="submitMessage" id="submitMessage" class="button btn btn-default button-medium"><span>Send<i class="icon-chevron-right right"></i></span></button></div>

 

Link to comment
Share on other sites

  • 3 weeks later...
  • 2 months later...

We are having the same issues with PS 1.6.1.20.
The contact form is simply not working.


Activating debug mode, there is no error coming up.

Checking the Serverlogs, there is no error coming up.

Testing the emails from the admin backend in the email settings works without any kind of problems.

None of the suggested solutions is so far working for us.

Is there somebody who was able to fix this issue?

https://montagetools.de/kontaktieren-sie-uns

Link to comment
Share on other sites

  • 3 weeks later...
On 18/7/2018 at 10:21 AM, prime1974 said:

We are having the same issues with PS 1.6.1.20.
The contact form is simply not working.


Activating debug mode, there is no error coming up.

Checking the Serverlogs, there is no error coming up.

Testing the emails from the admin backend in the email settings works without any kind of problems.

None of the suggested solutions is so far working for us.

Is there somebody who was able to fix this issue?

https://montagetools.de/kontaktieren-sie-uns

I have the same issue.  Did you solve?

Link to comment
Share on other sites

  • 4 weeks later...
  • 3 months later...

I changed the contact-form.tpl as adviced by DesiWeb on March 5 2018

On 3/5/2018 at 1:48 PM, DesiWeb said:

 

i had edited my template-file (themes/xxxx/contact-form.tpl) --> add these code:


				<input type="text" name="url" value="" class="hidden" />
				<input type="hidden" name="contactKey" value="{$contactKey}" />

and now it works perfect...

The error dissapeared, both emails came OK (admin and customer). Slightly strange is the email message header that goes to customer ending with some strange "code" :

"#ct4 #tcaIhZfomaxYUn"" :

Email header : "[eshop] Your message has been correctly sent #ct4 #tcaIhZfomaxYUn".....

I am running PS 1.6.1.18

Link to comment
Share on other sites

  • 3 months later...
On 3/5/2018 at 2:48 PM, DesiWeb said:

 

i had edited my template-file (themes/xxxx/contact-form.tpl) --> add these code:


				<input type="text" name="url" value="" class="hidden" />
				<input type="hidden" name="contactKey" value="{$contactKey}" />

and now it works perfect...

Adding this 2 rows in contact-form.tpl solved my problem. Thank you.

  • Like 1
Link to comment
Share on other sites

  • 2 years later...
On 3/5/2018 at 1:48 PM, DesiWeb said:

 

i had edited my template-file (themes/xxxx/contact-form.tpl) --> add these code:


				<input type="text" name="url" value="" class="hidden" />
				<input type="hidden" name="contactKey" value="{$contactKey}" />

and now it works perfect...

Thank you, it works also with PS v 1.7.2.4 and Contact Form v. 4.3.0.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...