Unknown column 'option_group' in 'where clause'

Issue #58 invalid
Nikolai Latskov created an issue

в корзине обновляешь кол-во, пишет

Файл (file): /home/test1.ru/include/kernel.class.php
GET запрос (GET request):/korzina.html
Строка (String): 3674 (kernel->runSQL)
SQL запрос (SQL query):
'UPDATE `sf_catalog_catalog1_basket_items` SET `qty`='1' WHERE orderid = 10392277 AND itemid = 931107 AND `option_group` = 0 AND `choice` = 0'

Comments (3)

  1. rinat rinat

    Сайт чистый или обновлял вручную? Там несколько новых полей появились, в инсталляторе - все хорошо.

    CREATE TABLE `%PREFIX%_catalog_catalog1_basket_items` (
      `id` int(5) unsigned NOT NULL auto_increment,
      `orderid` int(5) unsigned NOT NULL,
      `itemid` int(5) unsigned NOT NULL,
      `qty` int(5) unsigned NOT NULL,
      `option_group` int(5) unsigned DEFAULT '0',
      `choice` int(5) unsigned DEFAULT '0',
      PRIMARY KEY  (`id`),
      KEY `orderid` (`orderid`)
    ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
    
  2. Log in to comment