Post by engagelondon » Sun Oct 08, 2017 1:48 am

Hi
Am attempting a 100% fresh install of ver 2.3.0.2

After uploading the files and starting the config - I get to page 3/4

the DB Driver dropdown offers me mPDO - and nothing else ( I was expecting to see MySQL or similar)

Using the mPDO option results in error message " Failed to connect to database. Reason: 'could not find driver' "

my ISP tells me I'm running MySQLi - so a bit stuck

Any suggestions gratefully received

Newbie

Posts

Joined
Tue May 10, 2016 4:28 pm

Post by yodapt » Sun Oct 08, 2017 1:51 am

Try creating a file like phpinfo.php in your root directory, and place this code inside :

Code: Select all

<?php phpinfo(); 
Then show the link here, so we can check what's going on.

Opencart Developer - My Extension Showcase
Contact me at aeon.yoda@gmail.com


User avatar
Active Member

Posts

Joined
Fri Jun 17, 2011 6:39 pm


Newbie

Posts

Joined
Tue May 10, 2016 4:28 pm

Post by yodapt » Sun Oct 08, 2017 2:21 am

Seems like mysqli is installed, it's strange that it doesn show up.

Try this, inside that file you just created, replace the code with this one :

Code: Select all

<?php
print_r(get_loaded_extensions());
?>

Opencart Developer - My Extension Showcase
Contact me at aeon.yoda@gmail.com


User avatar
Active Member

Posts

Joined
Fri Jun 17, 2011 6:39 pm


Post by engagelondon » Sun Oct 08, 2017 2:26 am

Indeed - I've wasted a day with this - last time I installed OC was around version 1.5 and it was really easy

file updated - thanks!

Newbie

Posts

Joined
Tue May 10, 2016 4:28 pm

Post by yodapt » Sun Oct 08, 2017 2:51 am

Looks like mysqlnd is installed instead of mysql, which is the same. For some reason mysqli isnt listed, but I assume it is there, so try this :

edit install/controller/install/step_3.php, line 230 :

Code: Select all

$data['mysqli'] = extension_loaded('mysqli');
to

Code: Select all

$data['mysqli'] = true;

Opencart Developer - My Extension Showcase
Contact me at aeon.yoda@gmail.com


User avatar
Active Member

Posts

Joined
Fri Jun 17, 2011 6:39 pm


Post by engagelondon » Sun Oct 08, 2017 2:57 am

Now - thats better!

Before I go too far down this road - as its a fresh install - should i stay with this version or go to 3.0.2.0?

I tried installing ver 3 earlier but was having the same issue.

I ask as your obviously an expert - and I REALLY appreciate your help on this

Newbie

Posts

Joined
Tue May 10, 2016 4:28 pm

Post by yodapt » Sun Oct 08, 2017 3:14 am

Version 3.x is recent, there arent as much modules / extensions for it yet, and there are several bugs (too many) yet officially unsolved. I dont see any reason to recommend it, I guess it's a matter of choice, maybe it has a couple features out of the box that you really need, but probably you dont.

Opencart Developer - My Extension Showcase
Contact me at aeon.yoda@gmail.com


User avatar
Active Member

Posts

Joined
Fri Jun 17, 2011 6:39 pm


Post by engagelondon » Sun Oct 08, 2017 3:49 am

I hear you

The install continues to fall over - I get to stage 3, give it my details and it then falls over to a white screen.

I may well suggest my client looks elsewhere, an installer that falls over hardly inspires confidence

Thanks for your help however.

Newbie

Posts

Joined
Tue May 10, 2016 4:28 pm

Post by yodapt » Sun Oct 08, 2017 5:14 am

I would suggest you talk with the hosting company about it, it's the first time I encounter such issue in 8 years.

Opencart Developer - My Extension Showcase
Contact me at aeon.yoda@gmail.com


User avatar
Active Member

Posts

Joined
Fri Jun 17, 2011 6:39 pm


Post by engagelondon » Sun Oct 08, 2017 5:46 am

:) If i could describe the problem I would :)

Newbie

Posts

Joined
Tue May 10, 2016 4:28 pm

Post by yodapt » Sun Oct 08, 2017 6:35 am

The problem is that your PHP version doesnt show mysqli installed in it's environment, and thus you are unable to use it in your applications.

Alternatively, if you want I can assist you directly if you give me access, to see if I can work around the problem. Drop me an email if you want.

Opencart Developer - My Extension Showcase
Contact me at aeon.yoda@gmail.com


User avatar
Active Member

Posts

Joined
Fri Jun 17, 2011 6:39 pm


Post by engagelondon » Sun Oct 08, 2017 7:05 pm

Hi - Thanks for the offer

I've had a moan with my server people - let them do some work!

Newbie

Posts

Joined
Tue May 10, 2016 4:28 pm

Post by tonkp » Mon Oct 09, 2017 12:47 pm

Thanks for the info



sbobet

Newbie

Posts

Joined
Fri Sep 08, 2017 3:41 pm
Who is online

Users browsing this forum: No registered users and 5 guests