Post by fluid » Mon Jul 20, 2020 5:07 pm

After upgrading the PHP version on the server from 5.6.40 to 7.3.20 my opencart store is no longer loading and the error log shows as below:

[Mon Jul 20 09:44:22 2020] [warn] [client 0.0.0.0] mod_fcgid: stderr: PHP Warning: "continue 2" targeting switch is equivalent to "break 2". Did you mean to use "continue 3"? in /var/www/vhosts/domain.com/httpdocs/vqmod/vqmod.php on line 591
[Mon Jul 20 09:44:22 2020] [warn] [client 0.0.0.0] mod_fcgid: stderr: PHP Fatal error: Uncaught Error: Call to undefined function mysql_connect() in /var/www/vhosts/domain.com/httpdocs/system/database/mysql.php:6
[Mon Jul 20 09:44:22 2020] [warn] [client 0.0.0.0] mod_fcgid: stderr: Stack trace:
[Mon Jul 20 09:44:22 2020] [warn] [client 0.0.0.0] mod_fcgid: stderr: #0 /var/www/vhosts/domain.com/httpdocs/vqmod/vqcache/vq2-system_library_db.php(13): DBMySQL->__construct('localhost', 'databasename, 'password', 'table')
[Mon Jul 20 09:44:22 2020] [warn] [client 0.0.0.0] mod_fcgid: stderr: #1 /var/www/vhosts/domain.com/httpdocs/admin/index.php(41): DB->__construct('mysql', 'localhost', 'databasename, 'password', 'table')
[Mon Jul 20 09:44:22 2020] [warn] [client 0.0.0.0] mod_fcgid: stderr: #2 {main}
[Mon Jul 20 09:44:22 2020] [warn] [client 0.0.0.0] mod_fcgid: stderr: thrown in /var/www/vhosts/domain.com/httpdocs/system/database/mysql.php on line 6

Could anyone give me any guidance on the above error and how I can remedy it as I need to update the PHP version on the server in order for me to run another application.

Newbie

Posts

Joined
Fri Jun 15, 2018 4:40 pm

Post by johnp » Mon Jul 20, 2020 5:28 pm

What version of Vqmod are you using? When I upgrade 1.5 to work on PHP7 I change the encryption file and Vqmod to 2.6.4 and all works fine.

Opencart 1.5.6.5/OC Bootstrap Pro/VQMOD 2.6.1 lover, user and geek.
Affordable Service £££ - Opencart Installs, Fixing, Development and Upgrades
Plus Ecommerce, Marketing, Mailing List Management and More
FREE Guidance and Advice at https://www.ecommerce-help.co.uk


User avatar
Active Member

Posts

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

Users browsing this forum: No registered users and 14 guests