yguerin Posted September 6, 2016 Share Posted September 6, 2016 Dear, I tried to install prestashop via the cli but I got the following erro: Link to database cannot be established: SQLSTATE[28000] [1045] Access denied for user 'root'@'localhost' (using password: NO) I run the following command: root@baselamp:/var/www/html/prestashop# php install/index_cli.php --step all --language fr,en --timezone America/New_York --db_password myPassword --db_clear 0 --db_create 1 --country ca --firstname toto --lastname COCO --newsletter 0 --name PrestaShop --db_user root version: 1.6.1.6_fr ubuntu 14.04 Regards, Yves Link to comment Share on other sites More sharing options...
yguerin Posted September 7, 2016 Author Share Posted September 7, 2016 (edited) Hello, The problem is the command line arguments are not saved/passed to be use by the process.php. So the cli installation never works with command line arguments Regards, Yves Edited September 7, 2016 by yguerin (see edit history) Link to comment Share on other sites More sharing options...
yguerin Posted September 7, 2016 Author Share Posted September 7, 2016 Hello, The function getAndCheckArgs is the problem. Regards, Yves 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