VMT Posted December 4, 2020 Share Posted December 4, 2020 Hi all, I'm using 1.7.4.4 and I just attempted to go into my admin back page. I can successfully login and load the dashboard, but the moment I attempt anything further like products, shop parameters, advanced parameters or modules etc. etc. I get a 500 error (in Chrome at least, firefox just gives a blank page). After some googling of how to enable debug mode via ftp as I could not access the advanced parameters area, strangely the admin back pages work. All of them work in debug mode without 500 error. However the moment I disable debug mode, all the issues return. Frustrating as I don't know what the 500 error is to fix further if debug mode won't show a failure. I've attempted this with Firefox & Chrome, and different computers too, to double check it wasnt something on my end. Any assistance on how I should fix this or what next debug steps to take? Link to comment Share on other sites More sharing options...
VMT Posted December 6, 2020 Author Share Posted December 6, 2020 I found logs under var/logs/ Under exception log: *ERROR* v1.7.4.4 2019/12/03 - 18:20:02: Link to database cannot be established: SQLSTATE[42000] [1044] Access denied for user 'veve1142_pr2'@'localhost' to database 'veve1142_pr2' at line 120 in file classes/db/DbPDO.php *ERROR* v1.7.4.4 2019/12/03 - 07:22:40: Link to database cannot be established: SQLSTATE[HY000] [1044] Access denied for user 'veve1142_pr2'@'localhost' to database 'veve1142_pr2' at line 120 in file classes/db/DbPDO.php *ERROR* v1.7.4.4 2019/12/03 - 18:25:02: Link to database cannot be established: SQLSTATE[42000] [1044] Access denied for user 'veve1142_pr2'@'localhost' to database 'veve1142_pr2' at line 120 in file classes/db/DbPDO.php Under prod.log [2020-12-06 14:49:42] request.INFO: Matched route "admin_product_catalog". {"route":"admin_product_catalog","route_parameters":{"_controller":"PrestaShopBundle\\Controller\\Admin\\ProductController::catalogAction","_legacy_controller":"AdminProducts","limit":"last","offset":0,"orderBy":"last","sortOrder":"last","_route":"admin_product_catalog"},"request_uri":"http://www.vetomedtech.com.au/online/glja6rq9gaik34kr/index.php/product/catalog?_token=9VU_22-FhxM1cPuzNc1qLHLy4_3gBve-ENxj_m8YhMA","method":"GET"} [] [2020-12-06 14:49:43] security.INFO: Populated the TokenStorage with an anonymous Token. [] [] [2020-12-06 14:49:43] request.CRITICAL: Uncaught PHP Exception Doctrine\DBAL\Exception\ConnectionException: "An exception occured in driver: SQLSTATE[HY000] [1045] Access denied for user 'veve1142_pr2'@'localhost' (using password: YES)" at /home/customer/www/vetomedtech.com.au/public_html/online/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/AbstractMySQLDriver.php line 103 {"exception":"[object] (Doctrine\\DBAL\\Exception\\ConnectionException(code: 0): An exception occured in driver: SQLSTATE[HY000] [1045] Access denied for user 'veve1142_pr2'@'localhost' (using password: YES) at /home/customer/www/vetomedtech.com.au/public_html/online/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/AbstractMySQLDriver.php:103, Doctrine\\DBAL\\Driver\\PDOException(code: 1045): SQLSTATE[HY000] [1045] Access denied for user 'veve1142_pr2'@'localhost' (using password: YES) at /home/customer/www/vetomedtech.com.au/public_html/online/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php:47, PDOException(code: 1045): SQLSTATE[HY000] [1045] Access denied for user 'veve1142_pr2'@'localhost' (using password: YES) at /home/customer/www/vetomedtech.com.au/public_html/online/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php:43)"} [] [2020-12-06 14:49:43] request.CRITICAL: Exception thrown when handling an exception (Twig_Error_Loader: Template "@Twig/Exception/error.html.twig" is not defined. at /home/customer/www/vetomedtech.com.au/public_html/online/vendor/twig/twig/lib/Twig/Loader/Chain.php line 129) {"exception":"[object] (Twig_Error_Loader(code: 0): Template \"@Twig/Exception/error.html.twig\" is not defined. at /home/customer/www/vetomedtech.com.au/public_html/online/vendor/twig/twig/lib/Twig/Loader/Chain.php:129)"} [] How do I correct the access denied error? 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