Skip to content
View in the app

A better way to browse. Learn more.

thirty bees forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

The contact form doesn't work, but I receive proof message in the back office

Featured Replies

Hi, that´s the situation... My page is: http://orangeparts.esy.es/contactanos

And, how I said I have 2 issues:

1. The form doesn't work: http://prntscr.com/mt2om4 and don't send the message through email (nothing in spam, either).
2. But I receive the message in the backoffice (Customer > Customer Service): http://prntscr.com/mt2o7g
3. And TB send me correctly the proof message: http://prntscr.com/mt2q46

 

Thanks.

 

 

I don't think this is the issue, as I do use varius non-domain emails on my test instances and such behaviour is not showing up.

Email is always sent.

Problem is likely in the template. As it could be that it has required tag on Order refference.

Edited by toplakd

6 minutes ago, toplakd said:

I don't think this is the issue, as I do use varius non-domain emails on my test instances and such behaviour is not showing up.

Email is always sent.

Problem is likely in the template. As it could be that it has required tag on Order refference.

How could that have any effect on sending, or delivering email? Worst case scenario - the email will contain order reference placeholder not substituted.  

It was just a thought as on second test with order reference his contact form went throught.

But it was just coincidence, that first 1 got error, then entered order ref and it went through.

As it always goes through when clicking second time on send.

Fist time click gets red error, second click gets mail sent 🙂

So some other issue. My mistake.

  • Author

Hi, Thanks for your replies... In effect, with the second time the contact form is working fine.  But how can fix this error?

The idea is that the form work in the first send.

 

Thanks.

Try to use stock contact form template from community theme, to see if the issue is in template or somewhere else.

  • Author

Hi, I installed TB with the original template in the same server with other domain.  But I have the same issue... And the problem is so weird... When I send the first time doesn't work, but when I send the second time the form send the message...

This is the image, when I send the form the first time: https://prnt.sc/mttwwi

This is the image, when I send the form the second time: https://prnt.sc/mttxwl

 

The webpage is: http://orangeparts.esy.es/contactanos
The native installation is: http://educreativos.xyz/contactanos

 

Any idea?

 

Thanks

 

As you have said in other topic, you have also PS shops installed on same servers and contact form works on them.

And as you already have native TB instalation to test, you can try to copy contact-form.tpl from prestashop, and test it, and if it stil does not work you can also try to copy the /controllers/front/ContactController.php

delete /cache/class_index.php after upload, and also in Dashboard/Advanced parameters/Performance check force compilation and disable cache.

Attached are the files from 1.6.1.23

And even if it works after, as lesley said it could be server settings related as no matter where i install (have also 3 different hostings at current time) the contact form works out of the box.

 

 

 

ContactController.php

contact-form.tpl

Edited by toplakd

  • Author

Hi, thanks for your replies.

I don't know whats wrong with this form... I followed all the steps but, the form still doesn't work... Maybe can to be the Spanish language in the store?

The webpage is: http://orangeparts.esy.es/contactanos
The native installation is: http://educreativos.xyz/contactanos

Yesterday, I talked with the host and their have all the smtp parameters active... For instance, the php send is normal in the current plan... For this reason when I send a proof email, the store don't have any problem: http://prntscr.com/mu5zhb

 

Thanks so much for any help.

 

Don't know where this error comes from, but I do think it has to do something with hosting provider and server/mail configuration and has nothing to do with the contact form itself,

as contact form is working flawlesly, no matter if phpmail, smpt, ssl or no ssl.

During time I was on PS I have read a lot of people had such troubles when upgrading to different 1.6 versions.

I have updated everytime when update was available and contact form has never been a trouble for my shop.

And after migration to tb everything just works as before. No matter if tb theme or ps theme, phpmail or smtp mail. It just works.

  • Author

Hi, I know what's the issue... Its the language: I installed English in my site (by default is Spanish), and I when change the store to English the contact form send email without problem...  So, how can I fix it? 

Link: http://educreativos.xyz/en/contactanos

Thanks so much for any help.

Copy the mail files into the correct folder and translate it.

example from
... / themes / yourtheme / mails / en
or ... / mails / en
to
... / themes / yourtheme / mails / es

  • Author

Excuseme but I don't Know, Where I can translate it?  In Translation and what module?

 

Thanks

I think this is an super old bug from PS, which is already present in tb.  It is a well-known thing that the /mails/xx  has to be copied (and sometimes the  lang.php  in it too). 

Now we have another topic for this,  but great that it worked for you now.  tb should fix this in anyway or take this into the handbook or readme section. 

  • Author

The cause: Well, in my case I have the installation of TB in Spanish language, so:

1. Install TB in a version different to English (for instance: Spanish Language...)
2. So, after the installation, the contact form, in this case in Spanish doesn't work...

The Solution:

1. Make sure you have the English language installed as well, if you do not have it installed, install it
2. Go to public_html/mails and copy this folder
3. Go to public_html/themes/mythemes/ and paste the folder
4. Into the folder mails you have the languages: public_html/themes/mythemes/mails/en and public_html/themes/mythemes/mails/es (for example)
5. So, go to /public_html/themes/mythemes/mails/en/ and copy this files: index.php, lang.php and other file that not exist in the folder ../mails/es/ and paste its in ../mails/es folder
6. Check the translations in Translations > emails Templates

 

How I said, my case is in Spanish language (../es), but you can replace this parameters for your own language/folder.

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.