asianMP Posted December 18, 2019 Share Posted December 18, 2019 Hi! I looking for help for my manual Update 1.6.1.1 to 1.7.6.2. When I call the files for install/upgrade/upgrade.php I get this error : Notice: Use of undefined constant _DB_SERVER_ - assumed '_DB_SERVER_' in /home/powerbyfvn/www/classes/db/Db.php on line 219 Notice: Use of undefined constant _DB_USER_ - assumed '_DB_USER_' in /home/powerbyfvn/www/classes/db/Db.php on line 219 Notice: Use of undefined constant _DB_PASSWD_ - assumed '_DB_PASSWD_' in /home/powerbyfvn/www/classes/db/Db.php on line 219 Notice: Use of undefined constant _DB_NAME_ - assumed '_DB_NAME_' in /home/powerbyfvn/www/classes/db/Db.php on line 219 Fatal error: Uncaught PrestaShopException: Link to database cannot be established: SQLSTATE[HY000] [2002] php_network_getaddresses: getaddrinfo failed: Name or service not known in /home/powerbyfvn/www/classes/db/DbPDO.php:127 Stack trace: #0 /home/powerbyfvn/www/classes/db/Db.php(330): DbPDOCore->connect() #1 /home/powerbyfvn/www/classes/db/Db.php(241): DbCore->__construct('_DB_SERVER_', '_DB_USER_', '_DB_PASSWD_', '_DB_NAME_') #2 /home/powerbyfvn/www/src/PrestaShopBundle/Install/Upgrade.php(177): DbCore::getInstance() #3 /home/powerbyfvn/www/install/upgrade/upgrade.php(58): PrestaShopBundle\Install\Upgrade->__construct('/home/powerbyfv...', '/home/powerbyfv...') #4 {main} thrown in /home/powerbyfvn/www/classes/db/DbPDO.php on line 127 Thanks for your help! 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