A
A
Anatoly Filippov2016-07-05 12:31:13
CMS
Anatoly Filippov, 2016-07-05 12:31:13

Why is custom product tab not being placed in ocstore 2?

Hey! I'm trying to put this module on the default theme. Just through the installer says that everything is OK, but it does not appear anywhere. just copied the files to ftp - started swearing

Fatal error: Cannot redeclare ModelCatalogProduct::getProductTabs() in /var/www/vhosts/u0189501.plsk.regruhosting.ru/miruyta.com/vqmod/vqcache/vq2-catalog_model_catalog_product.php on line 514

I delete *.xml everything starts working, but another error occurs when I open the product card:
Notice: Error: Table 'u0189501_pres220.tab_description' doesn't exist
Error No: 1146
SELECT pt.product_id, pt.tab_id, td.name FROM product_tab pt LEFT JOIN tab_description td ON (pt.tab_id = td.tab_id) WHERE pt.product_id = '809' AND td.language_id = '1' GROUP BY pt.tab_id in /var/www/vhosts/u0189501.plsk.regruhosting.ru/miruyta.com/system/library/db/mysqli.php on line 41Notice: Trying to get property of non-object in /var/www/vhosts/u0189501.plsk.regruhosting.ru/miruyta.com/vqmod/vqcache/vq2-admin_model_catalog_product.php on line 561Warning: Invalid argument supplied for foreach() in /var/www/vhosts/u0189501.plsk.regruhosting.ru/miruyta.com/vqmod/vqcache/vq2-admin_model_catalog_product.php on line 561

Naturally, tabs are not added.
Should I manually add the table "u0189501_pres220.tab_description" ?
joxi.ru/82Qe0YgU6EXl2d

Answer the question

In order to leave comments, you need to log in

1 answer(s)
W
web-mechanic, 2016-07-09
@amfetamine

Fatal error: Cannot redeclare ModelCatalogProduct::getProductTabs()
- you have a method override, maybe you manually added the method to the model and yes - create a table, just make a backup before that

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question