Post by norspeed » Sat Apr 25, 2020 5:17 pm

Hi.
I am getting the following error: Error: Could not load database file mysqli!
The site worked ok on a shared server, but it won`t work on my VPS, just getting this error

Any idea`s as to why ?

New member

Posts

Joined
Sat Apr 25, 2020 5:13 pm

Post by straightlight » Sat Apr 25, 2020 6:59 pm

Ensure your config.php and admin/config.php database settings are properly configured. In addition, see if you do have the system/library/db/mysqli.php file added. If not, you'll need to download a more recent package from the OC downloads from opencart.com and upload that library file into the folder.

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

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

Post by norspeed » Sat Apr 25, 2020 8:18 pm

Hi. I have a "library" folder, and a file called db.php, in it, but no mysqli.php file in that particular folder, i also have, a folder called "database", i have a file in that folder called mmsql.php and also mysql.php, which one am i missing, if any ?

New member

Posts

Joined
Sat Apr 25, 2020 5:13 pm

Post by straightlight » Sat Apr 25, 2020 8:45 pm

which one am i missing, if any ?
mysqli.php file.

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

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

Post by norspeed » Sat Apr 25, 2020 8:51 pm

So, should i create a folder and call it "db" and then create a file in that called mysqli.php ?

I do have another version of OpenCart, could i get the file from that, or up-load the whole library folder, or just the mysqli.php file to this site ?

New member

Posts

Joined
Sat Apr 25, 2020 5:13 pm

Post by straightlight » Sat Apr 25, 2020 9:46 pm

You simply need to add the mysqli.php file along with the other database libraries you currently have then load the mysqli from both config.php files.

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

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

Post by norspeed » Sat Apr 25, 2020 10:20 pm

If i can`t sort it, can i give you the FTP login details to have a look at it for me, to see what the issue is ?

New member

Posts

Joined
Sat Apr 25, 2020 5:13 pm

Post by straightlight » Sat Apr 25, 2020 10:35 pm

Send me a PM to get this done as a custom job.

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

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

Post by norspeed » Sat Apr 25, 2020 10:39 pm

PM sent.

New member

Posts

Joined
Sat Apr 25, 2020 5:13 pm

Post by straightlight » Sun Apr 26, 2020 12:09 am

I have replied to your PM. Please check your PM messages.

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

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

Post by norspeed » Sun Apr 26, 2020 12:40 am

Hi, could not see a reply via messaging, could you please send reply to norspeed@manx.net, and will then reply to it.

New member

Posts

Joined
Sat Apr 25, 2020 5:13 pm

Post by norspeed » Sun Apr 26, 2020 12:44 am

straightlight wrote:
Sun Apr 26, 2020 12:09 am
I have replied to your PM. Please check your PM messages.
Hi, could not see a reply via messaging, could you please send reply to norspeed@manx.net, and will then reply to it.

New member

Posts

Joined
Sat Apr 25, 2020 5:13 pm

Post by straightlight » Sun Apr 26, 2020 1:03 am

Ok, email sent.

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

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

Users browsing this forum: No registered users and 28 guests