bukein Posted November 2, 2014 Share Posted November 2, 2014 Hi, I am using Prestashop 1.6.0.9 and also have problem with the e-mail sent when user submit contact form. In my website, I set up 2 languages. - Thai language (Default language) - English language Case 1 => When I select English, Go to contact form , fill up required info and then click submit - A new e-mail sent to my mailbox Case 2 => When I select Thai, do the same things with the case 1 - No e-mail sent to my mailbox I already check my Spam/Junk folder, no new e-mail as well. Anyone know the solution? Link to comment Share on other sites More sharing options...
NemoPS Posted November 3, 2014 Share Posted November 3, 2014 What is the thai language iso code? Check that you have a folder with that name in the main mails/ folder. If not, clone "en" and rename it Link to comment Share on other sites More sharing options...
bukein Posted November 3, 2014 Author Share Posted November 3, 2014 What is the thai language iso code? Check that you have a folder with that name in the main mails/ folder. If not, clone "en" and rename it Thank you "Nemo1" I already checked my folder. There is "TH" folder inside the "mails" folder. Please see these captures So I think all required folders are available. Could you tell me the next step? Thank you in advance Link to comment Share on other sites More sharing options...
NemoPS Posted November 5, 2014 Share Posted November 5, 2014 Try enabling error reporting (read my signature) Checkout, see if there is anything popping out Link to comment Share on other sites More sharing options...
bukein Posted November 5, 2014 Author Share Posted November 5, 2014 Try enabling error reporting (read my signature) Checkout, see if there is anything popping out After I enabled the DEV mode, I see this warning However this warning show after I submit the contact form for both Thai and English language. So the warning is not related to the error Link to comment Share on other sites More sharing options...
NemoPS Posted November 7, 2014 Share Posted November 7, 2014 You might have some permission issues nonetheless. Try debugging a bit, before that touch line of TOols.php, add this var_dump($filename); Then screen the result of the line right before that error Link to comment Share on other sites More sharing options...
bukein Posted November 26, 2014 Author Share Posted November 26, 2014 You might have some permission issues nonetheless. Try debugging a bit, before that touch line of TOols.php, add this var_dump($filename); Then screen the result of the line right before that error I already added the line before the error line => var_dump($filename); This error is shown up when I click submit the form. Notice: Undefined variable: filename in /home/boxtogoint/domains/boxtogo.in.th/public_html/classes/Tools.php on line 2994 NULL Warning: touch(): Utime failed: Permission denied in /home/boxtogoint/domains/boxtogo.in.th/public_html/classes/Tools.php on line 2995 Link to comment Share on other sites More sharing options...
NemoPS Posted November 26, 2014 Share Posted November 26, 2014 It seems it's $file_name, not $filename, sorry Link to comment Share on other sites More sharing options...
Recommended Posts