Installation 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?
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?
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
The 2 config files are empty because the error occurs before they are initiated!
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?
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
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
Hi EV-soft,
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.
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)
Thank 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.
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.
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
Who is online
Users browsing this forum: No registered users and 135 guests