Post by crazymalx » Wed Nov 15, 2017 4:15 pm

hi,

i received this error in my opencart. may i know what causes this?

PHP Warning: mysqli::mysqli(): (HY000/2002): No such file or directory in /home/dnaspo5049/public_html/system/library/db/mysqli.php on line 7

Newbie

Posts

Joined
Wed Sep 20, 2017 11:07 am

Post by straightlight » Wed Nov 15, 2017 10:00 pm

Incomplete files have been uploaded. Use your host file manager to extract the ZIP file, not FTP.

The most generated errors being found on Opencart forum originates from contributed programming.

Regards,
Straightlight


Guru Member
Online

Posts

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

Post by crazymalx » Thu Nov 16, 2017 12:07 pm

the file is there when i open the php look at line 7 it stated db info like db name, password etc

Newbie

Posts

Joined
Wed Sep 20, 2017 11:07 am

Post by straightlight » Thu Nov 16, 2017 9:59 pm

But the namespace prefix name beginning with DB isn't there and the error message reported above is about a missing library file. I would suggest uploading a fresh copy of the Opencart ZIP file using your host file manager - not FTP - and extract the files on a new folder and install Opencart on a new database to see if this issue can be replicated.

The most generated errors being found on Opencart forum originates from contributed programming.

Regards,
Straightlight


Guru Member
Online

Posts

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

Post by crazymalx » Fri Nov 17, 2017 9:32 am

roger, will try it out tonite, hopefully it wont mess up with the current OC

Newbie

Posts

Joined
Wed Sep 20, 2017 11:07 am
Who is online

Users browsing this forum: No registered users and 11 guests