Veljko Posted April 20, 2015 Share Posted April 20, 2015 After trying to import the csv file with product in my shop I got the error: [PrestaShopDatabaseException]The database selection cannot be made.at line 41 in file classes/db/MySQL.php 41. throw new PrestaShopDatabaseException(Tools::displayError('The database selection cannot be made.')); I have a problem imoprting more than 20 products in csv file in Prestashop csv import tool. I was thinking that maybe chasters like "/" оr "&" making a problem in the rows of product name in csv tabel and I delete it, but again I have the same error. Also, sometimes I get this error, sometimes I can upload my csv file. Can anybody help with this error? Link to comment Share on other sites More sharing options...
tuk66 Posted April 22, 2015 Share Posted April 22, 2015 The script cannot select the database. It is a fatal issue and I've never seen it. Ask your server admin. if (!$this->set_db($this->database)) throw new PrestaShopDatabaseException(Tools::displayError('The database selection cannot be made.')); Link to comment Share on other sites More sharing options...
Veljko Posted April 22, 2015 Author Share Posted April 22, 2015 Server admin said that problem is not with the server but with the Prestashop. Should I try to recover the shop with some older backup or to try to upgrad on newer version? Can it be a solution? Or which server hosting do you recommend for Prestashop? Link to comment Share on other sites More sharing options...
tuk66 Posted April 22, 2015 Share Posted April 22, 2015 Do not trust him. If your shop sometimes works and sometimes doesn't, it is definitely a host problem. Link to comment Share on other sites More sharing options...
Veljko Posted April 22, 2015 Author Share Posted April 22, 2015 How can I check it? Is there a website or something where I can check my website? Which hosting do you recommend for Presta? Link to comment Share on other sites More sharing options...
Veljko Posted May 28, 2015 Author Share Posted May 28, 2015 I had a problem after hosting crash. Now I changed hosting, made a website again from the begining and now everything works great. The hosting was a great problem for all issues. Link to comment Share on other sites More sharing options...
Recommended Posts