Jump to content

impossibile to access in modules management page


stefanoPar

Recommended Posts

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

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...