EduCreativos Posted March 4, 2019 Posted March 4, 2019 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.
lesley Posted March 4, 2019 Posted March 4, 2019 Try setting the email to an email address on the same domain as the shop.
toplakd Posted March 4, 2019 Posted March 4, 2019 (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 March 4, 2019 by toplakd
datakick Posted March 4, 2019 Posted March 4, 2019 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. 1
toplakd Posted March 4, 2019 Posted March 4, 2019 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.
EduCreativos Posted March 4, 2019 Author Posted March 4, 2019 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.
toplakd Posted March 4, 2019 Posted March 4, 2019 Try to use stock contact form template from community theme, to see if the issue is in template or somewhere else.
EduCreativos Posted March 4, 2019 Author Posted March 4, 2019 Ok, I try and leave a message. Thank you so much.
EduCreativos Posted March 6, 2019 Author Posted March 6, 2019 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
lesley Posted March 6, 2019 Posted March 6, 2019 What are your mail settings? I feel this is server or theme related. I just installed the 1.0.8 version so I could test this personally, I am not seeing this issue. You can test here, http://thirtybees-91693-772394.cloudwaysapps.com/index.php?controller=contact I think it is either server or theme related, or mail settings related.
toplakd Posted March 6, 2019 Posted March 6, 2019 (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 March 6, 2019 by toplakd
EduCreativos Posted March 6, 2019 Author Posted March 6, 2019 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/contactanosThe 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.
toplakd Posted March 6, 2019 Posted March 6, 2019 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.
EduCreativos Posted March 8, 2019 Author Posted March 8, 2019 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.
colorful-ant Posted March 8, 2019 Posted March 8, 2019 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
EduCreativos Posted March 8, 2019 Author Posted March 8, 2019 Hi, thanks for you replie, but still doesn't work... I followed your advice: 1. Copy the /mail files into mytheme/mails/es 2. Cleared cache at the backoffice but without results... Link: http://educreativos.xyz/en/contactanos Please, any other idea?
EduCreativos Posted March 8, 2019 Author Posted March 8, 2019 Excuseme but I don't Know, Where I can translate it? In Translation and what module? Thanks
colorful-ant Posted March 8, 2019 Posted March 8, 2019 i hope the image helps. i also had a small problem with mails through a module, because it was not translated, no emails were sent.
EduCreativos Posted March 8, 2019 Author Posted March 8, 2019 TB show me a message/error, please look at: http://prntscr.com/mv9ipa
EduCreativos Posted March 8, 2019 Author Posted March 8, 2019 It was the caché. Finally the contact form work fine. Thanks so much! http://prntscr.com/mv9nvp
DRMasterChief Posted March 9, 2019 Posted March 9, 2019 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. 1
Traumflug Posted March 9, 2019 Posted March 9, 2019 Let's not forget this: https://github.com/thirtybees/thirtybees/issues/871 A fix for this issue is preferred, of course. String translations fall back to English if a translation is unavailable already, emails should do this as well. 1
EduCreativos Posted March 10, 2019 Author Posted March 10, 2019 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. 2
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