Jump to content
thirty bees forum

Recommended Posts

Posted

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.

 

 

Posted (edited)

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
Posted
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.  

  • Like 1
Posted

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.

Posted

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.

Posted

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

 

Posted (edited)

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
Posted

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.

 

Posted

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.

Posted

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

Posted

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. 

  • Like 1
Posted

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.

  • Like 2

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...