# | Time | Since previous | Level | Category | Message |
---|---|---|---|---|---|
1 | 18:16:07.596 | < 0ms > | trace | yii\base\Application::bootstrap | Bootstrap with yii\log\Dispatcher |
2 | 18:16:07.596 | trace | yii\base\Module::getModule | Loading module: gii | |
3 | 18:16:07.596 | trace | yii\base\Application::bootstrap | Bootstrap with yii\gii\Module::bootstrap() | |
4 | 18:16:07.597 | trace | yii\base\Module::getModule | Loading module: debug | |
5 | 18:16:07.597 | trace | yii\base\Application::bootstrap | Bootstrap with yii\debug\Module::bootstrap() | |
6 | 18:16:07.597 | trace | yii\base\Application::bootstrap | Bootstrap with app\components\SkAssetsAutoCompress::bootstrap() | |
7 | 18:16:07.597 | info | yii\db\Command::query | SELECT * FROM languages WHERE visible=1 ORDER BY sort_order | |
8 | 18:16:07.597 | info | yii\db\Connection::open | Opening DB connection: mysql:host=localhost;port=3306;dbname=lurex | |
9 | 18:16:07.598 | info | yii\db\Command::query | SELECT MAX(updated_at) FROM languages | |
10 | 18:16:07.598 | trace | yii\db\Command::query | Saved query result in cache | |
11 | 18:16:07.598 | info | yii\db\Command::query | SELECT MAX(updated_at) FROM languages | |
12 | 18:16:07.599 | info | yii\db\Command::query | SHOW FULL COLUMNS FROM `redirects` | |
13 | 18:16:07.599 | 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' | |
14 | 18:16:07.600 | info | yii\db\Command::query | SELECT * FROM `redirects` WHERE `from`='/novoe-postyplenie' | |
15 | 18:16:07.601 | info | yii\db\Command::query | SELECT `retail`, `wholesale`, `dropshipping` FROM `social_visible_price` WHERE `alias`='novoe-postyplenie'
| |
16 | 18:16:07.601 | trace | yii\db\Command::query | Saved query result in cache
| |
17 | 18:16:07.601 | trace | yii\web\Application::handleRequest | Route requested: 'main/router/index' | |
18 | 18:16:07.601 | trace | yii\base\Module::getModule | Loading module: main | |
19 | 18:16:07.601 | trace | yii\base\Controller::runAction | Route to run: main/router/index | |
20 | 18:16:07.601 | trace | yii\base\InlineAction::runWithParams | Running action: app\modules\main\controllers\RouterController::actionIndex() | |
21 | 18:16:07.601 | info | yii\db\Command::query | SELECT `model`, `redirectID`, `primaryKey`, `controller`, `status` FROM aliases WHERE alias='/novoe-postyplenie' | |
22 | 18:16:07.602 | trace | yii\base\Module::getModule | Loading module: shop | |
23 | 18:16:07.602 | info | yii\db\Command::query | SELECT * FROM `shop_currency` WHERE `main_in_shop`=1 | |
24 | 18:16:07.602 | info | yii\db\Command::query | SHOW FULL COLUMNS FROM `shop_currency` | |
25 | 18:16:07.603 | 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' | |
26 | 18:16:07.603 | info | yii\db\Command::query | SHOW FULL COLUMNS FROM `shop_currency_lang` | |
27 | 18:16:07.604 | 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' | |
28 | 18:16:07.604 | info | yii\db\Command::query | SELECT * FROM `shop_currency_lang` WHERE `owner_id`=1 | |
29 | 18:16:07.605 | info | yii\db\Command::query | SELECT * FROM `shop_currency` WHERE `main`=1 | |
30 | 18:16:07.605 | info | yii\db\Command::query | SELECT * FROM `shop_currency_lang` WHERE `owner_id`=1 | |
31 | 18:16:07.605 | info | yii\db\Command::query | SELECT `id` FROM `shop_prices` WHERE `base_price`=1 | |
32 | 18:16:07.605 | trace | yii\base\Controller::runAction | Route to run: shop/multi-category/index | |
33 | 18:16:07.605 | trace | yii\base\InlineAction::runWithParams | Running action: frontend\modules\shop\controllers\MultiCategoryController::actionIndex() | |
34 | 18:16:07.605 | info | yii\db\Command::query | SHOW FULL COLUMNS FROM `shop_multi_category` | |
35 | 18:16:07.606 | 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_multi_category' AND `kcu`.`TABLE_NAME` = 'shop_multi_category' | |
36 | 18:16:07.606 | info | yii\db\Command::query | SELECT * FROM `shop_multi_category` WHERE `id`='1' | |
37 | 18:16:07.607 | info | yii\db\Command::query | SHOW FULL COLUMNS FROM `shop_multi_category_lang`
| |
38 | 18:16:07.608 | 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_multi_category_lang' AND `kcu`.`TABLE_NAME` = 'shop_multi_category_lang'
| |
39 | 18:16:07.608 | info | yii\db\Command::query | SELECT * FROM `shop_multi_category_lang` WHERE (`language`='ru') AND (`owner_id`=1)
| |
40 | 18:16:07.609 | info | yii\db\Command::query | SELECT * FROM `shop_construct_product` WHERE `id`=27 | |
41 | 18:16:07.609 | info | yii\db\Command::query | SHOW FULL COLUMNS FROM `shop_construct_product`
| |
42 | 18:16:07.610 | 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'
| |
43 | 18:16:07.610 | info | yii\db\Command::query | SHOW FULL COLUMNS FROM `shop_construct_product_lang`
| |
44 | 18:16:07.611 | 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'
| |
45 | 18:16:07.611 | info | yii\db\Command::query | SELECT * FROM `shop_construct_product_lang` WHERE (`language`='ru') AND (`owner_id`=27)
| |
46 | 18:16:07.611 | info | yii\db\Command::query | SELECT `id` FROM `user_type` WHERE `is_default_for_view`=1 | |
47 | 18:16:07.611 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM `shop_construct_user_type` WHERE `construct_id`=27) | |
48 | 18:16:07.612 | trace | yii\redis\Connection::open | Opening redis DB connection: tcp://127.0.0.1:6379, database=0 | |
49 | 18:16:07.612 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SELECT | |
50 | 18:16:07.612 | trace | yii\redis\Connection::executeCommand | Executing Redis Command: GET | |
51 | 18:16:07.612 | info | yii\web\Session::open | Session started | |
52 | 18:16:07.612 | info | yii\db\Command::query | SELECT * FROM `shop_construct_default_colors` WHERE `construct_id`=27 | |
53 | 18:16:07.612 | info | yii\db\Command::query | SELECT * FROM `shop_attributes_list` WHERE 0=1 ORDER BY `sort_order` | |
54 | 18:16:07.613 | info | yii\db\Command::query | SELECT `category_id` FROM `shop_construct_product_category` WHERE `construct_id`=27
| |
55 | 18:16:07.613 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM `shop_construct_product_attribute` WHERE `construct_id`=27)
| |
56 | 18:16:07.614 | info | yii\db\Command::query | SHOW FULL COLUMNS FROM `shop_product`
| |
57 | 18:16:07.614 | 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'
| |
58 | 18:16:07.615 | info | yii\db\Command::query | SHOW FULL COLUMNS FROM `shop_product_lang`
| |
59 | 18:16:07.616 | 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'
| |
60 | 18:16:07.616 | info | yii\db\Command::query | SELECT `price_id` FROM `user_type` WHERE `is_default_for_view`=1 | |
61 | 18:16:07.616 | 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`='ru')
| |
62 | 18:16:07.619 | info | yii\db\Command::query | SELECT `mgt`.`title` AS `groupName`, `mct`.`title` AS `text`, `a`.`alias` AS `url`, `mg`.`position_relative_catalog` AS `position`, `mc`.`position_relative_catalog` AS `position_category`, `mc`.`sorting_by_category` AS `sort_order`, `mc`.`sort_order` AS `sort_order_with_group`, `mg`.`sort_order` AS `sort_order_group`, `mc`.`image_in_menu` AS `image`, `mc`.`construct_id` AS `construct_id` FROM `shop_multi_category` `mc` LEFT JOIN `shop_multi_category_lang` `mct` ON mc.id=mct.owner_id AND mct.language='ru' LEFT JOIN `shop_multi_category_group` `mg` ON mc.group_id=mg.id LEFT JOIN `shop_multi_category_group_lang` `mgt` ON mg.id=mgt.owner_id AND mgt.language='ru' LEFT JOIN `aliases` `a` ON mc.id=a.primaryKey AND a.model='common\\models\\withdrawal\\MultiCategory' AND a.redirectID=0 WHERE (`mc`.`show_in_filter`=1) AND (`mc`.`visible`=1) GROUP BY `mc`.`id` ORDER BY `mg`.`sort_order`, `sort_order_with_group` | |
63 | 18:16:07.619 | info | yii\db\Command::query | SELECT * FROM `shop_construct_product` WHERE `id`='27' | |
64 | 18:16:07.619 | info | yii\db\Command::query | SELECT * FROM `shop_construct_product_lang` WHERE (`language`='ru') AND (`owner_id`=27) | |
65 | 18:16:07.620 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM `shop_construct_user_type` WHERE `construct_id`=27) | |
66 | 18:16:07.620 | info | yii\db\Command::query | SELECT * FROM `shop_construct_product` WHERE `id`='29' | |
67 | 18:16:07.620 | info | yii\db\Command::query | SELECT * FROM `shop_construct_product_lang` WHERE (`language`='ru') AND (`owner_id`=29) | |
68 | 18:16:07.620 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM `shop_construct_user_type` WHERE `construct_id`=29) | |
69 | 18:16:07.620 | info | yii\db\Command::query | SELECT * FROM `shop_construct_product` WHERE `id`='13' | |
70 | 18:16:07.621 | info | yii\db\Command::query | SELECT * FROM `shop_construct_product_lang` WHERE (`language`='ru') AND (`owner_id`=13) | |
71 | 18:16:07.621 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM `shop_construct_user_type` WHERE `construct_id`=13) | |
72 | 18:16:07.621 | info | yii\db\Command::query | SELECT * FROM `shop_construct_product` WHERE `id`='14' | |
73 | 18:16:07.621 | info | yii\db\Command::query | SELECT * FROM `shop_construct_product_lang` WHERE (`language`='ru') AND (`owner_id`=14) | |
74 | 18:16:07.622 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM `shop_construct_user_type` WHERE `construct_id`=14) | |
75 | 18:16:07.622 | info | yii\db\Command::query | SELECT * FROM `shop_construct_product` WHERE `id`='4' | |
76 | 18:16:07.622 | info | yii\db\Command::query | SELECT * FROM `shop_construct_product_lang` WHERE (`language`='ru') AND (`owner_id`=4) | |
77 | 18:16:07.622 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM `shop_construct_user_type` WHERE `construct_id`=4) | |
78 | 18:16:07.623 | info | yii\db\Command::query | SELECT * FROM `shop_construct_product` WHERE `id`='10' | |
79 | 18:16:07.623 | info | yii\db\Command::query | SELECT * FROM `shop_construct_product_lang` WHERE (`language`='ru') AND (`owner_id`=10) | |
80 | 18:16:07.623 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM `shop_construct_user_type` WHERE `construct_id`=10) | |
81 | 18:16:07.624 | info | yii\db\Command::query | SELECT `primaryKey` FROM `aliases` WHERE (`model`='app\\modules\\main\\models\\Category') AND (`alias`='/novoe-postyplenie')
| |
82 | 18:16:07.624 | info | yii\db\Command::query | SHOW FULL COLUMNS FROM `category`
| |
83 | 18:16:07.624 | 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` = 'category' AND `kcu`.`TABLE_NAME` = 'category'
| |
84 | 18:16:07.625 | info | yii\db\Command::query | SELECT * FROM `category` WHERE `id`=FALSE
| |
85 | 18:16:07.625 | info | yii\db\Command::query | SELECT `t`.`id`, `t`.`parent_id`, `tlang`.`title`, `t`.`image`, `t`.`sort_order` FROM `category` `t` LEFT JOIN `category_lang` `tlang` ON tlang.owner_id=t.id WHERE (`tlang`.`language`='ru') AND (`t`.`object`='app\\modules\\shop\\models\\Product') AND (`visible`=1) ORDER BY `t`.`draft`, `t`.`sort_order` | |
86 | 18:16:07.625 | info | yii\db\Command::query | SELECT * FROM `category` WHERE `id`='6' | |
87 | 18:16:07.626 | info | yii\db\Command::query | SHOW FULL COLUMNS FROM `category_lang` | |
88 | 18:16:07.626 | 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` = 'category_lang' AND `kcu`.`TABLE_NAME` = 'category_lang' | |
89 | 18:16:07.627 | info | yii\db\Command::query | SELECT * FROM `category_lang` WHERE (`language`='ru') AND (`owner_id`=6) | |
90 | 18:16:07.627 | info | yii\db\Command::query | SELECT * FROM `category` WHERE `id`='9' | |
91 | 18:16:07.627 | info | yii\db\Command::query | SELECT * FROM `category_lang` WHERE (`language`='ru') AND (`owner_id`=9) | |
92 | 18:16:07.628 | info | yii\db\Command::query | SELECT * FROM `category` WHERE `id`='38' | |
93 | 18:16:07.628 | info | yii\db\Command::query | SELECT * FROM `category_lang` WHERE (`language`='ru') AND (`owner_id`=38) | |
94 | 18:16:07.628 | info | yii\db\Command::query | SELECT * FROM `category` WHERE `id`='3' | |
95 | 18:16:07.629 | info | yii\db\Command::query | SELECT * FROM `category_lang` WHERE (`language`='ru') AND (`owner_id`=3) | |
96 | 18:16:07.629 | info | yii\db\Command::query | SELECT * FROM `category` WHERE `id`='13' | |
97 | 18:16:07.629 | info | yii\db\Command::query | SELECT * FROM `category_lang` WHERE (`language`='ru') AND (`owner_id`=13) | |
98 | 18:16:07.630 | info | yii\db\Command::query | SELECT * FROM `category` WHERE `id`='5' | |
99 | 18:16:07.630 | info | yii\db\Command::query | SELECT * FROM `category_lang` WHERE (`language`='ru') AND (`owner_id`=5) | |
100 | 18:16:07.631 | info | yii\db\Command::query | SELECT * FROM `category` WHERE `id`='1' | |
101 | 18:16:07.631 | info | yii\db\Command::query | SELECT * FROM `category_lang` WHERE (`language`='ru') AND (`owner_id`=1) | |
102 | 18:16:07.631 | info | yii\db\Command::query | SELECT * FROM `category` WHERE `id`='42' | |
103 | 18:16:07.632 | info | yii\db\Command::query | SELECT * FROM `category_lang` WHERE (`language`='ru') AND (`owner_id`=42) | |
104 | 18:16:07.632 | info | yii\db\Command::query | SELECT * FROM `category` WHERE `id`='40' | |
105 | 18:16:07.633 | info | yii\db\Command::query | SELECT * FROM `category_lang` WHERE (`language`='ru') AND (`owner_id`=40) | |
106 | 18:16:07.633 | info | yii\db\Command::query | SELECT * FROM `category` WHERE `id`='39' | |
107 | 18:16:07.633 | info | yii\db\Command::query | SELECT * FROM `category_lang` WHERE (`language`='ru') AND (`owner_id`=39) | |
108 | 18:16:07.634 | info | yii\db\Command::query | SELECT * FROM `category` WHERE `id`='41' | |
109 | 18:16:07.634 | info | yii\db\Command::query | SELECT * FROM `category_lang` WHERE (`language`='ru') AND (`owner_id`=41) | |
110 | 18:16:07.634 | info | yii\db\Command::query | SELECT * FROM `category` WHERE `id`='22' | |
111 | 18:16:07.635 | info | yii\db\Command::query | SELECT * FROM `category_lang` WHERE (`language`='ru') AND (`owner_id`=22) | |
112 | 18:16:07.635 | info | yii\db\Command::query | SELECT * FROM `category` WHERE `id`='31' | |
113 | 18:16:07.635 | info | yii\db\Command::query | SELECT * FROM `category_lang` WHERE (`language`='ru') AND (`owner_id`=31) | |
114 | 18:16:07.636 | info | yii\db\Command::query | SELECT * FROM `category` WHERE `id`='15' | |
115 | 18:16:07.636 | info | yii\db\Command::query | SELECT * FROM `category_lang` WHERE (`language`='ru') AND (`owner_id`=15) | |
116 | 18:16:07.636 | info | yii\db\Command::query | SELECT * FROM `category` WHERE `id`='2' | |
117 | 18:16:07.637 | info | yii\db\Command::query | SELECT * FROM `category_lang` WHERE (`language`='ru') AND (`owner_id`=2) | |
118 | 18:16:07.637 | info | yii\db\Command::query | SELECT * FROM `category` WHERE `id`='8' | |
119 | 18:16:07.637 | info | yii\db\Command::query | SELECT * FROM `category_lang` WHERE (`language`='ru') AND (`owner_id`=8) | |
120 | 18:16:07.638 | info | yii\db\Command::query | SELECT * FROM `category` WHERE `id`='43' | |
121 | 18:16:07.638 | info | yii\db\Command::query | SELECT * FROM `category_lang` WHERE (`language`='ru') AND (`owner_id`=43) | |
122 | 18:16:07.639 | info | yii\db\Command::query | SELECT * FROM `category` WHERE `id`='7' | |
123 | 18:16:07.639 | info | yii\db\Command::query | SELECT * FROM `category_lang` WHERE (`language`='ru') AND (`owner_id`=7) | |
124 | 18:16:07.639 | info | yii\db\Command::query | SELECT * FROM `category` WHERE `id`='17' | |
125 | 18:16:07.640 | info | yii\db\Command::query | SELECT * FROM `category_lang` WHERE (`language`='ru') AND (`owner_id`=17) | |
126 | 18:16:07.640 | info | yii\db\Command::query | SELECT * FROM `category` WHERE `id`='12' | |
127 | 18:16:07.640 | info | yii\db\Command::query | SELECT * FROM `category_lang` WHERE (`language`='ru') AND (`owner_id`=12) | |
128 | 18:16:07.641 | info | yii\db\Command::query | SELECT * FROM `category` WHERE `id`='25' | |
129 | 18:16:07.641 | info | yii\db\Command::query | SELECT * FROM `category_lang` WHERE (`language`='ru') AND (`owner_id`=25) | |
130 | 18:16:07.641 | info | yii\db\Command::query | SELECT * FROM `category` WHERE `id`='27' | |
131 | 18:16:07.642 | info | yii\db\Command::query | SELECT * FROM `category_lang` WHERE (`language`='ru') AND (`owner_id`=27) | |
132 | 18:16:07.642 | info | yii\db\Command::query | SELECT * FROM `shop_currency` WHERE `main_in_shop`=1 | |
133 | 18:16:07.642 | info | yii\db\Command::query | SELECT * FROM `shop_currency_lang` WHERE `owner_id`=1 | |
134 | 18:16:07.643 | info | yii\db\Command::query | SELECT * FROM `shop_currency` WHERE `main`=1 | |
135 | 18:16:07.643 | info | yii\db\Command::query | SELECT * FROM `shop_currency_lang` WHERE `owner_id`=1 | |
136 | 18:16:07.643 | 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` FROM `shop_product` `p` LEFT JOIN `shop_product_store` `ps` ON p.id=ps.product_id WHERE (`p`.`visible`=1) AND (`p`.`parent_id` IN ('1', '2', '3', '5', '6', '7', '8', '9', '12', '13', '15', '17', '19', '22', '31')) AND (`ps`.`created_at` BETWEEN 1749309367 AND 1750605367) GROUP BY `p`.`id` HAVING `sum` >= 1) subProductQuery ON subProductQuery.id=main.id WHERE ((`main`.`visible`=1) AND (`lang`.`language`='ru') AND (`category_lang`.`language`='ru')) AND (main.id IN (subProductQuery.id)) GROUP BY `main`.`id` ORDER BY `storeCount` DESC) `sub` | |
137 | 18:16:07.646 | 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` FROM `shop_product` `p` LEFT JOIN `shop_product_store` `ps` ON p.id=ps.product_id WHERE (`p`.`visible`=1) AND (`p`.`parent_id` IN ('1', '2', '3', '5', '6', '7', '8', '9', '12', '13', '15', '17', '19', '22', '31')) AND (`ps`.`created_at` BETWEEN 1749309367 AND 1750605367) GROUP BY `p`.`id` HAVING `sum` >= 1) subProductQuery ON subProductQuery.id=main.id WHERE ((`main`.`visible`=1) AND (`lang`.`language`='ru') AND (`category_lang`.`language`='ru')) AND (main.id IN (subProductQuery.id)) GROUP BY `main`.`id` ORDER BY `storeCount` DESC, `sort_order` LIMIT 24 | |
138 | 18:16:07.648 | info | yii\db\Command::query | SELECT `id` FROM `shop_stores` WHERE `defstore`=1 ORDER BY `sort_order` | |
139 | 18:16:07.648 | 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`
| |
140 | 18:16:07.648 | 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)
| |
141 | 18:16:07.648 | 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)
| |
142 | 18:16:07.649 | 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='ru' 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='ru' 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
| |
143 | 18:16:07.649 | 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`='ru') AND (0=1) ORDER BY `shc`.`sort_order`
| |
144 | 18:16:07.649 | 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)
| |
145 | 18:16:07.649 | info | yii\db\Command::query | SELECT `count_previous_month` FROM `custom_order_repository` WHERE `custom_order_repository`.`user_id` IS NULL
| |
146 | 18:16:07.650 | info | yii\db\Command::query | SELECT `count_previous_twelve_months` FROM `custom_order_repository` WHERE `custom_order_repository`.`user_id` IS NULL
| |
147 | 18:16:07.650 | info | yii\db\Command::query | SELECT `id` FROM `shop_prices` WHERE `base_price`=1 | |
148 | 18:16:07.650 | 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) | |
149 | 18:16:07.650 | 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) | |
150 | 18:16:07.650 | 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) | |
151 | 18:16:07.650 | 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)
| |
152 | 18:16:07.650 | info | yii\db\Command::query | SELECT `count_previous_month` FROM `custom_order_repository` WHERE `custom_order_repository`.`user_id` IS NULL
| |
153 | 18:16:07.651 | info | yii\db\Command::query | SELECT `count_previous_twelve_months` FROM `custom_order_repository` WHERE `custom_order_repository`.`user_id` IS NULL
| |
154 | 18:16:07.651 | 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)
| |
155 | 18:16:07.651 | 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)
| |
156 | 18:16:07.651 | 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)
| |
157 | 18:16:07.651 | 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`='ru')
| |
158 | 18:16:07.651 | 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)
| |
159 | 18:16:07.651 | info | yii\db\Command::query | SELECT `count_previous_month` FROM `custom_order_repository` WHERE `custom_order_repository`.`user_id` IS NULL
| |
160 | 18:16:07.652 | info | yii\db\Command::query | SELECT `count_previous_twelve_months` FROM `custom_order_repository` WHERE `custom_order_repository`.`user_id` IS NULL
| |
161 | 18:16:07.652 | 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)
| |
162 | 18:16:07.652 | 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)
| |
163 | 18:16:07.652 | 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)
| |
164 | 18:16:07.652 | 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`='ru')
| |
165 | 18:16:07.652 | info | yii\db\Command::query | SHOW FULL COLUMNS FROM `promotions`
| |
166 | 18:16: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` = 'promotions' AND `kcu`.`TABLE_NAME` = 'promotions'
| |
167 | 18:16:07.653 | info | yii\db\Command::query | SHOW FULL COLUMNS FROM `promotions_lang`
| |
168 | 18:16: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` = 'promotions_lang' AND `kcu`.`TABLE_NAME` = 'promotions_lang'
| |
169 | 18:16:07.654 | 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)
| |
170 | 18:16:07.655 | info | yii\db\Command::query | SELECT * FROM `shop_document` WHERE `promotion_id`=1
| |
171 | 18:16:07.655 | info | yii\db\Command::query | SELECT * FROM `promotions_lang` WHERE (`language`='ru') AND (`owner_id`=1)
| |
172 | 18:16:07.655 | info | yii\db\Command::query | SELECT * FROM `shop_currency` WHERE `main_in_shop`=1 | |
173 | 18:16:07.655 | info | yii\db\Command::query | SELECT * FROM `shop_currency_lang` WHERE `owner_id`=1 | |
174 | 18:16:07.656 | info | yii\db\Command::query | SELECT * FROM `shop_currency` WHERE `main`=1 | |
175 | 18:16:07.656 | info | yii\db\Command::query | SELECT * FROM `shop_currency_lang` WHERE `owner_id`=1 | |
176 | 18:16:07.656 | 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`='q7e104p3dkt08t3t1hhakm7rku') AND (`shop_document`.`state_id` IS NULL) | |
177 | 18:16:07.656 | info | yii\db\Command::query | SELECT `id` FROM `shop_prices` WHERE `base_price`=1 | |
178 | 18:16:07.657 | 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`='ru') | |
179 | 18:16:07.657 | 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`='ru') | |
180 | 18:16:07.657 | info | yii\db\Command::query | SELECT `tape_id` FROM `shop_multi_category_tapes` WHERE `category_id`=1
| |
181 | 18:16:07.657 | info | yii\db\Command::query | SELECT `tt`.`title` AS `title`, `t`.`id` AS `id`, `t`.`construct_id` AS `constructId` FROM `shop_tapes` `t` LEFT JOIN `shop_tapes_lang` `tt` ON t.id=tt.owner_id AND tt.language='ru' WHERE (`t`.`visible`=1) AND ((`t`.`show_on_groups`=1) OR (0=1)) ORDER BY `t`.`sort_order` | |
182 | 18:16:07.658 | info | yii\db\Command::query | SELECT * FROM `shop_construct_product` WHERE `id`='54' | |
183 | 18:16:07.658 | info | yii\db\Command::query | SELECT * FROM `shop_construct_product_lang` WHERE (`language`='ru') AND (`owner_id`=54) | |
184 | 18:16:07.659 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM `shop_construct_user_type` WHERE `construct_id`=54) | |
185 | 18:16:07.659 | info | yii\db\Command::query | SELECT * FROM `shop_construct_product` WHERE `id`='55' | |
186 | 18:16:07.659 | info | yii\db\Command::query | SELECT * FROM `shop_construct_product_lang` WHERE (`language`='ru') AND (`owner_id`=55) | |
187 | 18:16:07.659 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM `shop_construct_user_type` WHERE `construct_id`=55) | |
188 | 18:16:07.660 | info | yii\db\Command::query | SELECT * FROM `info_block_multi_categories` WHERE `multi_category_id`=1 | |
189 | 18:16:07.660 | info | yii\db\Command::query | SELECT * FROM `info_blocks` WHERE (`visible`=1) AND (`id` IN ('4', '7', '9')) | |
190 | 18:16:07.660 | info | yii\db\Command::query | SELECT `shop_attributes_list`.`id` FROM `shop_attributes` LEFT JOIN `shop_attributes_list` ON `shop_attributes_list`.attribute_id = `shop_attributes`.id WHERE (`shop_attributes`.`type` IN ('color', 'Brend', 'Material', 'Proizvod')) AND (0=1)
| |
191 | 18:16:07.660 | trace | yii\base\View::renderFile | Rendering view file: /var/www/lurex.in.ua/releases/20250616210858/src/frontend/modules/shop/views/multi-category/index.php | |
192 | 18:16:07.661 | info | yii\db\Command::query | SELECT `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 (`img`.`product_id` IS NULL) AND (`img`.`cover`=1)
| |
193 | 18:16:07.661 | info | yii\db\Command::query | SELECT `main`.`id`, `lang`.`mark`, `main`.`showcase_image`, `main`.`alias`, `aliases`.`alias` AS `url`, `main`.`construct_id` FROM `shop_showcases` `main` LEFT JOIN `shop_showcases_lang` `lang` ON main.id=lang.owner_id LEFT JOIN `aliases` `aliases` ON aliases.primaryKey=main.id WHERE (`language`='ru') AND (`visible`=1) AND (`show_on_main`=1) AND (`aliases`.`redirectID`=0) AND (`aliases`.`model`='app\\modules\\shop\\models\\Showcase') AND (`show_in_filter`=1) ORDER BY `main`.`sort_order` | |
194 | 18:16:07.662 | trace | yii\base\View::renderFile | Rendering view file: /var/www/lurex.in.ua/releases/20250616210858/src/frontend/modules/shop/views/default/_filters.php
| |
195 | 18:16:07.662 | 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` FROM `shop_product` `p` LEFT JOIN `shop_product_store` `ps` ON p.id=ps.product_id WHERE (`p`.`visible`=1) AND (`p`.`parent_id` IN ('1', '2', '3', '5', '6', '7', '8', '9', '12', '13', '15', '17', '19', '22', '31')) AND (`ps`.`created_at` BETWEEN 1749309367 AND 1750605367) GROUP BY `p`.`id` HAVING `sum` >= 1) subProductQuery ON subProductQuery.id=main.id WHERE ((`main`.`visible`=1) AND (`lang`.`language`='ru') AND (`category_lang`.`language`='ru')) AND (main.id IN (subProductQuery.id)) GROUP BY `main`.`id` ORDER BY `storeCount` DESC
| |
196 | 18:16:07.664 | info | yii\db\Command::query | SELECT MIN(main.value) FROM `shop_product_prices` `main` WHERE `main`.`value` > 0
| |
197 | 18:16:07.664 | info | yii\db\Command::query | SELECT MAX(main.value) FROM `shop_product_prices` `main` WHERE `main`.`value` > 0
| |
198 | 18:16:07.664 | info | yii\db\Command::query | SELECT `main`.`field_key`, `mainL`.`field_value` FROM `shop_settings` `main` LEFT JOIN `shop_settings_lang` `mainL` ON mainL.owner_id=main.id WHERE `mainL`.`language`='ru' | |
199 | 18:16:07.664 | info | yii\db\Command::query | SELECT `main`.`attribute_id`, `main`.`value`, `list`.`alias`, `attrlang`.`title` AS `attrTitle`, `listlang`.`title` AS `valueTitle`, `attr`.`type`, `attr`.`hidden`, `list`.`color`, COUNT(DISTINCT main.product_id) AS `count` FROM `shop_product_store_options` `main` INNER JOIN `shop_product` `product` ON main.product_id = product.id LEFT JOIN `shop_product_store` `prs` ON main.store_id=prs.id LEFT JOIN `shop_attributes` `attr` ON main.attribute_id=attr.id LEFT JOIN `shop_attributes_lang` `attrlang` ON attr.id=attrlang.owner_id LEFT JOIN `shop_attributes_list` `list` ON main.value=list.id LEFT JOIN `shop_attributes_list_lang` `listlang` ON list.id=listlang.owner_id WHERE (`prs`.`store_id`='1') AND ((`attr`.`in_filter`=1) AND (`attr`.`visible`=1)) AND ((`attrlang`.`language`='ru') AND (`listlang`.`language`='ru') AND (`list`.`visible`=1)) GROUP BY `main`.`attribute_id`, `main`.`value`, `attrlang`.`title`, `listlang`.`title`, `attr`.`type` ORDER BY `attr`.`sort_order`, `list`.`sort_order`, `listlang`.`title`
| |
200 | 18:16:07.665 | info | yii\db\Command::query | SELECT `main`.`attribute_id`, `main`.`value`, `list`.`alias`, `attrlang`.`title` AS `attrTitle`, `listlang`.`title` AS `valueTitle`, `attr`.`type`, `attr`.`hidden`, `list`.`color`, COUNT(DISTINCT main.product_id) AS `count` FROM `shop_product_store_options` `main` INNER JOIN `shop_product` `product` ON main.product_id = product.id LEFT JOIN `shop_product_store` `prs` ON main.store_id=prs.id LEFT JOIN `shop_attributes` `attr` ON main.attribute_id=attr.id LEFT JOIN `shop_attributes_lang` `attrlang` ON attr.id=attrlang.owner_id LEFT JOIN `shop_attributes_list` `list` ON main.value=list.id LEFT JOIN `shop_attributes_list_lang` `listlang` ON list.id=listlang.owner_id WHERE main.product_id IN (SELECT `main`.`product_id` FROM `shop_product_prices` `main` INNER JOIN `shop_product` `product` ON main.product_id = product.id LEFT JOIN `shop_prices` `pr` ON main.price_id=pr.id LEFT JOIN `shop_currency` `tcurr` ON `tcurr`.`id`=main.currency_id WHERE `main`.`price_id`='1') GROUP BY `main`.`attribute_id`, `main`.`value`, `attrlang`.`title`, `listlang`.`title`, `attr`.`type` ORDER BY `attr`.`sort_order`, `list`.`sort_order`, `listlang`.`title`
| |
201 | 18:16:07.666 | info | yii\db\Command::query | SELECT `main`.`value` FROM `shop_product_store_options` `main` INNER JOIN `shop_product` `product` ON main.product_id = product.id LEFT JOIN `shop_product_store` `prs` ON main.store_id=prs.id LEFT JOIN `shop_attributes` `attr` ON main.attribute_id=attr.id LEFT JOIN `shop_attributes_lang` `attrlang` ON attr.id=attrlang.owner_id LEFT JOIN `shop_attributes_list` `list` ON main.value=list.id LEFT JOIN `shop_attributes_list_lang` `listlang` ON list.id=listlang.owner_id WHERE 0=1 GROUP BY `main`.`attribute_id`, `main`.`value`, `attrlang`.`title`, `listlang`.`title`, `attr`.`type` ORDER BY `attr`.`sort_order`, `list`.`sort_order`, `listlang`.`title`
| |
202 | 18:16:07.667 | info | yii\db\Command::query | SELECT `main`.`attribute_id`, `main`.`attribute_list_id` AS `value`, `attrlang`.`title` AS `attrTitle`, `listlang`.`title` AS `valueTitle`, `attr`.`type`, `list`.`alias`, `attr`.`hidden` FROM `shop_products_attributes` `main` INNER JOIN `shop_product` `product` ON main.product_id = product.id LEFT JOIN `shop_attributes` `attr` ON main.attribute_id=attr.id LEFT JOIN `shop_attributes_lang` `attrlang` ON main.attribute_id=attrlang.owner_id LEFT JOIN `shop_attributes_list` `list` ON main.attribute_list_id=list.id LEFT JOIN `shop_attributes_list_lang` `listlang` ON list.id=listlang.owner_id WHERE ((`attr`.`in_filter`=1) AND (`attr`.`visible`=1)) AND ((`attrlang`.`language`='ru') AND (`listlang`.`language`='ru') AND (`list`.`visible`=1)) GROUP BY `main`.`attribute_id`, `main`.`attribute_list_id`, `attrlang`.`title`, `listlang`.`title`, `attr`.`type` ORDER BY `attr`.`sort_order`, `list`.`sort_order`, `listlang`.`title`
| |
203 | 18:16:07.668 | info | yii\db\Command::query | SELECT `main`.`attribute_list_id` FROM `shop_products_attributes` `main` INNER JOIN `shop_product` `product` ON main.product_id = product.id LEFT JOIN `shop_attributes` `attr` ON main.attribute_id=attr.id LEFT JOIN `shop_attributes_lang` `attrlang` ON main.attribute_id=attrlang.owner_id LEFT JOIN `shop_attributes_list` `list` ON main.attribute_list_id=list.id LEFT JOIN `shop_attributes_list_lang` `listlang` ON list.id=listlang.owner_id WHERE 0=1 GROUP BY `main`.`attribute_id`, `main`.`attribute_list_id`, `attrlang`.`title`, `listlang`.`title`, `attr`.`type` ORDER BY `attr`.`sort_order`, `list`.`sort_order`, `listlang`.`title`
| |
204 | 18:16:07.669 | info | yii\db\Command::query | SELECT `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 (`img`.`product_id` IS NULL) AND (`img`.`cover`=1)
| |
205 | 18:16:07.670 | info | yii\db\Command::query | SELECT * FROM `shop_currency` WHERE `main_in_shop`=1 | |
206 | 18:16:07.670 | info | yii\db\Command::query | SELECT * FROM `shop_currency_lang` WHERE (`language`='ru') AND (`owner_id`=1) | |
207 | 18:16:07.671 | info | yii\db\Command::query | SELECT `main`.`field_key`, `mainL`.`field_value` FROM `settings` `main` LEFT JOIN `settings_lang` `mainL` ON mainL.owner_id=main.id WHERE `mainL`.`language`='ru' | |
208 | 18:16:07.671 | info | yii\db\Command::query | SELECT `title` FROM `page_lang` WHERE (`owner_id`=3) AND (`language`='ru') | |
209 | 18:16:07.672 | trace | yii\base\View::renderFile | Rendering view file: /var/www/lurex.in.ua/releases/20250616210858/src/frontend/widgets/treeView/views/treeView.php
| |
210 | 18:16:07.675 | trace | yii\base\View::renderFile | Rendering view file: /var/www/lurex.in.ua/releases/20250616210858/src/frontend/widgets/category/views/showcase-info.php
| |
211 | 18:16:07.675 | trace | yii\base\View::renderFile | Rendering view file: /var/www/lurex.in.ua/releases/20250616210858/src/frontend/widgets/category/views/meta-data.php
| |
212 | 18:16:07.676 | trace | yii\base\View::renderFile | Rendering view file: /var/www/lurex.in.ua/releases/20250616210858/src/frontend/views/layouts/main.php | |
213 | 18:16:07.676 | info | yii\db\Command::query | SELECT `menu`.`id`, `menu`.`parent_id`, `menu`.`object`, `menu`.`object_id`, `menu`.`image` AS `img`, `menu_lang`.`title` AS `label`, `aliases`.`alias` AS `url` FROM `menu` `menu` LEFT JOIN `menu_lang` `menu_lang` ON menu_lang.owner_id=menu.id AND menu_lang.language='ru' LEFT JOIN `aliases` ON aliases.model=menu.object AND aliases.primaryKey=menu.object_id AND aliases.redirectID=0 WHERE (`visible`=1) AND (`position`=1) ORDER BY `menu`.`sort_order` | |
214 | 18:16:07.676 | info | yii\db\Command::query | SELECT `menu`.`id`, `menu`.`parent_id`, `menu`.`object`, `menu`.`object_id`, `menu`.`image` AS `img`, `menu_lang`.`title` AS `label`, `aliases`.`alias` AS `url` FROM `menu` `menu` LEFT JOIN `menu_lang` `menu_lang` ON menu_lang.owner_id=menu.id AND menu_lang.language='ru' LEFT JOIN `aliases` ON aliases.model=menu.object AND aliases.primaryKey=menu.object_id AND aliases.redirectID=0 WHERE (`visible`=1) AND (`position`=1) ORDER BY `menu`.`sort_order` | |
215 | 18:16:07.676 | info | yii\db\Command::query | SELECT `id` FROM `page` WHERE `catalogue`=1 | |
216 | 18:16:07.677 | info | yii\db\Command::query | SELECT `mgt`.`title` AS `groupName`, `mct`.`title` AS `text`, `a`.`alias` AS `url`, `mg`.`position_relative_catalog` AS `position`, `mc`.`position_relative_catalog` AS `position_category`, `mc`.`sorting_by_category` AS `sort_order`, `mc`.`sort_order` AS `sort_order_with_group`, `mg`.`sort_order` AS `sort_order_group`, `mc`.`image_in_menu` AS `image`, `mc`.`construct_id` AS `construct_id` FROM `shop_multi_category` `mc` LEFT JOIN `shop_multi_category_lang` `mct` ON mc.id=mct.owner_id AND mct.language='ru' LEFT JOIN `shop_multi_category_group` `mg` ON mc.group_id=mg.id LEFT JOIN `shop_multi_category_group_lang` `mgt` ON mg.id=mgt.owner_id AND mgt.language='ru' LEFT JOIN `aliases` `a` ON mc.id=a.primaryKey AND a.model='common\\models\\withdrawal\\MultiCategory' AND a.redirectID=0 WHERE (`mc`.`show_in_menu`=1) AND (`mc`.`visible`=1) GROUP BY `mc`.`id` ORDER BY `mg`.`sort_order`, `sort_order_with_group` | |
217 | 18:16:07.677 | info | yii\db\Command::query | SELECT * FROM `shop_construct_product` WHERE `id`='27' | |
218 | 18:16:07.677 | info | yii\db\Command::query | SELECT * FROM `shop_construct_product_lang` WHERE (`language`='ru') AND (`owner_id`=27) | |
219 | 18:16:07.677 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM `shop_construct_user_type` WHERE `construct_id`=27) | |
220 | 18:16:07.677 | info | yii\db\Command::query | SELECT * FROM `shop_construct_product` WHERE `id`='29' | |
221 | 18:16:07.678 | info | yii\db\Command::query | SELECT * FROM `shop_construct_product_lang` WHERE (`language`='ru') AND (`owner_id`=29) | |
222 | 18:16:07.678 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM `shop_construct_user_type` WHERE `construct_id`=29) | |
223 | 18:16:07.678 | info | yii\db\Command::query | SELECT * FROM `shop_construct_product` WHERE `id`='13' | |
224 | 18:16:07.678 | info | yii\db\Command::query | SELECT * FROM `shop_construct_product_lang` WHERE (`language`='ru') AND (`owner_id`=13) | |
225 | 18:16:07.678 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM `shop_construct_user_type` WHERE `construct_id`=13) | |
226 | 18:16:07.679 | info | yii\db\Command::query | SELECT * FROM `shop_construct_product` WHERE `id`='14' | |
227 | 18:16:07.679 | info | yii\db\Command::query | SELECT * FROM `shop_construct_product_lang` WHERE (`language`='ru') AND (`owner_id`=14) | |
228 | 18:16:07.679 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM `shop_construct_user_type` WHERE `construct_id`=14) | |
229 | 18:16:07.679 | info | yii\db\Command::query | SELECT * FROM `shop_construct_product` WHERE `id`='4' | |
230 | 18:16:07.679 | info | yii\db\Command::query | SELECT * FROM `shop_construct_product_lang` WHERE (`language`='ru') AND (`owner_id`=4) | |
231 | 18:16:07.680 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM `shop_construct_user_type` WHERE `construct_id`=4) | |
232 | 18:16:07.680 | info | yii\db\Command::query | SELECT * FROM `shop_construct_product` WHERE `id`='10' | |
233 | 18:16:07.680 | info | yii\db\Command::query | SELECT * FROM `shop_construct_product_lang` WHERE (`language`='ru') AND (`owner_id`=10) | |
234 | 18:16:07.680 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM `shop_construct_user_type` WHERE `construct_id`=10) | |
235 | 18:16:07.681 | info | yii\db\Command::query | SELECT `main`.`id`, `lang`.`title`, `main`.`image`, `aliases`.`alias` AS `url`, `main`.`sort_order` FROM `category` `main` LEFT JOIN `category_lang` `lang` ON main.id=lang.owner_id LEFT JOIN `aliases` `aliases` ON aliases.primaryKey=main.id WHERE ((`object`='app\\modules\\shop\\models\\Product') AND (`visible`=1) AND (`language`='ru') AND (`aliases`.`redirectID`=0) AND (`aliases`.`model`='app\\modules\\main\\models\\Category')) AND (`parent_id`=0) ORDER BY `sort_order` | |
236 | 18:16:07.682 | info | yii\db\Command::query | SELECT `mct`.`title` AS `label`, `a`.`alias` AS `url`, `mg`.`position_relative_catalog` AS `position`, `mc`.`position_relative_catalog` AS `position_category`, `mc`.`sorting_by_category` AS `sort_order`, `mc`.`sort_order` AS `sort_order_with_group`, `mg`.`sort_order` AS `sort_order_group`, `mc`.`construct_id` AS `constructId`, `mc`.`image_in_menu` AS `image` FROM `shop_multi_category` `mc` LEFT JOIN `shop_multi_category_lang` `mct` ON mc.id=mct.owner_id AND mct.language='ru' LEFT JOIN `shop_multi_category_group` `mg` ON mc.group_id=mg.id LEFT JOIN `aliases` `a` ON mc.id=a.primaryKey AND a.model='common\\models\\withdrawal\\MultiCategory' AND a.redirectID=0 WHERE (`mc`.`show_in_menu`=1) AND (`mc`.`visible`=1) GROUP BY `mc`.`id` ORDER BY `mg`.`sort_order`, `sort_order_with_group` | |
237 | 18:16:07.682 | info | yii\db\Command::query | SELECT * FROM `shop_construct_product` WHERE `id`='27' | |
238 | 18:16:07.682 | info | yii\db\Command::query | SELECT * FROM `shop_construct_product_lang` WHERE (`language`='ru') AND (`owner_id`=27) | |
239 | 18:16:07.682 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM `shop_construct_user_type` WHERE `construct_id`=27) | |
240 | 18:16:07.683 | info | yii\db\Command::query | SELECT * FROM `shop_construct_product` WHERE `id`='29' | |
241 | 18:16:07.683 | info | yii\db\Command::query | SELECT * FROM `shop_construct_product_lang` WHERE (`language`='ru') AND (`owner_id`=29) | |
242 | 18:16:07.683 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM `shop_construct_user_type` WHERE `construct_id`=29) | |
243 | 18:16:07.683 | info | yii\db\Command::query | SELECT * FROM `shop_construct_product` WHERE `id`='13' | |
244 | 18:16:07.683 | info | yii\db\Command::query | SELECT * FROM `shop_construct_product_lang` WHERE (`language`='ru') AND (`owner_id`=13) | |
245 | 18:16:07.684 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM `shop_construct_user_type` WHERE `construct_id`=13) | |
246 | 18:16:07.684 | info | yii\db\Command::query | SELECT * FROM `shop_construct_product` WHERE `id`='14' | |
247 | 18:16:07.684 | info | yii\db\Command::query | SELECT * FROM `shop_construct_product_lang` WHERE (`language`='ru') AND (`owner_id`=14) | |
248 | 18:16:07.684 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM `shop_construct_user_type` WHERE `construct_id`=14) | |
249 | 18:16:07.684 | info | yii\db\Command::query | SELECT * FROM `shop_construct_product` WHERE `id`='4' | |
250 | 18:16:07.685 | info | yii\db\Command::query | SELECT * FROM `shop_construct_product_lang` WHERE (`language`='ru') AND (`owner_id`=4) | |
251 | 18:16:07.685 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM `shop_construct_user_type` WHERE `construct_id`=4) | |
252 | 18:16:07.685 | info | yii\db\Command::query | SELECT * FROM `shop_construct_product` WHERE `id`='10' | |
253 | 18:16:07.685 | info | yii\db\Command::query | SELECT * FROM `shop_construct_product_lang` WHERE (`language`='ru') AND (`owner_id`=10) | |
254 | 18:16:07.685 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM `shop_construct_user_type` WHERE `construct_id`=10) | |
255 | 18:16:07.686 | info | yii\db\Command::query | SELECT `main`.`id`, `lang`.`title`, `lang`.`mark`, `main`.`showcase_image` AS `image`, `main`.`alias`, `main`.`image_in_menu` AS `menuImage`, `aliases`.`alias` AS `url` FROM `shop_showcases` `main` LEFT JOIN `shop_showcases_lang` `lang` ON main.id=lang.owner_id LEFT JOIN `aliases` `aliases` ON aliases.primaryKey=main.id WHERE (`language`='ru') AND (`visible`=1) AND (`show_in_menu`=1) AND (`aliases`.`redirectID`=0) AND (`aliases`.`model`='app\\modules\\shop\\models\\Showcase') ORDER BY `main`.`sort_order` | |
256 | 18:16:07.686 | trace | yii\base\View::renderFile | Rendering view file: /var/www/lurex.in.ua/releases/20250616210858/src/frontend/modules/shop/views/catalogue/_menu.php | |
257 | 18:16:07.686 | info | yii\db\Command::query | SELECT * FROM `subscribe` `subscribe` LEFT JOIN `subscribe_lang` `subscribelang` ON subscribe.id=subscribelang.owner_id WHERE (`subscribelang`.`language`='ru') AND (`subscribe`.`visible`=1) AND (`subscribe`.`usage`=1) AND (`subscribe`.`type`=1) | |
258 | 18:16:07.687 | info | yii\db\Command::query | SELECT `main`.`id`, `lang`.`title`, `main`.`image`, `aliases`.`alias` AS `url`, `main`.`sort_order` FROM `category` `main` LEFT JOIN `category_lang` `lang` ON main.id=lang.owner_id LEFT JOIN `aliases` `aliases` ON aliases.primaryKey=main.id WHERE ((`object`='app\\modules\\shop\\models\\Product') AND (`visible`=1) AND (`language`='ru') AND (`aliases`.`redirectID`=0) AND (`aliases`.`model`='app\\modules\\main\\models\\Category')) AND (`parent_id`=0) ORDER BY `sort_order` | |
259 | 18:16:07.688 | info | yii\db\Command::query | SELECT `main`.`id`, `lang`.`mark`, `main`.`showcase_image`, `main`.`alias`, `aliases`.`alias` AS `url`, `main`.`construct_id` FROM `shop_showcases` `main` LEFT JOIN `shop_showcases_lang` `lang` ON main.id=lang.owner_id LEFT JOIN `aliases` `aliases` ON aliases.primaryKey=main.id WHERE (`language`='ru') AND (`visible`=1) AND (`show_on_main`=1) AND (`aliases`.`redirectID`=0) AND (`aliases`.`model`='app\\modules\\shop\\models\\Showcase') AND (`show_in_filter`=1) ORDER BY `main`.`sort_order` | |
260 | 18:16:07.688 | trace | yii\base\View::renderFile | Rendering view file: /var/www/lurex.in.ua/releases/20250616210858/src/frontend/modules/main/views/default/_mobile-menu.php
| |
261 | 18:16:07.688 | info | yii\db\Command::query | SHOW FULL COLUMNS FROM `page`
| |
262 | 18:16:07.689 | 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` = 'page' AND `kcu`.`TABLE_NAME` = 'page'
| |
263 | 18:16:07.689 | info | yii\db\Command::query | SELECT * FROM `page` WHERE `catalogue`=1
| |
264 | 18:16:07.689 | info | yii\db\Command::query | SHOW FULL COLUMNS FROM `page_lang` | |
265 | 18:16:07.690 | 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` = 'page_lang' AND `kcu`.`TABLE_NAME` = 'page_lang' | |
266 | 18:16:07.691 | info | yii\db\Command::query | SELECT * FROM `page_lang` WHERE (`language`='ru') AND (`owner_id`=3) | |
267 | 18:16:07.691 | info | yii\db\Command::query | SELECT * FROM `social` WHERE (`visible`=1) AND (`type` IN (1, 2, 5, 6, 7, 8)) | |
268 | 18:16:07.691 | trace | yii\base\View::renderFile | Rendering view file: /var/www/lurex.in.ua/releases/20250616210858/src/frontend/widgets/socialGroup/views/socialGroup.php | |
269 | 18:16:07.692 | trace | yii\base\View::renderFile | Rendering view file: /var/www/lurex.in.ua/releases/20250616210858/src/frontend/widgets/header/views/header.php | |
270 | 18:16:07.692 | info | yii\db\Command::query | SELECT `ibt`.`content`, `ib`.`show_on_mobile`, `ib`.`show_on_desktop` FROM `info_blocks` `ib` LEFT JOIN `info_blocks_lang` `ibt` ON ib.id=ibt.owner_id AND ibt.language='ru' WHERE (`ib`.`location`='topSite') AND (`ib`.`visible`=1) | |
271 | 18:16:07.692 | trace | yii\base\View::renderFile | Rendering view file: /var/www/lurex.in.ua/releases/20250616210858/src/frontend/modules/main/views/default/_authorization-menu.php | |
272 | 18:16:07.693 | info | yii\db\Command::query | SELECT * FROM `shop_currency` ORDER BY `sort_order` | |
273 | 18:16:07.693 | info | yii\db\Command::query | SELECT * FROM `shop_currency` WHERE `main_in_shop`=1 | |
274 | 18:16:07.693 | info | yii\db\Command::query | SELECT * FROM `shop_currency_lang` WHERE `owner_id`=1 | |
275 | 18:16:07.693 | info | yii\db\Command::query | SELECT * FROM `shop_currency` WHERE `main`=1 | |
276 | 18:16:07.694 | info | yii\db\Command::query | SELECT * FROM `shop_currency_lang` WHERE `owner_id`=1 | |
277 | 18:16:07.694 | trace | yii\base\View::renderFile | Rendering view file: /var/www/lurex.in.ua/releases/20250616210858/src/frontend/widgets/currency/views/index.php | |
278 | 18:16:07.694 | info | yii\db\Command::query | SELECT * FROM `shop_document` WHERE (`session_id`='q7e104p3dkt08t3t1hhakm7rku') AND (`state_id` IS NULL) ORDER BY `id` DESC | |
279 | 18:16:07.695 | info | yii\db\Command::query | SELECT * FROM `shop_currency` WHERE `default_from_prices`=1 | |
280 | 18:16:07.695 | info | yii\db\Command::query | SELECT * FROM `shop_currency_lang` WHERE (`language`='ru') AND (`owner_id`=1) | |
281 | 18:16:07.696 | info | yii\db\Command::query | SHOW FULL COLUMNS FROM `shop_document` | |
282 | 18:16:07.697 | 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_document' AND `kcu`.`TABLE_NAME` = 'shop_document' | |
283 | 18:16:07.698 | info | yii\db\Command::query | SELECT SUM(quantity) FROM `shop_document_content` WHERE `document_id` IS NULL | |
284 | 18:16:07.698 | trace | yii\base\View::renderFile | Rendering view file: /var/www/lurex.in.ua/releases/20250616210858/src/frontend/modules/main/views/default/_authorization-menu.php | |
285 | 18:16:07.700 | info | yii\db\Command::query | SELECT `t`.`image`, `tlang`.`title` FROM `shop_contact_information` `t` LEFT JOIN `shop_contact_information_lang` `tlang` ON t.id=tlang.owner_id WHERE (`tlang`.`language`='ru') AND (`t`.`visible`=1) ORDER BY `t`.`created_at` DESC | |
286 | 18:16:07.700 | info | yii\db\Command::query | SELECT COUNT(*), MAX(`updated_at`) FROM `shop_contact_information` | |
287 | 18:16:07.701 | info | yii\db\Command::query | SELECT `menu`.`id`, `menu`.`parent_id`, `menu`.`object`, `menu`.`object_id`, `menu`.`image` AS `img`, `menu_lang`.`title` AS `label`, `aliases`.`alias` AS `url` FROM `menu` `menu` LEFT JOIN `menu_lang` `menu_lang` ON menu_lang.owner_id=menu.id AND menu_lang.language='ru' LEFT JOIN `aliases` ON aliases.model=menu.object AND aliases.primaryKey=menu.object_id AND aliases.redirectID=0 WHERE ((`visible`=1) AND (`position`=2)) AND (`menu`.`parent_id`=0) ORDER BY `menu`.`sort_order` | |
288 | 18:16:07.701 | info | yii\db\Command::query | SELECT `menu`.`id`, `menu`.`parent_id`, `menu`.`object`, `menu`.`object_id`, `menu`.`image` AS `img`, `menu_lang`.`title` AS `label`, `aliases`.`alias` AS `url` FROM `menu` `menu` LEFT JOIN `menu_lang` `menu_lang` ON menu_lang.owner_id=menu.id AND menu_lang.language='ru' LEFT JOIN `aliases` ON aliases.model=menu.object AND aliases.primaryKey=menu.object_id AND aliases.redirectID=0 WHERE ((`visible`=1) AND (`position`=2)) AND (`menu`.`parent_id`=0) ORDER BY `menu`.`sort_order` | |
289 | 18:16:07.701 | info | yii\db\Command::query | SELECT `mgt`.`title` AS `groupName`, `mct`.`title` AS `text`, `a`.`alias` AS `url`, `mg`.`position_relative_catalog` AS `position`, `mc`.`position_relative_catalog` AS `position_category`, `mc`.`sorting_by_category` AS `sort_order`, `mc`.`sort_order` AS `sort_order_with_group`, `mg`.`sort_order` AS `sort_order_group`, `mc`.`image_in_menu` AS `image`, `mc`.`construct_id` AS `construct_id` FROM `shop_multi_category` `mc` LEFT JOIN `shop_multi_category_lang` `mct` ON mc.id=mct.owner_id AND mct.language='ru' LEFT JOIN `shop_multi_category_group` `mg` ON mc.group_id=mg.id LEFT JOIN `shop_multi_category_group_lang` `mgt` ON mg.id=mgt.owner_id AND mgt.language='ru' LEFT JOIN `aliases` `a` ON mc.id=a.primaryKey AND a.model='common\\models\\withdrawal\\MultiCategory' AND a.redirectID=0 WHERE (`mc`.`show_on_main`=1) AND (`mc`.`visible`=1) GROUP BY `mc`.`id` ORDER BY `mg`.`sort_order`, `sort_order_with_group` | |
290 | 18:16:07.702 | info | yii\db\Command::query | SELECT * FROM `shop_construct_product` WHERE `id`='27' | |
291 | 18:16:07.702 | info | yii\db\Command::query | SELECT * FROM `shop_construct_product_lang` WHERE (`language`='ru') AND (`owner_id`=27) | |
292 | 18:16:07.702 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM `shop_construct_user_type` WHERE `construct_id`=27) | |
293 | 18:16:07.702 | info | yii\db\Command::query | SELECT * FROM `shop_construct_product` WHERE `id`='29' | |
294 | 18:16:07.703 | info | yii\db\Command::query | SELECT * FROM `shop_construct_product_lang` WHERE (`language`='ru') AND (`owner_id`=29) | |
295 | 18:16:07.703 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM `shop_construct_user_type` WHERE `construct_id`=29) | |
296 | 18:16:07.703 | info | yii\db\Command::query | SELECT * FROM `shop_construct_product` WHERE `id`='13' | |
297 | 18:16:07.703 | info | yii\db\Command::query | SELECT * FROM `shop_construct_product_lang` WHERE (`language`='ru') AND (`owner_id`=13) | |
298 | 18:16:07.704 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM `shop_construct_user_type` WHERE `construct_id`=13) | |
299 | 18:16:07.704 | info | yii\db\Command::query | SELECT * FROM `shop_construct_product` WHERE `id`='14' | |
300 | 18:16:07.704 | info | yii\db\Command::query | SELECT * FROM `shop_construct_product_lang` WHERE (`language`='ru') AND (`owner_id`=14) | |
301 | 18:16:07.704 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM `shop_construct_user_type` WHERE `construct_id`=14) | |
302 | 18:16:07.704 | info | yii\db\Command::query | SELECT * FROM `shop_construct_product` WHERE `id`='4' | |
303 | 18:16:07.705 | info | yii\db\Command::query | SELECT * FROM `shop_construct_product_lang` WHERE (`language`='ru') AND (`owner_id`=4) | |
304 | 18:16:07.705 | info | yii\db\Command::query | SELECT EXISTS(SELECT * FROM `shop_construct_user_type` WHERE `construct_id`=4) | |
305 | 18:16:07.705 | info | yii\db\Command::query | SELECT `main`.`id`, `main`.`image`, `lang`.`title`, `lang`.`text`, `aliases`.`alias` AS `url` FROM `category` `main` LEFT JOIN `category_lang` `lang` ON main.id=lang.owner_id LEFT JOIN `aliases` `aliases` ON aliases.primaryKey=main.id WHERE ((`main`.`object`='app\\modules\\shop\\models\\Product') AND (`main`.`visible`=1) AND (`lang`.`language`='ru') AND (`aliases`.`redirectID`=0) AND (`aliases`.`model`='app\\modules\\main\\models\\Category')) AND (`main`.`parent_id`=0) ORDER BY `main`.`sort_order` | |
306 | 18:16:07.705 | trace | yii\base\View::renderFile | Rendering view file: /var/www/lurex.in.ua/releases/20250616210858/src/frontend/widgets/footer/views/footer.php | |
307 | 18:16:07.706 | info | yii\db\Command::query | SELECT * FROM `social` WHERE (`visible`=1) AND (`type` IN (1, 2, 5, 6, 7, 8)) | |
308 | 18:16:07.706 | trace | yii\base\View::renderFile | Rendering view file: /var/www/lurex.in.ua/releases/20250616210858/src/frontend/widgets/socialGroup/views/socialGroup.php | |
309 | 18:16:07.706 | trace | yii\base\View::renderFile | Rendering view file: /var/www/lurex.in.ua/releases/20250616210858/src/frontend/modules/main/views/default/_confirmForm.php
| |
310 | 18:16:07.706 | trace | yii\base\View::renderFile | Rendering view file: /var/www/lurex.in.ua/releases/20250616210858/src/frontend/modules/main/views/default/_alertForm.php
| |
311 | 18:16:07.706 | trace | yii\base\View::renderFile | Rendering view file: /var/www/lurex.in.ua/releases/20250616210858/src/frontend/modules/main/views/default/_actionForm.php
| |
312 | 18:16:07.706 | trace | yii\base\View::renderFile | Rendering view file: /var/www/lurex.in.ua/releases/20250616210858/src/frontend/views/layouts/partials/firstVisitLangSelector.php
| |
313 | 18:16:07.706 | trace | yii\base\View::renderFile | Rendering view file: /var/www/lurex.in.ua/releases/20250616210858/src/frontend/views/layouts/partials/privacyPolicyAgreement.php
| |
314 | 18:16:07.716 | < 10ms > | trace | yii\redis\Connection::executeCommand | Executing Redis Command: SET |