Jump to content

500 ERROR! Somebody help me, please


CM1992415

Recommended Posts

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.

 

image.thumb.png.8dbb831ec5408b78144e2bc03ac011ab.png

 

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:

image.thumb.png.3e7a6822b8d755408f8d97264be98e3a.png

I will be waiting for your kind help.

Regards.

Link to comment
Share on other sites

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 by Guest (see edit history)
Link to comment
Share on other sites

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

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

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

  • 2 years later...

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...