Исключение / ошибка (DBException)
Основные сведения
Текст ошибки: | Duplicate entry 'e9a65273fb4fc36f78f5d302bc565bac' for key 'cachekey_idx' / INSERT INTO `production_products_custompricecache` SET `cachekey`='e9a65273fb4fc36f78f5d302bc565bac', `cachevalue`='1815', `createdate`='2024-11-21 18:21:09', `productid`='8', `configuration`='array (\n \'width\' => \'90\',\n \'height\' => \'50\',\n \'amount\' => 2000,\n \'processgroups\' => \n array (\n \'groupm_print\' => \n array (\n \'enabled\' => true,\n \'processid\' => 126,\n \'resources\' => \n array (\n ),\n \'resourcegroups\' => \n array (\n ),\n ),\n ),\n \'title\' => \'\',\n \'pricetype\' => 1,\n \'urgencytype\' => 0,\n \'additionalmargin\' => 0,\n \'client_title\' => \'Визитки (офсетная печать)\',\n \'description\' => \'\',\n \'processes\' => \n array (\n \'groupm_laminat\' => \n array (\n \'resources\' => \n array (\n ),\n \'resourcegroups\' => \n array (\n ),\n \'processid\' => \'125\',\n \'enabled\' => false,\n ),\n \'groupm_drill\' => \n array (\n \'resources\' => \n array (\n ),\n \'resourcegroups\' => \n array (\n ),\n \'processid\' => \'122\',\n \'enabled\' => false,\n ),\n \'groupm_round\' => \n array (\n \'resources\' => \n array (\n ),\n \'resourcegroups\' => \n array (\n ),\n \'processid\' => \'123\',\n \'enabled\' => false,\n ),\n ),\n)' / Duplicate entry 'e9a65273fb4fc36f78f5d302bc565bac' 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(1815) #3 /var/www/printdesign.ru/data/www/printdesign.ru/mastercalculaters/mclcvizitka.class.php(152): MProductionProductGroupM->calculate() #4 /var/www/printdesign.ru/data/www/printdesign.ru/widgetcontrollers/commerce/wmastercalculater.class.php(141): MCLCVizitka->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} |