Post by wends64 » Sat Nov 09, 2019 7:52 pm

I returned from my holiday to find no order for days, when i went to log in I bot this message.
Fatal error: Uncaught Error: Call to undefined function DB\mysql_connect() in /home/penruxco/public_html/system/library/db/mysql.php:7 Stack trace: #0 /home/penruxco/public_html/system/library/db.php(9): DB\MySQL->__construct('localhost', 'penruxco_penrux', '6K9S9@pn[P', 'penruxco_penrux', '3306') #1 /home/penruxco/public_html/system/framework.php(36): DB->__construct('mysql', 'localhost', 'penruxco_penrux', '6K9S9@pn[P', 'penruxco_penrux', '3306') #2 /home/penruxco/public_html/system/startup.php(124): require_once('/home/penruxco/...') #3 /home/penruxco/public_html/admin/index.php(19): start('admin') #4 {main} thrown in /home/penruxco/public_html/system/library/db/mysql.php on line 7

The last thing I did to site was to change the number of items available on one listing. Nothing was changed.I have no idea on how to put right.
The person I paid to create the site 2 years + ago seems to have ceased trading.

Newbie

Posts

Joined
Wed Mar 21, 2018 11:49 pm

Post by IP_CAM » Sun Nov 10, 2019 12:06 am

in your both config.php Files (SHOP ROOT + ADMIN)
change:
define('DB_DRIVER', 'mysql');
to:
define('DB_DRIVER', 'mysqli');
then it should work again.
Ernie

I'm rarely active at the OC Forum lately. To reach me, contact: jti@jacob.ch
A Demoversion of my free OpenCart LIGHT v.1.5.6.5 Software Edition
can be seen in real Action here: http://www.jti.li/shop/
---
1'300+ FREE OC Extension-Repositories - from OC v.1.5.x up,
on the world's largest OC-related Github Site: https://github.com/IP-CAM
---
Image


User avatar
Legendary Member

Posts

Joined
Tue Mar 04, 2014 1:37 am
Location - Switzerland
Who is online

Users browsing this forum: No registered users and 28 guests