Jump to content

Problem with category HTTP ERROR 500 -- Prestashop 8.0.4


sh2soft

Recommended Posts

Hi,

The first thing would be to use the simplified surl, but that is not the problem.

Two things to always do when you have a blank page or a 500 error on your PrestaShop store:

  1. Delete the /var/cache directory of your server using your FTP client https://www.mediacom87.fr/en/faq-how-to-clear-the-cache-manually-on-prestashop-17/
  2. Activate the Debug mode https://www.prestatoolbox.com/content/24-errors-messages-prestashop
Link to comment
Share on other sites

  • 3 months later...
On 5/13/2023 at 12:10 AM, sh2soft said:

Hello
Welcome
I am having a problem with the category

/index.php?id_category=10&controller=category

of the site, the problem appears HTTP ERROR 500

 

Please help solve the problem?

Hi,

  • First, check your server's error logs for any relevant error messages.
  • Your server may be running out of memory. You can increase the PHP memory limit in your server's php.ini file or by adding this line to your .htaccess file:
    • php_value memory_limit 256M
  • Make sure that file and directory permissions are correctly set.
  • If the issue started after installing or updating a module, try disabling or removing the problematic module.
  • If you are unable to resolve the issue, contact your hosting provider's support for assistance. They may be able to provide insights from server logs.

Remember to make backups before making any significant changes to your PrestaShop installation

Link to comment
Share on other sites

 

On 5/13/2023 at 12:10 AM, sh2soft said:

Hello
Welcome
I am having a problem with the category

/index.php?id_category=10&controller=category

of the site, the problem appears HTTP ERROR 500

 

Please help solve the problem?

Hi,

Kindly open config/defines.inc.php file

replace define('_PS_MODE_DEV_', false);
with define('_PS_MODE_DEV_', true);

Save your file on your server

Refresh the page of your site to see the error message in detail.

Thanks!

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