Jump to content

PHP7 ERROR


MathiasReker

Recommended Posts

Hello,

 

MySQL version 10.1.6-MariaDB-cll-lve

PrestaShop version 1.6.1.6

 

When I upgrade to PHP 7.0.8, my prestashop turn into white screen.

 

In error log I got the following:

PHP Fatal error:  Uncaught Error: Call to undefined function mysql_connect() in /home/**********/public_html/classes/db/MySQL.php:51
Stack trace:
#0 /home/shinetec/public_html/classes/db/Db.php(319): MySQLCore->connect()
#1 /home/shinetec/public_html/classes/db/Db.php(239): DbCore->__construct('localhost', '**********', '**********', '**********')
#2 /home/shinetec/public_html/config/alias.php(66): DbCore::getInstance()
#3 /home/shinetec/public_html/classes/shop/Shop.php(329): pSQL('**********')
#4 /home/shinetec/public_html/config/config.inc.php(114): ShopCore::initialize()
#5 /home/shinetec/public_html/index.php(27): require('**********')
#6 {main}
  thrown in /home/shinetec/public_html/classes/db/MySQL.php on line 51

Theme should be compatibel with PHP7.

 

Any fix for this?

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...