Post by jason2010 » Thu Oct 16, 2014 3:27 am

when trying to install OC 2.0 I get the following error. In the database driver section of the install, there is nothing in the dropdown. should something be showing here for me to select which driver to use? Using PHP 5.4 and MySQL

New member

Posts

Joined
Thu Apr 04, 2013 6:27 am

Post by mitchcastle » Thu Oct 16, 2014 5:22 pm

I am having the exact same problem, please someone help as its getting really annoying now :(

Newbie

Posts

Joined
Thu Oct 16, 2014 5:20 pm

Post by rph » Fri Oct 17, 2014 12:01 am

You need to contact your host and ask them to enable the MySQLi PHP extension.

-Ryan


rph
Expert Member

Posts

Joined
Fri Jan 08, 2010 5:05 am
Location - Lincoln, Nebraska

Post by Daniel » Fri Oct 17, 2014 12:57 am

its a pretty bad host if they don't have mysql db extensions enabled by default.

OpenCart®
Project Owner & Developer.


User avatar
Administrator

Posts

Joined
Fri Nov 03, 2006 6:57 pm

Post by rph » Fri Oct 17, 2014 1:01 am

I agree. Adding checks to the installer would allow blame to be put back on the host where it belongs rather than OpenCart.

-Ryan


rph
Expert Member

Posts

Joined
Fri Jan 08, 2010 5:05 am
Location - Lincoln, Nebraska

Post by Daniel » Fri Oct 17, 2014 4:46 pm

the check is done here:

if (!array_filter(array('mysql', 'mysqli', 'pdo', 'pgsql'), 'extension_loaded')) {
$this->error['warning'] = 'Warning: A database extension needs to be loaded in the php.ini for OpenCart to work!';
}

OpenCart®
Project Owner & Developer.


User avatar
Administrator

Posts

Joined
Fri Nov 03, 2006 6:57 pm

Post by tifosi » Fri Oct 17, 2014 5:24 pm

Just curious about whether the pdo check will be adequate enough to check for whether pdo-mysql is also compiled?

But yes, MySQL & pref mysqli should be standard installs on any php supported host platform.

New member

Posts

Joined
Tue Feb 17, 2009 8:14 am
Who is online

Users browsing this forum: No registered users and 3 guests