CM1992415 Posted June 9, 2020 Share Posted June 9, 2020 Hi, everyone. After upgrading version of Prestashop from 1.7.5 to 1.7.6.4, there are several issues on my website. But with your everyone's kind help, I am fixing one by one. This error happens when I click Modules/Module manager/Alert tab. In debug mode, this below appeared. "Compile Error: require_once(): Failed opening required '/var/www/vhosts/trendystyle.ch/httpdocs/modules/contactform/recaptcha.php' (include_path='/var/www/vhosts/trendystyle.ch/httpdocs/vendor/pear/pear_exception:/var/www/vhosts/trendystyle.ch/httpdocs/vendor/pear/console_getopt:/var/www/vhosts/trendystyle.ch/httpdocs/vendor/pear/pear-core-minimal/src:/var/www/vhosts/trendystyle.ch/httpdocs/vendor/pear/archive_tar:.:/opt/plesk/php/7.2/share/pear:/var/www/vhosts/trendystyle.ch/httpdocs/modules/postfinancecw/lib')" And this is the screenshot: I will be waiting for your kind help. Regards. Link to comment Share on other sites More sharing options...
Guest Posted June 9, 2020 Share Posted June 9, 2020 (edited) It tells you that you are missing the ./modules/contactform/recaptcha.php file. Or the contacform module is missing. The update removed the original module and replaced it with a new version. Edited June 9, 2020 by Guest (see edit history) Link to comment Share on other sites More sharing options...
CM1992415 Posted June 9, 2020 Author Share Posted June 9, 2020 sorry. i updated contactform version from 4.1.1 to 4.2 in github. https://github.com/PrestaShop/contactform but there is no recaptcha.php in it, too same issue, any other conclusion, please. T_T Link to comment Share on other sites More sharing options...
CM1992415 Posted June 9, 2020 Author Share Posted June 9, 2020 17 hours ago, Guest said: It tells you that you are missing the ./modules/contactform/recaptcha.php file. Or the contacform module is missing. The update removed the original module and replaced it with a new version. sorry. i updated contactform version from 4.1.1 to 4.2 in github. https://github.com/PrestaShop/contactform but there is no recaptcha.php in it, too same issue, any other conclusion, please. T_T Link to comment Share on other sites More sharing options...
Guest Posted June 10, 2020 Share Posted June 10, 2020 It's really hard to advise like this. On FTP in the ./var/cache folder, rename the dev and prod folders. When you rename them, delete them. Link to comment Share on other sites More sharing options...
CM1992415 Posted June 10, 2020 Author Share Posted June 10, 2020 3 hours ago, Guest said: It's really hard to advise like this. On FTP in the ./var/cache folder, rename the dev and prod folders. When you rename them, delete them. thanks. I fixed just like this: In src/Module/Module.php if ($this->attributes->get('name') != "recaptcha") {...} thanks to your kind advice. Link to comment Share on other sites More sharing options...
Guest Posted June 10, 2020 Share Posted June 10, 2020 It's like connecting a sheet metal with a nail 🙂 Link to comment Share on other sites More sharing options...
corrigerunbug Posted February 12, 2023 Share Posted February 12, 2023 If someone has this problem, its related to module of Recaptcha, you should go and delete all overrides file of Recaptcha module and disable them to fix it. After that you can Install the new version of Recaptcha module. 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