Problem with modules
Hello friends!
I ask help or assistance to understand with a problem-already all checked up but the problem does not dare! can anyone know how to solve it?
module CMS block - gives a fatal error:
[PrestaShop] Fatal error in module file :/home/admin/web/g-torg.com/public_html/classes/db/DbPDO.php:
Call to a member function rowCount() on boolean
When trying to install another template, you get an error of 500... I do not understand how to solve it. Anyone can tell me what to do without reinstall the entire PrestaShop?
In version 1.6.1.18, such a bug gives a bug.
To fix this, open modules/themeconfigurator/themeconfigurator.php
And at line 397:
Db::getInstance()->delete(DB_PREFIX.'themeconfigurator', 'id_item = '.(int)$id_item);
change to:
Db::getInstance()->delete('themeconfigurator', 'id_item = '.(int)$id_item);
In version 1.6.1.18, such a bug gives a bug.
To fix this, open modules/themeconfigurator/themeconfigurator.php
And at line 397:
Db::getInstance()->delete(DB_PREFIX.'themeconfigurator', 'id_item = '.(int)$id_item);
change to:
Db::getInstance()->delete('themeconfigurator', 'id_item = '.(int)$id_item);
Thanks, it helps!
In version 1.6.1.18, such a bug gives a bug.
To fix this, open modules/themeconfigurator/themeconfigurator.php
And at line 397:
Db::getInstance()->delete(DB_PREFIX.'themeconfigurator', 'id_item = '.(int)$id_item);change to:
Db::getInstance()->delete('themeconfigurator', 'id_item = '.(int)$id_item);