Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
php ./bin/console cache:clear --env=prod #15324
prestashop 22.214.171.124 on php 7.2.21 ubuntu
PHP Warning: Use of undefined constant DB_SERVER - assumed 'DB_SERVER' (this will throw an Error in a future version of PHP) in /var/www/vhosts/100asa.it/httpdocs/classes/db/Db.php on line 219
In DbPDO.php line 127:
Link to database cannot be established: SQLSTATE[HY000]  php_network_getaddresses: getaddrinfo failed: Temporary failure in name resolution
cache:clear [--no-warmup] [--no-optional-warmers] [-h|--help] [-q|--quiet] [-v|vv|vvv|--verbose] [-V|--version] [--ansi] [--no-ansi] [-n|--no-interaction] [-e|--env ENV] [--no-debug] [--id_shop [ID_SHOP]] [--id_shop_group [ID_SHOP_GROUP]] [--]
Thanks for your report.
I’ll add this to the debug roadmap so that it’s fixed. If you have already fixed it on your end or if you think you can do it, please do send us a pull request!
I checked your PR but I have issues.
I've updated my PR to retrieve data from 126.96.36.199 and I know have another error:
I have same results for both 188.8.131.52 and develop branches.
Looks like yet another translation loader issue sadly /c @eternoendless
I don't have any issue with 184.108.40.206.
EDIT: using git exec on cache clear command between 220.127.116.11 and 18.104.22.168, I can tell this commit have introduced the regression.
Hope it helps :(
Yes, you are right.
With PS22.214.171.124 => OK
About PS126.96.36.199 => OK, I have errors only when using Docker(PHP7.2), in the local => OK
This is a regression.