Post by jws15 » Fri Aug 11, 2017 10:24 am

Hi, I'm trying out opencart, but during install step 3, I get these errors:
Warning: mysqli::__construct(): (HY000/1698): Access denied for user 'root'@'localhost' in /var/www/html/system/library/db/mysqli.php on line 7Warning: DB\MySQLi::__construct(): Couldn't fetch mysqli in /var/www/html/system/library/db/mysqli.php on line 10Warning: DB\MySQLi::__construct(): Couldn't fetch mysqli in /var/www/html/system/library/db/mysqli.php on line 10Notice: Undefined variable: mysql in /var/www/html/install/controller/install/step_3.php on line 280Notice: Trying to get property of non-object in /var/www/html/install/controller/install/step_3.php on line 280

any idea what I'm doing wrong?

Newbie

Posts

Joined
Fri Aug 11, 2017 10:19 am

Post by straightlight » Wed Nov 15, 2017 6:27 am

Check your username and password in your host console under the databases icon. Your Opencart config.php and admin/config.php files needs to be configured with the right database credentials.

The most generated errors being found on Opencart forum originates from contributed programming.

Regards,
Straightlight


Guru Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON
Who is online

Users browsing this forum: No registered users and 12 guests