stefanoPar Posted December 6, 2023 Share Posted December 6, 2023 Hi! When i try to open the modules managment page is shown this error: Compile Error: require_once(): Failed opening required '/home/thelabeurope/public_html/modules/contactform/recaptcha.php' (include_path='/home/thelabeurope/public_html/vendor/pear/pear_exception:/home/thelabeurope/public_html/vendor/pear/console_getopt:/home/thelabeurope/public_html/vendor/pear/pear-core-minimal/src:/home/thelabeurope/public_html/vendor/pear/archive_tar:.:/opt/cpanel/ea-php74/root/usr/share/pear') [Symfony\Component\Debug\Exception\FatalErrorException 0] How can i fix this? Link to comment Share on other sites More sharing options...
endriu107 Posted December 6, 2023 Share Posted December 6, 2023 Contactform module need to have access to recaptcha.php file, this file isn't by default in this module so you must have some override. You should check what module override contactform and reinstall or remove it including removing this override file too. Link to comment Share on other sites More sharing options...
Knowband Plugins Posted December 11, 2023 Share Posted December 11, 2023 Hi, You need Verify if the file /home/thelabeurope/public_html/modules/contactform/recaptcha.php exists in your PrestaShop module/contactform directory. If it doesn't exist, it might have been accidentally deleted or moved. You also need to verify that the file and its parent directories have the correct permissions set You could also check if that file exists using the file_exists function before including the same if (file_exists($filePath)) { require_once($filePath); } 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