When I get to Step 3, I get the following messages:
Warning: mysqli::__construct() [mysqli.construct]: (HY000/2002): Connection refused in /var/www/xxx.com/public_html/OpenCart/system/library/db/mysqli.php on line 7
Warning: DB\MySQLi::__construct() [db\mysqli.construct]: Couldn't fetch mysqli in /var/www/xxx.com/public_html/OpenCart/system/library/db/mysqli.php on line 10
Warning: DB\MySQLi::__construct() [db\mysqli.construct]: Couldn't fetch mysqli in /var/www/xxx.com/public_html/OpenCart/system/library/db/mysqli.php on line 10
Notice: Undefined variable: mysql in /var/www/xxx.com/public_html/OpenCart/install/controller/install/step_3.php on line 280
Notice: Trying to get property of non-object in /var/www/xxx.com/public_html/OpenCart/install/controller/install/step_3.php on line 280
What can my problem be like?
Ensure to have set the proper credentials in your config.php and admin/config.php files. If you do not know your database credentials, contact your host and / or check your host database console.EV-soft wrote: ↑Wed Jan 17, 2018 3:41 amInstallation conditions: PHP version 7.0x
When I get to Step 3, I get the following messages:
Warning: mysqli::__construct() [mysqli.construct]: (HY000/2002): Connection refused in /var/www/xxx.com/public_html/OpenCart/system/library/db/mysqli.php on line 7
Warning: DB\MySQLi::__construct() [db\mysqli.construct]: Couldn't fetch mysqli in /var/www/xxx.com/public_html/OpenCart/system/library/db/mysqli.php on line 10
Warning: DB\MySQLi::__construct() [db\mysqli.construct]: Couldn't fetch mysqli in /var/www/xxx.com/public_html/OpenCart/system/library/db/mysqli.php on line 10
Notice: Undefined variable: mysql in /var/www/xxx.com/public_html/OpenCart/install/controller/install/step_3.php on line 280
Notice: Trying to get property of non-object in /var/www/xxx.com/public_html/OpenCart/install/controller/install/step_3.php on line 280
What can my problem be like?
The most generated errors being found on Opencart forum originates from contributed programming. The increased post counters are caused by redundancies of the same solutions that were already provided prior.
Regards,
Straightlight
Programmer / Opencart Tester
I have double checked both the password and the admin name
I have also tried installation on 2 different servers.
I suspect mysql should be mysqli in the message:
Notice: Undefined variable: mysql
Is it for sure it's not a bug?
Both config.php files should not be empty.The 2 config files are empty
Correct. In both config.php files, your DB_DRIVER should be set to: mysqliI suspect mysql should be mysqli in the message:
Notice: Undefined variable: mysql
The most generated errors being found on Opencart forum originates from contributed programming. The increased post counters are caused by redundancies of the same solutions that were already provided prior.
Regards,
Straightlight
Programmer / Opencart Tester
Firstly, we suggest to install the Opencart system in hosting area with PHP5.6, please try to change it.
Second, if you download the system from official way, it should not be a bug.
However, the message show that the database access is incorrect, we think you should double check.
Otherwise, please send a support ticket in the contact us form of Opencart.com, we will help you in there.

Hi straightlight,
We think you have a big misunderstand, EV-soft's config.php are empty should be due he/she even did not install yet.

__________________________________________________________________
New web developer in Opencart
Please mention we work at 9:30 am to 18:30 pm in every Monday to Friday.(UTC+8)
PHP5.6 is not possible. Active Support for this version has ended.
My download is retrieved here:
https://www.opencart.com/index.php?rout ... load_id=55
I give up for the moment.
Maybe I try again when an update has been published.
If PHP v5.6 support has ended, use PHP 7.2 or above. It has been proved to work by other posts on the forum.EV-soft wrote: ↑Fri Jan 19, 2018 6:47 pmThank you for clarification.
PHP5.6 is not possible. Active Support for this version has ended.
My download is retrieved here:
https://www.opencart.com/index.php?rout ... load_id=55
I give up for the moment.
Maybe I try again when an update has been published.
The most generated errors being found on Opencart forum originates from contributed programming. The increased post counters are caused by redundancies of the same solutions that were already provided prior.
Regards,
Straightlight
Programmer / Opencart Tester
Users browsing this forum: No registered users and 6 guests