Mlan Posted August 9, 2019 Share Posted August 9, 2019 [PrestaShopException] Cannot select any valid SQL engine. at line 258 in file classes/db/Db.php 253. $class = 'DbPDO'; 254. } elseif (extension_loaded('mysqli')) { 255. $class = 'DbMySQLi'; 256. } 257. if (empty($class)) { 258. throw new PrestaShopException('Cannot select any valid SQL engine.'); 259. } 260. return $class; 261. } 262. /** 263. * Instantiates a database connection. DbCore::getClass - [line 201 - classes/db/Db.php] DbCore::getInstance - [line 48 - config/alias.php] pSQL - [line 339 - classes/shop/Shop.php] - [1 Arguments] ShopCore::initialize - [line 117 - config/config.inc.php] require - [line 27 - index.php] - [1 Arguments] Prestashop version : 1.7 Link to comment Share on other sites More sharing options...
FuenRob Posted September 20, 2019 Share Posted September 20, 2019 Hello You must install the php mysql extensions on your server Regards 1 Link to comment Share on other sites More sharing options...
Mohamed Amin Posted November 30, 2020 Share Posted November 30, 2020 On 9/20/2019 at 1:39 PM, FuenRob said: Hello You must install the php mysql extensions on your server Regards php mysql already installed, but the error is still exists Link to comment Share on other sites More sharing options...
Nishad Posted August 18, 2021 Share Posted August 18, 2021 Me also getting same error. I don't think it is SQL connection issue as my backed is working fine. Anyone please help. Link to comment Share on other sites More sharing options...
przemex Posted October 6, 2021 Share Posted October 6, 2021 Zmniejsz wersję PHP na serwerze do 7.1 Downgrade the PHP version on the server to 7.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