Исключение / ошибка (DBException)
Основные сведения
Текст ошибки: | Duplicate entry 'faffafd26544744cd5179a601e6b02c8' for key 'cachekey_idx' / INSERT INTO `production_products_custompricecache` SET `cachekey`='faffafd26544744cd5179a601e6b02c8', `cachevalue`='5304', `createdate`='2024-11-21 18:23:52', `productid`='5', `configuration`='array (\n \'width\' => \'148\',\n \'height\' => \'105\',\n \'amount\' => 8000,\n \'processgroups\' => \n array (\n \'groupm_print\' => \n array (\n \'enabled\' => true,\n \'resources\' => \n array (\n \'print\' => \n array (\n \'enabled\' => true,\n \'resourceid\' => 17,\n ),\n ),\n \'resourcegroups\' => \n array (\n \'groupm_paper\' => \n array (\n \'enabled\' => true,\n \'resourceid\' => 13,\n ),\n ),\n \'processid\' => 8,\n ),\n ),\n \'title\' => \'\',\n \'pricetype\' => 1,\n \'urgencytype\' => 0,\n \'additionalmargin\' => 0,\n \'client_title\' => \'Листовки (офсетная печать)\',\n \'description\' => \'\',\n \'processes\' => \n array (\n \'prepare\' => \n array (\n \'resources\' => \n array (\n ),\n \'resourcegroups\' => \n array (\n ),\n \'processid\' => \'17\',\n \'enabled\' => true,\n ),\n \'groupm_drill\' => \n array (\n \'resources\' => \n array (\n ),\n \'resourcegroups\' => \n array (\n ),\n \'processid\' => \'92\',\n \'enabled\' => false,\n ),\n \'groupm_round\' => \n array (\n \'resources\' => \n array (\n ),\n \'resourcegroups\' => \n array (\n ),\n \'processid\' => \'93\',\n \'enabled\' => false,\n ),\n ),\n)' / Duplicate entry 'faffafd26544744cd5179a601e6b02c8' for key 'cachekey_idx' |
Файл: | /var/www/printdesign.ru/data/www/core/common/db/db.class.php (167) |
Часть кода: | #0 /var/www/printdesign.ru/data/www/core/common/db/dbabstraction.class.php(348): Common\DB\DB->insert('base', 'INSERT INTO `pr...') #1 /var/www/printdesign.ru/data/www/base.printsource.ru/models/production/mproductionproduct.class.php(205): Common\DB\DBAbstraction->insert('base', 'production_prod...', Array) #2 /var/www/printdesign.ru/data/www/base.printsource.ru/models/production/customproducts/mproductionproductgroupm.class.php(25): MProductionProduct->saveCustomPriceToCache(5304) #3 /var/www/printdesign.ru/data/www/printdesign.ru/mastercalculaters/mclclistovka.class.php(179): MProductionProductGroupM->calculate() #4 /var/www/printdesign.ru/data/www/printdesign.ru/widgetcontrollers/commerce/wmastercalculater.class.php(141): MCLCListovka->calculate() #5 /var/www/printdesign.ru/data/www/printdesign.ru/widgetcontrollers/common/wheader.class.php(119): WMasterCalculater->render() #6 /var/www/printdesign.ru/data/www/core/common/pagecontroller.class.php(234): WHeader->render() #7 /var/www/printdesign.ru/data/www/printdesign.ru/index.php(33): Common\PageController->render() #8 {main} |