Jump to content

PrestaShop 1.7 Error 500 on Catalog->Products page


Recommended Posts

I am encountering this problem when trying to access the backoffice

[02-Nov-2017 13:59:00 Europe/Bucharest] PHP Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[HY000] [1045] Access denied for user 'root'@'localhost' (using password: NO)'

This is the app/config/parameters.php file

<?php return array (
'parameters' => 
array (
'database_host' => '127.0.0.1',
'database_port' => '',
'database_name' => 'xxxxxx',
'database_user' => 'xxxxxxx',
'database_password' => 'xxxxxxxx',
'database_prefix' => 'ps_',
'database_engine' => 'InnoDB',
'mailer_transport' => 'smtp',
'mailer_host' => '127.0.0.1',
'mailer_user' => NULL,
'mailer_password' => NULL,
'secret' => '****',
'ps_caching' => 'CacheMemcache',
'ps_cache_enable' => false,
'ps_creation_date' => '2017-10-26',
'locale' => 'en-US',
'cookie_key' => '****',
'cookie_iv' => '****',
'new_cookie_key' => '****',
),);

The censored fields are entered as supposed,with appropriate DB,User,Password.

Yet,when I go to the Catalog->Products page on normal mode I get Error 500 and when I go there with Debug Mode there are no errors that appear.

Link to comment
Share on other sites

  • 1 year later...
  • 2 months later...
On 12/30/2018 at 7:58 PM, Tioreza said:

has this problem been solved? , i got same problem

After debugging a lot in my server this is what solved for me:

at prestashop/var/cache remove all files and now the BO cache is cleared, i think this should be cleaned too when you click on "clear cache" in the BO.

Link to comment
Share on other sites

  • 1 year later...
On 3/11/2019 at 6:12 AM, klymets1 said:

After debugging a lot in my server this is what solved for me:

at prestashop/var/cache remove all files and now the BO cache is cleared, i think this should be cleaned too when you click on "clear cache" in the BO.

Yes. Its working for me. 

Thanks klymets1

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