Jump to content
Sign in to follow this  
prosp

Ошибка mysql при добавлении товара

Recommended Posts

Версия магазина: opencart 1.5.5.1.1
Изменения вносились
Хостинг у хостера.

Проблема:
При добавлении товара появляется белый экран, так же и при попытке отредактировать товар. Такое ощущение, что столбец куда-то делся
Поиском пользовался, ничего подобного не нашел. 
 
19:16:35 - PHP Notice:  Error: Unknown column 'main_category' in 'field list'<br />Error No: 1054<br />UPDATE oc_product_to_category SET main_category = 1 WHERE product_id = '129' AND category_id = '40' in */system/database/mysql.php on line 51
19:16:40 - PHP Notice:  Error: Unknown column 'main_category' in 'field list'<br />Error No: 1054<br />UPDATE oc_product_to_category SET main_category = 1 WHERE product_id = '130' AND category_id = '40' in */system/database/mysql.php on line 51
19:17:59 - PHP Notice:  Error: Unknown column 'main_category' in 'field list'<br />Error No: 1054<br />UPDATE oc_product_to_category SET main_category = 1 WHERE product_id = '131' AND category_id = '40' in */system/database/mysql.php on line 51
19:18:38 - PHP Notice:  Error: Unknown column 'main_category' in 'where clause'<br />Error No: 1054<br />SELECT category_id FROM oc_product_to_category WHERE product_id = '130' AND main_category = '1' LIMIT 1 in */system/database/mysql.php on line 51
19:19:00 - PHP Notice:  Error: Unknown column 'main_category' in 'where clause'<br />Error No: 1054<br />SELECT category_id FROM oc_product_to_category WHERE product_id = '130' AND main_category = '1' LIMIT 1 in */system/database/mysql.php on line 51
19:19:03 - PHP Notice:  Error: Unknown column 'main_category' in 'where clause'<br />Error No: 1054<br />SELECT category_id FROM oc_product_to_category WHERE product_id = '130' AND main_category = '1' LIMIT 1 in */system/database/mysql.php on line 51
19:21:10 - PHP Notice:  Error: Unknown column 'main_category' in 'where clause'<br />Error No: 1054<br />SELECT category_id FROM oc_product_to_category WHERE product_id = '129' AND main_category = '1' LIMIT 1 in */system/database/mysql.php on line 51
19:21:38 - PHP Notice:  Error: Unknown column 'main_category' in 'where clause'<br />Error No: 1054<br />SELECT category_id FROM oc_product_to_category WHERE product_id = '132' AND main_category = '1' LIMIT 1 in */system/database/mysql.php on line 51
19:22:17 - PHP Notice:  Error: Unknown column 'main_category' in 'where clause'<br />Error No: 1054<br />SELECT category_id FROM oc_product_to_category WHERE product_id = '131' AND main_category = '1' LIMIT 1 in */system/database/mysql.php on line 51
19:24:29 - PHP Notice:  Error: Unknown column 'main_category' in 'where clause'<br />Error No: 1054<br />SELECT category_id FROM oc_product_to_category WHERE product_id = '131' AND main_category = '1' LIMIT 1 in */system/database/mysql.php on line 51
19:26:04 - PHP Notice:  Error: Unknown column 'main_category' in 'field list'<br />Error No: 1054<br />UPDATE oc_product_to_category SET main_category = 1 WHERE product_id = '133' AND category_id = '40' in */system/database/mysql.php on line 51
19:26:08 - PHP Notice:  Error: Unknown column 'main_category' in 'field list'<br />Error No: 1054<br />UPDATE oc_product_to_category SET main_category = 1 WHERE product_id = '134' AND category_id = '40' in */system/database/mysql.php on line 51
19:30:15 - PHP Notice:  Error: Unknown column 'main_category' in 'where clause'<br />Error No: 1054<br />SELECT category_id FROM oc_product_to_category WHERE product_id = '131' AND main_category = '1' LIMIT 1 in */system/database/mysql.php on line 51

Очень прошу помочь. Дампы очень старые.

Share this post


Link to post
Share on other sites

само по себе произошло? или все же что то установили??

Share this post


Link to post
Share on other sites

Устанавливал почти всё через vqmod.

Share this post


Link to post
Share on other sites

Искать модуль, который затрагивает модель product.php админки и анализировать

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

Да, это был сеопро. Спасибо большое, что помогли. Подскажите хороший сео-модуль, а то уже много денег на это потратил. Нужен модуль с кешируемыми запросами.

Share this post


Link to post
Share on other sites

сео про !!! Откройте vqmod и прочитайте инструкцию.

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

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.