# | Time | Since previous | Level | Category | Message |
---|---|---|---|---|---|
1 | 21:17:07.644 | < 0ms > | trace | yii\base\Application::bootstrap | Bootstrap with yii\log\Dispatcher |
2 | 21:17:07.644 | trace | yii\base\Module::getModule | Loading module: gii | |
3 | 21:17:07.644 | trace | yii\base\Application::bootstrap | Bootstrap with yii\gii\Module::bootstrap() | |
4 | 21:17:07.645 | trace | yii\base\Module::getModule | Loading module: debug | |
5 | 21:17:07.646 | trace | yii\redis\Connection::open | Opening redis DB connection: tcp://127.0.0.1:6379, database=0 | |
6 | 21:17:07.646 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SELECT | |
7 | 21:17:07.646 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET | |
8 | 21:17:07.646 | info | yii\web\Session::open | Session started | |
9 | 21:17:07.646 | trace | yii\base\Application::bootstrap | Bootstrap with yii\debug\Module::bootstrap() | |
10 | 21:17:07.646 | trace | yii\base\Application::bootstrap | Bootstrap with app\components\SkAssetsAutoCompress::bootstrap() | |
11 | 21:17:07.646 | info | yii\db\Command::query | SELECT * FROM languages WHERE visible=1 ORDER BY sort_order | |
12 | 21:17:07.646 | info | yii\db\Connection::open | Opening DB connection: mysql:host=localhost;port=3306;dbname=lurex | |
13 | 21:17:07.647 | info | yii\db\Command::query | SELECT MAX(updated_at) FROM languages | |
14 | 21:17:07.647 | trace | yii\db\Command::query | Saved query result in cache | |
15 | 21:17:07.647 | info | yii\db\Command::query | SELECT MAX(updated_at) FROM languages | |
16 | 21:17:07.648 | info | yii\db\Command::query | SHOW FULL COLUMNS FROM `redirects` | |
17 | 21:17:07.648 | info | yii\db\Command::query | SELECT `kcu`.`CONSTRAINT_NAME` AS `constraint_name`, `kcu`.`COLUMN_NAME` AS `column_name`, `kcu`.`REFERENCED_TABLE_NAME` AS `referenced_table_name`, `kcu`.`REFERENCED_COLUMN_NAME` AS `referenced_column_name` FROM `information_schema`.`REFERENTIAL_CONSTRAINTS` AS `rc` JOIN `information_schema`.`KEY_COLUMN_USAGE` AS `kcu` ON ( `kcu`.`CONSTRAINT_CATALOG` = `rc`.`CONSTRAINT_CATALOG` OR (`kcu`.`CONSTRAINT_CATALOG` IS NULL AND `rc`.`CONSTRAINT_CATALOG` IS NULL) ) AND `kcu`.`CONSTRAINT_SCHEMA` = `rc`.`CONSTRAINT_SCHEMA` AND `kcu`.`CONSTRAINT_NAME` = `rc`.`CONSTRAINT_NAME` WHERE `rc`.`CONSTRAINT_SCHEMA` = database() AND `kcu`.`TABLE_SCHEMA` = database() AND `rc`.`TABLE_NAME` = 'redirects' AND `kcu`.`TABLE_NAME` = 'redirects' | |
18 | 21:17:07.649 | info | yii\db\Command::query | SELECT * FROM `redirects` WHERE `from`='/tape/index/14' | |
19 | 21:17:07.649 | trace | yii\web\Application::handleRequest | Route requested: 'shop/tape/index' | |
20 | 21:17:07.649 | trace | yii\base\Module::getModule | Loading module: shop | |
21 | 21:17:07.649 | info | yii\db\Command::query | SELECT * FROM `shop_currency` WHERE `id`=1 | |
22 | 21:17:07.649 | info | yii\db\Command::query | SHOW FULL COLUMNS FROM `shop_currency` | |
23 | 21:17:07.650 | info | yii\db\Command::query | SELECT `kcu`.`CONSTRAINT_NAME` AS `constraint_name`, `kcu`.`COLUMN_NAME` AS `column_name`, `kcu`.`REFERENCED_TABLE_NAME` AS `referenced_table_name`, `kcu`.`REFERENCED_COLUMN_NAME` AS `referenced_column_name` FROM `information_schema`.`REFERENTIAL_CONSTRAINTS` AS `rc` JOIN `information_schema`.`KEY_COLUMN_USAGE` AS `kcu` ON ( `kcu`.`CONSTRAINT_CATALOG` = `rc`.`CONSTRAINT_CATALOG` OR (`kcu`.`CONSTRAINT_CATALOG` IS NULL AND `rc`.`CONSTRAINT_CATALOG` IS NULL) ) AND `kcu`.`CONSTRAINT_SCHEMA` = `rc`.`CONSTRAINT_SCHEMA` AND `kcu`.`CONSTRAINT_NAME` = `rc`.`CONSTRAINT_NAME` WHERE `rc`.`CONSTRAINT_SCHEMA` = database() AND `kcu`.`TABLE_SCHEMA` = database() AND `rc`.`TABLE_NAME` = 'shop_currency' AND `kcu`.`TABLE_NAME` = 'shop_currency' | |
24 | 21:17:07.651 | info | yii\db\Command::query | SHOW FULL COLUMNS FROM `shop_currency_lang` | |
25 | 21:17:07.651 | info | yii\db\Command::query | SELECT `kcu`.`CONSTRAINT_NAME` AS `constraint_name`, `kcu`.`COLUMN_NAME` AS `column_name`, `kcu`.`REFERENCED_TABLE_NAME` AS `referenced_table_name`, `kcu`.`REFERENCED_COLUMN_NAME` AS `referenced_column_name` FROM `information_schema`.`REFERENTIAL_CONSTRAINTS` AS `rc` JOIN `information_schema`.`KEY_COLUMN_USAGE` AS `kcu` ON ( `kcu`.`CONSTRAINT_CATALOG` = `rc`.`CONSTRAINT_CATALOG` OR (`kcu`.`CONSTRAINT_CATALOG` IS NULL AND `rc`.`CONSTRAINT_CATALOG` IS NULL) ) AND `kcu`.`CONSTRAINT_SCHEMA` = `rc`.`CONSTRAINT_SCHEMA` AND `kcu`.`CONSTRAINT_NAME` = `rc`.`CONSTRAINT_NAME` WHERE `rc`.`CONSTRAINT_SCHEMA` = database() AND `kcu`.`TABLE_SCHEMA` = database() AND `rc`.`TABLE_NAME` = 'shop_currency_lang' AND `kcu`.`TABLE_NAME` = 'shop_currency_lang' | |
26 | 21:17:07.652 | info | yii\db\Command::query | SELECT * FROM `shop_currency_lang` WHERE `owner_id`=1 | |
27 | 21:17:07.652 | info | yii\db\Command::query | SELECT `id` FROM `shop_prices` WHERE `base_price`=1 | |
28 | 21:17:07.652 | trace | yii\base\Controller::runAction | Route to run: shop/tape/index | |
29 | 21:17:07.652 | trace | yii\base\InlineAction::runWithParams | Running action: frontend\modules\shop\controllers\TapeController::actionIndex() | |
30 | 21:17:07.652 | info | yii\db\Command::query | SHOW FULL COLUMNS FROM `shop_tapes` | |
31 | 21:17:07.653 | info | yii\db\Command::query | SELECT `kcu`.`CONSTRAINT_NAME` AS `constraint_name`, `kcu`.`COLUMN_NAME` AS `column_name`, `kcu`.`REFERENCED_TABLE_NAME` AS `referenced_table_name`, `kcu`.`REFERENCED_COLUMN_NAME` AS `referenced_column_name` FROM `information_schema`.`REFERENTIAL_CONSTRAINTS` AS `rc` JOIN `information_schema`.`KEY_COLUMN_USAGE` AS `kcu` ON ( `kcu`.`CONSTRAINT_CATALOG` = `rc`.`CONSTRAINT_CATALOG` OR (`kcu`.`CONSTRAINT_CATALOG` IS NULL AND `rc`.`CONSTRAINT_CATALOG` IS NULL) ) AND `kcu`.`CONSTRAINT_SCHEMA` = `rc`.`CONSTRAINT_SCHEMA` AND `kcu`.`CONSTRAINT_NAME` = `rc`.`CONSTRAINT_NAME` WHERE `rc`.`CONSTRAINT_SCHEMA` = database() AND `kcu`.`TABLE_SCHEMA` = database() AND `rc`.`TABLE_NAME` = 'shop_tapes' AND `kcu`.`TABLE_NAME` = 'shop_tapes' | |
32 | 21:17:07.653 | info | yii\db\Command::query | SELECT * FROM `shop_tapes` WHERE `id`=14 | |
33 | 21:17:07.653 | info | yii\db\Command::query | SHOW FULL COLUMNS FROM `shop_tapes_lang` | |
34 | 21:17:07.654 | info | yii\db\Command::query | SELECT `kcu`.`CONSTRAINT_NAME` AS `constraint_name`, `kcu`.`COLUMN_NAME` AS `column_name`, `kcu`.`REFERENCED_TABLE_NAME` AS `referenced_table_name`, `kcu`.`REFERENCED_COLUMN_NAME` AS `referenced_column_name` FROM `information_schema`.`REFERENTIAL_CONSTRAINTS` AS `rc` JOIN `information_schema`.`KEY_COLUMN_USAGE` AS `kcu` ON ( `kcu`.`CONSTRAINT_CATALOG` = `rc`.`CONSTRAINT_CATALOG` OR (`kcu`.`CONSTRAINT_CATALOG` IS NULL AND `rc`.`CONSTRAINT_CATALOG` IS NULL) ) AND `kcu`.`CONSTRAINT_SCHEMA` = `rc`.`CONSTRAINT_SCHEMA` AND `kcu`.`CONSTRAINT_NAME` = `rc`.`CONSTRAINT_NAME` WHERE `rc`.`CONSTRAINT_SCHEMA` = database() AND `kcu`.`TABLE_SCHEMA` = database() AND `rc`.`TABLE_NAME` = 'shop_tapes_lang' AND `kcu`.`TABLE_NAME` = 'shop_tapes_lang' | |
35 | 21:17:07.654 | info | yii\db\Command::query | SELECT * FROM `shop_tapes_lang` WHERE (`language`='uk') AND (`owner_id`=14) | |
36 | 21:17:07.655 | info | yii\db\Command::query | SELECT * FROM `shop_construct_product` WHERE `id`=55 | |
37 | 21:17:07.655 | info | yii\db\Command::query | SHOW FULL COLUMNS FROM `shop_construct_product` | |
38 | 21:17:07.656 | info | yii\db\Command::query | SELECT `kcu`.`CONSTRAINT_NAME` AS `constraint_name`, `kcu`.`COLUMN_NAME` AS `column_name`, `kcu`.`REFERENCED_TABLE_NAME` AS `referenced_table_name`, `kcu`.`REFERENCED_COLUMN_NAME` AS `referenced_column_name` FROM `information_schema`.`REFERENTIAL_CONSTRAINTS` AS `rc` JOIN `information_schema`.`KEY_COLUMN_USAGE` AS `kcu` ON ( `kcu`.`CONSTRAINT_CATALOG` = `rc`.`CONSTRAINT_CATALOG` OR (`kcu`.`CONSTRAINT_CATALOG` IS NULL AND `rc`.`CONSTRAINT_CATALOG` IS NULL) ) AND `kcu`.`CONSTRAINT_SCHEMA` = `rc`.`CONSTRAINT_SCHEMA` AND `kcu`.`CONSTRAINT_NAME` = `rc`.`CONSTRAINT_NAME` WHERE `rc`.`CONSTRAINT_SCHEMA` = database() AND `kcu`.`TABLE_SCHEMA` = database() AND `rc`.`TABLE_NAME` = 'shop_construct_product' AND `kcu`.`TABLE_NAME` = 'shop_construct_product' | |
39 | 21:17:07.656 | info | yii\db\Command::query | SHOW FULL COLUMNS FROM `shop_construct_product_lang` | |
40 | 21:17:07.656 | info | yii\db\Command::query | SELECT `kcu`.`CONSTRAINT_NAME` AS `constraint_name`, `kcu`.`COLUMN_NAME` AS `column_name`, `kcu`.`REFERENCED_TABLE_NAME` AS `referenced_table_name`, `kcu`.`REFERENCED_COLUMN_NAME` AS `referenced_column_name` FROM `information_schema`.`REFERENTIAL_CONSTRAINTS` AS `rc` JOIN `information_schema`.`KEY_COLUMN_USAGE` AS `kcu` ON ( `kcu`.`CONSTRAINT_CATALOG` = `rc`.`CONSTRAINT_CATALOG` OR (`kcu`.`CONSTRAINT_CATALOG` IS NULL AND `rc`.`CONSTRAINT_CATALOG` IS NULL) ) AND `kcu`.`CONSTRAINT_SCHEMA` = `rc`.`CONSTRAINT_SCHEMA` AND `kcu`.`CONSTRAINT_NAME` = `rc`.`CONSTRAINT_NAME` WHERE `rc`.`CONSTRAINT_SCHEMA` = database() AND `kcu`.`TABLE_SCHEMA` = database() AND `rc`.`TABLE_NAME` = 'shop_construct_product_lang' AND `kcu`.`TABLE_NAME` = 'shop_construct_product_lang' | |
41 | 21:17:07.657 | info | yii\db\Command::query | SELECT * FROM `shop_construct_product_lang` WHERE (`language`='uk') AND (`owner_id`=55) | |
42 | 21:17:07.657 | info | yii\db\Command::query | SELECT * FROM `shop_construct_default_colors` WHERE `construct_id`=55 | |
43 | 21:17:07.657 | info | yii\db\Command::query | SELECT * FROM `shop_attributes_list` WHERE 0=1 ORDER BY `sort_order` | |
44 | 21:17:07.658 | info | yii\db\Command::query | SELECT `id` FROM `user_type` WHERE `is_default_for_view`=1 | |
45 | 21:17:07.658 | info | yii\db\Command::query | SELECT `product_id` FROM `shop_construct_product_product` WHERE `construct_id`=55
| |
46 | 21:17:07.658 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM `shop_construct_product_attribute` WHERE `construct_id`=55) | |
47 | 21:17:07.658 | info | yii\db\Command::query | SELECT `product_id` FROM `shop_construct_product_product` WHERE `construct_id`=55
| |
48 | 21:17:07.659 | info | yii\db\Command::query | SHOW FULL COLUMNS FROM `shop_product` | |
49 | 21:17:07.659 | info | yii\db\Command::query | SELECT `kcu`.`CONSTRAINT_NAME` AS `constraint_name`, `kcu`.`COLUMN_NAME` AS `column_name`, `kcu`.`REFERENCED_TABLE_NAME` AS `referenced_table_name`, `kcu`.`REFERENCED_COLUMN_NAME` AS `referenced_column_name` FROM `information_schema`.`REFERENTIAL_CONSTRAINTS` AS `rc` JOIN `information_schema`.`KEY_COLUMN_USAGE` AS `kcu` ON ( `kcu`.`CONSTRAINT_CATALOG` = `rc`.`CONSTRAINT_CATALOG` OR (`kcu`.`CONSTRAINT_CATALOG` IS NULL AND `rc`.`CONSTRAINT_CATALOG` IS NULL) ) AND `kcu`.`CONSTRAINT_SCHEMA` = `rc`.`CONSTRAINT_SCHEMA` AND `kcu`.`CONSTRAINT_NAME` = `rc`.`CONSTRAINT_NAME` WHERE `rc`.`CONSTRAINT_SCHEMA` = database() AND `kcu`.`TABLE_SCHEMA` = database() AND `rc`.`TABLE_NAME` = 'shop_product' AND `kcu`.`TABLE_NAME` = 'shop_product' | |
50 | 21:17:07.660 | info | yii\db\Command::query | SHOW FULL COLUMNS FROM `shop_product_lang` | |
51 | 21:17:07.660 | info | yii\db\Command::query | SELECT `kcu`.`CONSTRAINT_NAME` AS `constraint_name`, `kcu`.`COLUMN_NAME` AS `column_name`, `kcu`.`REFERENCED_TABLE_NAME` AS `referenced_table_name`, `kcu`.`REFERENCED_COLUMN_NAME` AS `referenced_column_name` FROM `information_schema`.`REFERENTIAL_CONSTRAINTS` AS `rc` JOIN `information_schema`.`KEY_COLUMN_USAGE` AS `kcu` ON ( `kcu`.`CONSTRAINT_CATALOG` = `rc`.`CONSTRAINT_CATALOG` OR (`kcu`.`CONSTRAINT_CATALOG` IS NULL AND `rc`.`CONSTRAINT_CATALOG` IS NULL) ) AND `kcu`.`CONSTRAINT_SCHEMA` = `rc`.`CONSTRAINT_SCHEMA` AND `kcu`.`CONSTRAINT_NAME` = `rc`.`CONSTRAINT_NAME` WHERE `rc`.`CONSTRAINT_SCHEMA` = database() AND `kcu`.`TABLE_SCHEMA` = database() AND `rc`.`TABLE_NAME` = 'shop_product_lang' AND `kcu`.`TABLE_NAME` = 'shop_product_lang' | |
52 | 21:17:07.661 | info | yii\db\Command::query | SELECT `price_id` FROM `user_type` WHERE `is_default_for_view`=1 | |
53 | 21:17:07.661 | info | yii\db\Command::query | SELECT `t1`.`message` AS `message`, `t2`.`translation` AS `translation` FROM `source_message` `t1`, `message` `t2` WHERE (`t1`.`id`=`t2`.`id`) AND (`t1`.`category`='app') AND (`t2`.`language`='uk') | |
54 | 21:17:07.663 | info | yii\db\Command::query | SELECT * FROM `shop_currency` WHERE `id`=1 | |
55 | 21:17:07.663 | info | yii\db\Command::query | SELECT * FROM `shop_currency_lang` WHERE `owner_id`=1 | |
56 | 21:17:07.663 | info | yii\db\Command::query | SELECT COUNT(*) FROM (SELECT `main`.`id`, `main`.`article`, `main`.`sort_order`, `lang`.`title` AS `selectTitle`, `lang`.`description` AS `selectDescription`, `category_lang`.`owner_id` AS `selectCategoryId`, `category_lang`.`title` AS `selectCategoryTitle`, `main`.`created_at` AS `created_at`, `pp`.`value` AS `typePrice`, CASE WHEN SUM(ps.quantity) > 0 THEN 1 ELSE 0 END AS `storeCount` FROM `shop_product` `main` LEFT JOIN `category_lang` `category_lang` ON main.parent_id=category_lang.owner_id LEFT JOIN `shop_product_lang` `lang` ON lang.owner_id=main.id LEFT JOIN `shop_product_prices` `pp` ON main.id=pp.product_id AND pp.price_id='1' LEFT JOIN `shop_product_prices` `ppr` ON main.id=ppr.product_id AND ppr.price_id=1 LEFT JOIN `shop_product_store` `ps` ON main.id=ps.product_id LEFT JOIN (SELECT `p`.`id`, SUM(ps.quantity) AS `sum`, `sub_p`.`count` AS `order` FROM `shop_product` `p` LEFT JOIN `shop_product_store` `ps` ON p.id=ps.product_id LEFT JOIN (SELECT `p`.`id`, COUNT(w.id) AS `count` FROM `shop_product` `p` LEFT JOIN `shop_wishlist` `w` ON p.id=w.product_id WHERE (`p`.`visible`=1) AND (`p`.`id` IN ('4', '103', '438', '474', '748', '971', '1017', '1058', '1081', '1178', '1179', '1192', '1204', '1206', '1225', '1339', '1386', '1644', '1650', '1749', '1821', '1839', '1840', '1858', '1919', '1963', '1985', '2030', '2031', '2219', '2336')) AND (`w`.`updated_at` BETWEEN 1746478800 AND 1746565200) GROUP BY `p`.`id`) AS sub_p ON sub_p.id=p.id WHERE (`p`.`visible`=1) AND (`p`.`id` IN ('4', '103', '438', '474', '748', '971', '1017', '1058', '1081', '1178', '1179', '1192', '1204', '1206', '1225', '1339', '1386', '1644', '1650', '1749', '1821', '1839', '1840', '1858', '1919', '1963', '1985', '2030', '2031', '2219', '2336')) GROUP BY `p`.`id` HAVING `sum` >= 1) subProductQuery ON subProductQuery.id=main.id WHERE ((`main`.`visible`=1) AND (`lang`.`language`='uk') AND (`category_lang`.`language`='uk')) AND (main.id IN (subProductQuery.id)) GROUP BY `main`.`id` ORDER BY `storeCount` DESC) `sub` | |
57 | 21:17:07.664 | info | yii\db\Command::query | SELECT `main`.`id`, `main`.`article`, `main`.`sort_order`, `lang`.`title` AS `selectTitle`, `lang`.`description` AS `selectDescription`, `category_lang`.`owner_id` AS `selectCategoryId`, `category_lang`.`title` AS `selectCategoryTitle`, `main`.`created_at` AS `created_at`, `pp`.`value` AS `typePrice`, CASE WHEN SUM(ps.quantity) > 0 THEN 1 ELSE 0 END AS `storeCount` FROM `shop_product` `main` LEFT JOIN `category_lang` `category_lang` ON main.parent_id=category_lang.owner_id LEFT JOIN `shop_product_lang` `lang` ON lang.owner_id=main.id LEFT JOIN `shop_product_prices` `pp` ON main.id=pp.product_id AND pp.price_id='1' LEFT JOIN `shop_product_prices` `ppr` ON main.id=ppr.product_id AND ppr.price_id=1 LEFT JOIN `shop_product_store` `ps` ON main.id=ps.product_id LEFT JOIN (SELECT `p`.`id`, SUM(ps.quantity) AS `sum`, `sub_p`.`count` AS `order` FROM `shop_product` `p` LEFT JOIN `shop_product_store` `ps` ON p.id=ps.product_id LEFT JOIN (SELECT `p`.`id`, COUNT(w.id) AS `count` FROM `shop_product` `p` LEFT JOIN `shop_wishlist` `w` ON p.id=w.product_id WHERE (`p`.`visible`=1) AND (`p`.`id` IN ('4', '103', '438', '474', '748', '971', '1017', '1058', '1081', '1178', '1179', '1192', '1204', '1206', '1225', '1339', '1386', '1644', '1650', '1749', '1821', '1839', '1840', '1858', '1919', '1963', '1985', '2030', '2031', '2219', '2336')) AND (`w`.`updated_at` BETWEEN 1746478800 AND 1746565200) GROUP BY `p`.`id`) AS sub_p ON sub_p.id=p.id WHERE (`p`.`visible`=1) AND (`p`.`id` IN ('4', '103', '438', '474', '748', '971', '1017', '1058', '1081', '1178', '1179', '1192', '1204', '1206', '1225', '1339', '1386', '1644', '1650', '1749', '1821', '1839', '1840', '1858', '1919', '1963', '1985', '2030', '2031', '2219', '2336')) GROUP BY `p`.`id` HAVING `sum` >= 1) subProductQuery ON subProductQuery.id=main.id WHERE ((`main`.`visible`=1) AND (`lang`.`language`='uk') AND (`category_lang`.`language`='uk')) AND (main.id IN (subProductQuery.id)) GROUP BY `main`.`id` ORDER BY `storeCount` DESC, `sort_order` LIMIT 48 | |
58 | 21:17:07.664 | info | yii\db\Command::query | SELECT `id` FROM `shop_stores` WHERE `defstore`=1 ORDER BY `sort_order` | |
59 | 21:17:07.664 | info | yii\db\Command::query | SELECT SUM(quantity) AS `in_stock`, `product_id` FROM `shop_product_store` WHERE (0=1) AND (`store_id`='1') GROUP BY `product_id` | |
60 | 21:17:07.664 | info | yii\db\Command::query | SELECT `aliases`.`primaryKey`, `aliases`.`alias` FROM `aliases` `aliases` WHERE ((`aliases`.`model`='app\\modules\\shop\\models\\Product') AND (`aliases`.`redirectID`=0)) AND (0=1) | |
61 | 21:17:07.664 | info | yii\db\Command::query | SELECT `img`.`product_id`, `img`.`id`, `img`.`path`, `img`.`process_updated_at`, `attr`.`attribute_id`, `attr`.`attribute_list_id`, `image_lang`.`alt`, `image_lang`.`title` FROM `shop_product_images` `img` LEFT JOIN `shop_product_images_attributes` `attr` ON attr.image_id = img.id LEFT JOIN `shop_product_images_lang` `image_lang` ON image_lang.owner_id = img.id WHERE (0=1) AND (`img`.`cover`=1) | |
62 | 21:17:07.665 | info | yii\db\Command::query | SELECT `opts`.`product_id`, `opts`.`attribute_id`, `opts`.`value`, `list`.`sort_order`, `attr`.`type`, `listlang`.`title` AS `listValue`, `list`.`color`, SUM(store.quantity) AS `total_quantity`, `alang`.`title` AS `title` FROM `shop_product_store_options` `opts` LEFT JOIN `shop_attributes` `attr` ON attr.id=opts.attribute_id LEFT JOIN `shop_attributes_lang` `alang` ON alang.owner_id=opts.attribute_id AND alang.language='uk' LEFT JOIN `shop_product_store` `store` ON opts.store_id = store.id LEFT JOIN `shop_attributes_list` `list` ON list.id=opts.value LEFT JOIN `shop_attributes_list_lang` `listlang` ON listlang.owner_id=opts.value AND listlang.language='uk' WHERE 0=1 GROUP BY `opts`.`product_id`, `opts`.`attribute_id`, `opts`.`value`, `attr`.`type`, `listlang`.`title`, `list`.`color` ORDER BY `attr`.`sort_order`, `total_quantity` DESC | |
63 | 21:17:07.665 | info | yii\db\Command::query | SELECT `lang`.`mark`, `shc`.`color`, `shc`.`bgcolor`, `shc`.`stroke_color`, `main`.`product_id`, `main`.`showcase_id` FROM `shop_product_showcases` `main` INNER JOIN `shop_showcases` `shc` ON main.showcase_id=shc.id INNER JOIN `shop_showcases_lang` `lang` ON main.showcase_id=lang.owner_id WHERE (`language`='uk') AND (0=1) ORDER BY `shc`.`sort_order` | |
64 | 21:17:07.665 | info | yii\db\Command::query | SELECT SUM(quantity) FROM `shop_document_content` INNER JOIN `shop_document` ON `shop_document_content`.document_id=`shop_document`.id WHERE (`shop_document`.`user_id` IS NULL) AND (`shop_document`.`state_id` IS NULL)
| |
65 | 21:17:07.665 | info | yii\db\Command::query | SELECT `count_previous_month` FROM `custom_order_repository` WHERE `custom_order_repository`.`user_id` IS NULL
| |
66 | 21:17:07.665 | info | yii\db\Command::query | SELECT `count_previous_twelve_months` FROM `custom_order_repository` WHERE `custom_order_repository`.`user_id` IS NULL
| |
67 | 21:17:07.666 | info | yii\db\Command::query | SELECT `id` FROM `shop_prices` WHERE `base_price`=1 | |
68 | 21:17:07.666 | info | yii\db\Command::query | SELECT MAX(discount) FROM `discount_conditions` INNER JOIN `discount_status` ON `discount_conditions`.discount_status_id=`discount_status`.id WHERE (`discount_conditions`.`quantity_from` <= 139789) AND (`discount_conditions`.`quantity_to` >= 139789) AND (`discount_conditions`.`format`='moment') AND (`discount_status`.`type_user` IS NULL) | |
69 | 21:17:07.666 | info | yii\db\Command::query | SELECT MAX(discount) FROM `discount_conditions` INNER JOIN `discount_status` ON `discount_conditions`.discount_status_id=`discount_status`.id WHERE (`discount_conditions`.`quantity_from` <= 0) AND (`discount_conditions`.`quantity_to` >= 0) AND (`discount_conditions`.`format`='previous_month') AND (`discount_status`.`type_user` IS NULL) | |
70 | 21:17:07.666 | info | yii\db\Command::query | SELECT MAX(discount) FROM `discount_conditions` INNER JOIN `discount_status` ON `discount_conditions`.discount_status_id=`discount_status`.id WHERE (`discount_conditions`.`quantity_from` <= 0) AND (`discount_conditions`.`quantity_to` >= 0) AND (`discount_conditions`.`format`='previous_year') AND (`discount_status`.`type_user` IS NULL) | |
71 | 21:17:07.666 | info | yii\db\Command::query | SELECT SUM(quantity) FROM `shop_document_content` INNER JOIN `shop_document` ON `shop_document_content`.document_id=`shop_document`.id WHERE (`shop_document`.`user_id` IS NULL) AND (`shop_document`.`state_id` IS NULL)
| |
72 | 21:17:07.666 | info | yii\db\Command::query | SELECT `count_previous_month` FROM `custom_order_repository` WHERE `custom_order_repository`.`user_id` IS NULL
| |
73 | 21:17:07.666 | info | yii\db\Command::query | SELECT `count_previous_twelve_months` FROM `custom_order_repository` WHERE `custom_order_repository`.`user_id` IS NULL
| |
74 | 21:17:07.666 | info | yii\db\Command::query | SELECT MAX(discount) FROM `discount_conditions` INNER JOIN `discount_status` ON `discount_conditions`.discount_status_id=`discount_status`.id WHERE (`discount_conditions`.`quantity_from` <= 139789) AND (`discount_conditions`.`quantity_to` >= 139789) AND (`discount_conditions`.`format`='moment') AND (`discount_status`.`type_user` IS NULL)
| |
75 | 21:17:07.667 | info | yii\db\Command::query | SELECT MAX(discount) FROM `discount_conditions` INNER JOIN `discount_status` ON `discount_conditions`.discount_status_id=`discount_status`.id WHERE (`discount_conditions`.`quantity_from` <= 0) AND (`discount_conditions`.`quantity_to` >= 0) AND (`discount_conditions`.`format`='previous_month') AND (`discount_status`.`type_user` IS NULL)
| |
76 | 21:17:07.667 | info | yii\db\Command::query | SELECT MAX(discount) FROM `discount_conditions` INNER JOIN `discount_status` ON `discount_conditions`.discount_status_id=`discount_status`.id WHERE (`discount_conditions`.`quantity_from` <= 0) AND (`discount_conditions`.`quantity_to` >= 0) AND (`discount_conditions`.`format`='previous_year') AND (`discount_status`.`type_user` IS NULL)
| |
77 | 21:17:07.667 | info | yii\db\Command::query | SELECT `discount` FROM `discount_conditions` INNER JOIN `discount_status` ON `discount_conditions`.discount_status_id=`discount_status`.id INNER JOIN `discount_status_lang` ON `discount_status_lang`.owner_id=`discount_status`.id WHERE (`discount_conditions`.`quantity_from` <= 139789) AND (`discount_conditions`.`quantity_to` >= 139789) AND (`discount_conditions`.`format`='moment') AND (`discount_status`.`type_user` IS NULL) AND (`discount_status_lang`.`language`='uk')
| |
78 | 21:17:07.667 | info | yii\db\Command::query | SELECT SUM(quantity) FROM `shop_document_content` INNER JOIN `shop_document` ON `shop_document_content`.document_id=`shop_document`.id WHERE (`shop_document`.`user_id` IS NULL) AND (`shop_document`.`state_id` IS NULL)
| |
79 | 21:17:07.667 | info | yii\db\Command::query | SELECT `count_previous_month` FROM `custom_order_repository` WHERE `custom_order_repository`.`user_id` IS NULL
| |
80 | 21:17:07.667 | info | yii\db\Command::query | SELECT `count_previous_twelve_months` FROM `custom_order_repository` WHERE `custom_order_repository`.`user_id` IS NULL
| |
81 | 21:17:07.667 | info | yii\db\Command::query | SELECT MAX(discount) FROM `discount_conditions` INNER JOIN `discount_status` ON `discount_conditions`.discount_status_id=`discount_status`.id WHERE (`discount_conditions`.`quantity_from` <= 139789) AND (`discount_conditions`.`quantity_to` >= 139789) AND (`discount_conditions`.`format`='moment') AND (`discount_status`.`type_user` IS NULL)
| |
82 | 21:17:07.668 | info | yii\db\Command::query | SELECT MAX(discount) FROM `discount_conditions` INNER JOIN `discount_status` ON `discount_conditions`.discount_status_id=`discount_status`.id WHERE (`discount_conditions`.`quantity_from` <= 0) AND (`discount_conditions`.`quantity_to` >= 0) AND (`discount_conditions`.`format`='previous_month') AND (`discount_status`.`type_user` IS NULL)
| |
83 | 21:17:07.668 | info | yii\db\Command::query | SELECT MAX(discount) FROM `discount_conditions` INNER JOIN `discount_status` ON `discount_conditions`.discount_status_id=`discount_status`.id WHERE (`discount_conditions`.`quantity_from` <= 0) AND (`discount_conditions`.`quantity_to` >= 0) AND (`discount_conditions`.`format`='previous_year') AND (`discount_status`.`type_user` IS NULL)
| |
84 | 21:17:07.668 | info | yii\db\Command::query | SELECT `discount_type` FROM `discount_conditions` INNER JOIN `discount_status` ON `discount_conditions`.discount_status_id=`discount_status`.id INNER JOIN `discount_status_lang` ON `discount_status_lang`.owner_id=`discount_status`.id WHERE (`discount_conditions`.`quantity_from` <= 139789) AND (`discount_conditions`.`quantity_to` >= 139789) AND (`discount_conditions`.`format`='moment') AND (`discount_status`.`type_user` IS NULL) AND (`discount_status_lang`.`language`='uk')
| |
85 | 21:17:07.668 | info | yii\db\Command::query | SHOW FULL COLUMNS FROM `promotions`
| |
86 | 21:17:07.669 | info | yii\db\Command::query | SELECT
`kcu`.`CONSTRAINT_NAME` AS `constraint_name`,
`kcu`.`COLUMN_NAME` AS `column_name`,
`kcu`.`REFERENCED_TABLE_NAME` AS `referenced_table_name`,
`kcu`.`REFERENCED_COLUMN_NAME` AS `referenced_column_name`
FROM `information_schema`.`REFERENTIAL_CONSTRAINTS` AS `rc`
JOIN `information_schema`.`KEY_COLUMN_USAGE` AS `kcu` ON
(
`kcu`.`CONSTRAINT_CATALOG` = `rc`.`CONSTRAINT_CATALOG` OR
(`kcu`.`CONSTRAINT_CATALOG` IS NULL AND `rc`.`CONSTRAINT_CATALOG` IS NULL)
) AND
`kcu`.`CONSTRAINT_SCHEMA` = `rc`.`CONSTRAINT_SCHEMA` AND
`kcu`.`CONSTRAINT_NAME` = `rc`.`CONSTRAINT_NAME`
WHERE `rc`.`CONSTRAINT_SCHEMA` = database() AND `kcu`.`TABLE_SCHEMA` = database()
AND `rc`.`TABLE_NAME` = 'promotions' AND `kcu`.`TABLE_NAME` = 'promotions'
| |
87 | 21:17:07.669 | info | yii\db\Command::query | SHOW FULL COLUMNS FROM `promotions_lang`
| |
88 | 21:17:07.670 | info | yii\db\Command::query | SELECT
`kcu`.`CONSTRAINT_NAME` AS `constraint_name`,
`kcu`.`COLUMN_NAME` AS `column_name`,
`kcu`.`REFERENCED_TABLE_NAME` AS `referenced_table_name`,
`kcu`.`REFERENCED_COLUMN_NAME` AS `referenced_column_name`
FROM `information_schema`.`REFERENTIAL_CONSTRAINTS` AS `rc`
JOIN `information_schema`.`KEY_COLUMN_USAGE` AS `kcu` ON
(
`kcu`.`CONSTRAINT_CATALOG` = `rc`.`CONSTRAINT_CATALOG` OR
(`kcu`.`CONSTRAINT_CATALOG` IS NULL AND `rc`.`CONSTRAINT_CATALOG` IS NULL)
) AND
`kcu`.`CONSTRAINT_SCHEMA` = `rc`.`CONSTRAINT_SCHEMA` AND
`kcu`.`CONSTRAINT_NAME` = `rc`.`CONSTRAINT_NAME`
WHERE `rc`.`CONSTRAINT_SCHEMA` = database() AND `kcu`.`TABLE_SCHEMA` = database()
AND `rc`.`TABLE_NAME` = 'promotions_lang' AND `kcu`.`TABLE_NAME` = 'promotions_lang'
| |
89 | 21:17:07.671 | info | yii\db\Command::query | SELECT `promotions`.* FROM `promotions` LEFT JOIN `shop_document` ON `promotions`.`id` = `shop_document`.`promotion_id` WHERE (`shop_document`.`user_id` IS NULL) AND (`shop_document`.`id` IS NULL) | |
90 | 21:17:07.671 | info | yii\db\Command::query | SELECT * FROM `shop_document` WHERE `promotion_id`=1 | |
91 | 21:17:07.671 | info | yii\db\Command::query | SELECT * FROM `promotions_lang` WHERE (`language`='uk') AND (`owner_id`=1)
| |
92 | 21:17:07.671 | info | yii\db\Command::query | SELECT * FROM `shop_currency` WHERE `id`=1 | |
93 | 21:17:07.672 | info | yii\db\Command::query | SELECT * FROM `shop_currency_lang` WHERE `owner_id`=1 | |
94 | 21:17:07.672 | info | yii\db\Command::query | SELECT SUM(quantity) FROM `shop_document_content` INNER JOIN `shop_document` ON `shop_document_content`.document_id=`shop_document`.id WHERE (`shop_document`.`session_id`='bil7uuc8v1sc7cel70sh41rvhf') AND (`shop_document`.`state_id` IS NULL) | |
95 | 21:17:07.672 | info | yii\db\Command::query | SELECT `id` FROM `shop_prices` WHERE `base_price`=1 | |
96 | 21:17:07.672 | info | yii\db\Command::query | SELECT `shop_prices`.`percent`, `value`, `discount_value`, `product_id`, `shop_prices_lang`.`price_info`, `shop_prices_lang`.`title`, `shop_product`.`parent_id` FROM `shop_product_prices` LEFT JOIN `shop_prices` ON `shop_prices`.id=`shop_product_prices`.price_id LEFT JOIN `shop_prices_lang` ON `shop_prices`.id=`shop_prices_lang`.owner_id LEFT JOIN `shop_product` ON `shop_product`.id=`shop_product_prices`.product_id WHERE (0=1) AND (`price_id`='1') AND (`shop_prices_lang`.`language`='uk') | |
97 | 21:17:07.672 | info | yii\db\Command::query | SELECT `shop_prices`.`percent`, `value`, `discount_value`, `product_id`, `shop_prices_lang`.`price_info`, `shop_prices_lang`.`title`, `shop_product`.`parent_id` FROM `shop_product_prices` LEFT JOIN `shop_prices` ON `shop_prices`.id=`shop_product_prices`.price_id LEFT JOIN `shop_prices_lang` ON `shop_prices`.id=`shop_prices_lang`.owner_id LEFT JOIN `shop_product` ON `shop_product`.id=`shop_product_prices`.product_id WHERE (0=1) AND (`price_id`=1) AND (`shop_prices_lang`.`language`='uk') | |
98 | 21:17:07.672 | trace | yii\base\View::renderFile | Rendering view file: /var/www/lurex.in.ua/releases/20250319211410/src/frontend/modules/shop/views/tape/index.php | |
99 | 21:17:07.673 | < 0ms > | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SET |