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 ?

Newbie

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.

The most generated errors being found on Opencart forum originates from contributed programming. The increased post counters are caused by redundancies of the same solutions that were already provided prior.


Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member
Online

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 ?

Newbie

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.

The most generated errors being found on Opencart forum originates from contributed programming. The increased post counters are caused by redundancies of the same solutions that were already provided prior.


Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member
Online

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 ?

Newbie

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.

The most generated errors being found on Opencart forum originates from contributed programming. The increased post counters are caused by redundancies of the same solutions that were already provided prior.


Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member
Online

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 ?

Newbie

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.

The most generated errors being found on Opencart forum originates from contributed programming. The increased post counters are caused by redundancies of the same solutions that were already provided prior.


Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member
Online

Posts

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

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

PM sent.

Newbie

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.

The most generated errors being found on Opencart forum originates from contributed programming. The increased post counters are caused by redundancies of the same solutions that were already provided prior.


Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member
Online

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.

Newbie

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.

Newbie

Posts

Joined
Sat Apr 25, 2020 5:13 pm

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

Ok, email sent.

The most generated errors being found on Opencart forum originates from contributed programming. The increased post counters are caused by redundancies of the same solutions that were already provided prior.


Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member
Online

Posts

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

Users browsing this forum: No registered users and 9 guests