I have problem for installation OpenCart in cPanel with Softacolous, when I\'m finished for install and during open the site I have message:
Fatal error: Class \
In cPanel, just goto your php version, make sure you are on 7.3 and enable nd_mysqli. That fixed it for me.
Please install mysqli
into your centos server .
To install mysqli using EachApache:
Install the following php extensions:
Curl ZIP Zlib GD Library Mcrypt Mbstrings Xml
The error should go if the extensions are available on the server. I hope this solves your issue and anyone facing a similar issue. Most times the error is not from oc, it's a server error because of the required OC modules that are not available.
Don't forget to restart apache2 after installing the modules.
Check this, if it solves your problem.
I recently faced the same issue, that Class mysqli not found. And found out that this particular issue is not related to OpenCart. It is related to the PHP version that your OpenCart is using and the PHP version that your server is supporting.
So make sure sure PHP version mentioned during configuration is matched with PHP version that your server is running.
In my case my server was running PHP 7.4 and OpenCart was configured for PHP 7.3. So the problem was solved by changing my server's PHP version to 7.3.
And lived Happily forever after....