Andrei Posted November 2, 2017 Share Posted November 2, 2017 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 More sharing options...
PrestaHeroes USA Posted November 4, 2017 Share Posted November 4, 2017 please see these forge reports, maybe easy fix upgrade to php7? Not sure http://forge.prestashop.com/browse/BOOM-810 make sure to search forge for similar issues you might encounter Link to comment Share on other sites More sharing options...
Simonas Invertus Posted November 8, 2017 Share Posted November 8, 2017 This message usually is shown when database access information is incorrect. But it is odd. Link to comment Share on other sites More sharing options...
Andrei Posted November 9, 2017 Author Share Posted November 9, 2017 There was some problems with my parameters.yml file,even if this was a fresh install of PS,anyway got it fixed by adding the propper info in the parameters file Link to comment Share on other sites More sharing options...
Tioreza Posted December 30, 2018 Share Posted December 30, 2018 has this problem been solved? , i got same problem Link to comment Share on other sites More sharing options...
klymets1 Posted March 11, 2019 Share Posted March 11, 2019 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 More sharing options...
Deepak Posted December 2, 2020 Share Posted December 2, 2020 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 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