Jump to content
Sign in to follow this  
n3bo

Ошибка

Recommended Posts

Помогите решить ошибку. Что она значит плнимаю, но как правильнее будет ее исправиьь? добавить таблицу или же найти код который ее требует?

Модулей не ставил, только шаблон.

1.5.6.4

Fatal error: Uncaught exception 'ErrorException' with message 'Error: Table 'u123612441_sv.sv_product_tab' doesn't exist<br />Error No: 1146<br />SELECT t.tab_id, td.name, pt.text, t.position, t.show_empty FROM sv_product_tab pt LEFT JOIN sv_tab t ON (pt.tab_id = t.tab_id) LEFT JOIN sv_tab_description td ON (t.tab_id = td.tab_id) WHERE pt.product_id = '42' AND td.language_id = '2' AND pt.language_id = '2' AND t.status = '1' AND ( t.show_empty = '1' OR NOT pt.text REGEXP '^[[:space:]]*$' ) ORDER BY t.position, t.sort_order, td.name' in /home/u123612441/public_html/system/database/mysqli.php:41 Stack trace: #0 /home/u123612441/public_html/vqmod/vqcache/vq2-system_library_db.php(20): DBMySQLi->query('SELECT t.tab_id...') #1 /home/u123612441/public_html/vqmod/vqcache/vq2-catalog_model_catalog_product.php(978): DB->query('SELECT t.tab_id...') #2 /home/u123612441/public_html/vqmod/vqcache/vq2-catalog_controller_product_product.php(455): ModelCatalogProduct->getProductTabs('42') #3 [internal function]: ControllerProductProduct-> in /home/u123612441/public_html/system/database/mysqli.php on line 41

Share this post


Link to post
Share on other sites

Смотря что вы хотите получить в результате. Если хотите чтобы работал код который требует таблицу то надо добавить таблицу

Share this post


Link to post
Share on other sites

а какие столбцы?

Share this post


Link to post
Share on other sites

а какие столбцы?

SELECT t.tab_id, td.name, pt.text, t.position, t.show_empty FROM sv_product_tab pt LEFT JOIN sv_tab t ON (pt.tab_id = t.tab_id) LEFT JOIN sv_tab_description td ON (t.tab_id = td.tab_id) WHERE pt.product_id = '42' AND td.language_id = '2' AND pt.language_id = '2' AND t.status = '1' AND ( t.show_empty = '1' OR NOT pt.text REGEXP '^[[:space:]]*$' ) ORDER BY t.position, t.sort_order, td.name'

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
You are posting as a guest. If you have an account, please sign in.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×

Important Information

On our site, cookies are used and personal data is processed to improve the user interface. To find out what and what personal data we are processing, please go to the link. If you click "I agree," it means that you understand and accept all the conditions specified in this Privacy Notice.