SAUDIS Posted February 23, 2018 Share Posted February 23, 2018 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 More sharing options...
Garden Light Shop Posted February 28, 2018 Share Posted February 28, 2018 We are having the same issue after upgrading. Made the GitHub changes suggested for 1.6.1.17 but still get the error message. Link to comment Share on other sites More sharing options...
SAUDIS Posted February 28, 2018 Author Share Posted February 28, 2018 It doesn't look like anyone is going to fix this issue as there is a ticket on GitHub but it's not resolved. I don't know how to escalate it further... Link to comment Share on other sites More sharing options...
DesiWeb Posted March 4, 2018 Share Posted March 4, 2018 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 More sharing options...
DesiWeb Posted March 5, 2018 Share Posted March 5, 2018 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... 1 Link to comment Share on other sites More sharing options...
Dave L Posted April 15, 2018 Share Posted April 15, 2018 (edited) I just had this same issue. I had duplicated a 1.6.1.13 shop and then upgraded it to 1.6.1.18. Then the issue arose. I took the controllers/front/ContactController.php from the earlier one and replaced the later one and all worked well. Edited April 15, 2018 by Dave L (see edit history) Link to comment Share on other sites More sharing options...
TiaNex Shopping Posted April 19, 2018 Share Posted April 19, 2018 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 More sharing options...
Luigi Donato Posted May 9, 2018 Share Posted May 9, 2018 I've the same problem Link to comment Share on other sites More sharing options...
prime1974 Posted July 18, 2018 Share Posted July 18, 2018 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 More sharing options...
simonainti Posted August 7, 2018 Share Posted August 7, 2018 Did you solve it ? I have the same problem Link to comment Share on other sites More sharing options...
simonainti Posted August 10, 2018 Share Posted August 10, 2018 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 More sharing options...
prime1974 Posted September 3, 2018 Share Posted September 3, 2018 On 10.8.2018 at 9:35 AM, simonainti said: I have the same issue. Did you solve? No we didn't, regrettably. Sorry for the delay in replying. Link to comment Share on other sites More sharing options...
aastro Posted December 15, 2018 Share Posted December 15, 2018 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 More sharing options...
dya007 Posted March 27, 2019 Share Posted March 27, 2019 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. 1 Link to comment Share on other sites More sharing options...
@diegofrancesco Posted June 1, 2021 Share Posted June 1, 2021 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 More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now