crockbg Posted July 5, 2023 Share Posted July 5, 2023 Hi, I have a problem with the standard Contact Form of Prestashop 1.7.8.8: If I enable the Server Cache, the module doesn't send any email and the page refresh without any error message. What I can check to solve this problem? Here the server detail: Server: Linux #62~20.04.1-Ubuntu SMP Tue Nov 22 21:24:20 UTC 2022 x86_64 Version softwarer: Apache Versione MySQL: 8.0.28-0ubuntu0.20.04.3 Motore MySQL: InnoDB Driver MySQL: DbPDO Version PHP: 7.4.33 Memory Limit: 512M Thank you for help Luca Link to comment Share on other sites More sharing options...
skinnybloke Posted Friday at 04:56 PM Share Posted Friday at 04:56 PM I have the same issue. Did you ever solve it? Link to comment Share on other sites More sharing options...
Knowband Plugins Posted yesterday at 10:09 AM Share Posted yesterday at 10:09 AM Hi, This happens when the cache blocks the form processing. Try this: Test without cache: Go to Advanced Parameters > Performance > set "Use cache" to No. Test the form. If it works: Switch cache mechanism to "Memcached" or "Redis" instead of FileSystem. Still issues, then check email logs in Advanced Parameters > E-mail and enable debug mode in defines.inc.php. Regards. Link to comment Share on other sites More sharing options...
skinnybloke Posted 6 hours ago Share Posted 6 hours ago Turning Smarty Cache off and enabling Redis resolved the problem. Will this have a detrimental effect on site performance? I also run the site through Cloudflare for caching. Link to comment Share on other sites More sharing options...
alex_developer Posted 28 minutes ago Share Posted 28 minutes ago 5 hours ago, skinnybloke said: Will this have a detrimental effect on site performance? I also run the site through Cloudflare for caching. To prevent Cloudflare from caching requests to send emails from the contact form, you need to configure Page Rules in Cloudflare and specify Cache Level: Bypass for the request URL. Then Cloudflare will not cache requests from the contact form. 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