Jump to content

Upgraded PHP, now Front End Error


Recommended Posts

I upgraded to PHP 7.2, but now I have an error on the front end--even when changing to previous versions of PHP.

I am running the latest version of Prestashop and the backend still functions as it should--I can even download a backup of the database--so I assume it is connecting properly there.

I have verified that the mysqli extension is installed for all PHP versions but no luck

The error I am getting is:

Cannot select any valid SQL engine.
at line 302 in file classes/db/Db.php

297. } elseif (extension_loaded('mysqli')) { 298. $class = 'DbMySQLi'; 299. } 300. 301. if (empty($class)) { 302. throw new PrestaShopException('Cannot select any valid SQL engine.'); 303. } 304. 305. return $class; 306. } 307.

DbCore::getClass - [line 236 - classes/db/Db.php]

DbCore::getInstance - [line 47 - config/alias.php]

pSQL - [line 340 - classes/shop/Shop.php] - [1 Arguments]

ShopCore::initialize - [line 119 - config/config.inc.php]

require - [line 27 - index.php] - [1 Arguments]

 

Any help is very much appreciated,

Thank you!

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...