Here is my proposed bugfix which should work for the supplied opencart.sql:
Replace lines 23 to 25 in file /install/model/install.php with this:
Code: Select all
$query = str_replace("DROP TABLE IF EXISTS `oc_", "DROP TABLE IF EXISTS `" . $data['db_prefix'], $query);
$query = str_replace("CREATE TABLE `oc_", "CREATE TABLE `" . $data['db_prefix'], $query);
$query = str_replace("INSERT INTO `oc_", "INSERT INTO `" . $data['db_prefix'], $query);