Post by hslee5 » Tue Nov 26, 2019 5:18 pm

Hi all, my website was down.

Here is where the error shown on my website.
Fatal error: Uncaught Error: Call to undefined function mysql_connect() in /home/orange2y/public_html/system/database/mysql.php:7 Stack trace: #0 /home/orange2y/public_html/vqmod/vqcache/vq2-system_library_db.php(13): DBMySQL->__construct('localhost', 'orange2y_ocar16...', 'abc123ZZ#', 'orange2y_ocar16...') #1 /home/orange2y/public_html/index.php(46): DB->__construct('mysql', 'localhost', 'orange2y_ocar16...', 'abc123ZZ#', 'orange2y_ocar16...') #2 {main} thrown in /home/orange2y/public_html/system/database/mysql.php on line 7

I was told by my hosting provider
As per checking, the PHP version that your website is previously running is on version 7.2 which is not compatible with your current website scripts.

Therefore, you are required to check with your website developer and make sure that your website is able to run with the PHP version 7.2 with the MySQLi connection instead of MySQL.

May I know how can I solve that issue by myself? As my website developer is no longer running the business.

If anyone know how to solve it, can you please help me, really appreciate if you can help me.



Tue Dec 30, 2014 5:38 pm

Post by johnp » Tue Nov 26, 2019 9:21 pm

This has been covered plenty of times. Either upload the library file for PHP7 or ask your host to roll back PHP on your account to 5.6.

Opencart Bootstrap Pro/VQMOD 2.6.1 lover, user and geek.
Fast Service for Opencart Installs, Fixing, Development and Upgrades
Plus Ecommerce, Marketing, Mailing List Management and More

User avatar
Active Member


Fri Mar 25, 2011 10:25 am
Location - Surrey, UK
Who is online

Users browsing this forum: Bing [Bot] and 9 guests