Lunar Posted March 18, 2018 Share Posted March 18, 2018 I try to delete any of the images of the default theme, like these, and I receive this error: [PrestaShop] Fatal error in module file :/home/efeito5/public_html/katkay.com/store/classes/db/DbPDO.php: Call to a member function rowCount() on boolean How do I solve that? thanks. Link to comment Share on other sites More sharing options...
selectshop.at Posted March 18, 2018 Share Posted March 18, 2018 Your recently upgraded your shop from an older Prestashop version ? Activate debug mode and read the errors coming there when you try to delete the images. Perhaps there are ps_tables missing on your database. If you are having a database exception error saying that ps_ps_themeconfigurator table is missing, so please apply this workaround. It is a bug on Prestashop 1.6.1.18. http://forge.prestashop.com/browse/PSCSX-9778 Open the file modules/themeconfigurator/themeconfigurator.php. On line 397, you have: Db::getInstance()->delete(DB_PREFIX.'themeconfigurator', 'id_item = '.(int)$id_item); Replace with: Db::getInstance()->delete('themeconfigurator', 'id_item = '.(int)$id_item); Then save the file. Link to comment Share on other sites More sharing options...
Lunar Posted March 19, 2018 Author Share Posted March 19, 2018 SIMPLY P E R F E C T! You are a genius, thanks! Prestashop is new to me. This is my second day dealing with it after installing. I am sill exploring it and I am loving Prestashop. Thanks again. 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