Back to Global Site
Latest Topics Top Commented

Problem with modules

J

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?

0
N

Try to change your PHP-version. 3

2
M

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);
0
J
Myprestamodules
at 2018-08-09 16:22

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!

0
M
Myprestamodules
at 2018-08-13 14:01

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);

0
Leave a Reply to This Topic
Created by
J
2018-08-09
Last reply
M
13 August, 14:01
Total Replies
4