thespecv Posted October 31, 2019 Share Posted October 31, 2019 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 More sharing options...
thespecv Posted November 4, 2019 Author Share Posted November 4, 2019 Just checking in again to see if anyone could provide some insight. Thank you! Link to comment Share on other sites More sharing options...
El Patron Posted November 5, 2019 Share Posted November 5, 2019 please post your php info here, create a file on in your root files with <?php phpinfo(); it's very odd you can access the admin and issue is only on front end. Link to comment Share on other sites More sharing options...
thespecv Posted November 5, 2019 Author Share Posted November 5, 2019 El Patron, Here is the current php info: https://fotcnc.net/phpinfo.php Thank you for the help. Link to comment Share on other sites More sharing options...
thespecv Posted November 7, 2019 Author Share Posted November 7, 2019 Just an update, figured this one out. Although PHP with packages was installed, Mcrypt for whatever reason was not. After manually installing Mcrypt, functionality returned. 1 Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now