Notice: getimagesize() [function.getimagesize]: Read error! in /home/echipame/public_html/sw.impresso.ro/app/controllers/pages_shop_controller.php on line 208

Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /home/echipame/public_html/sw.impresso.ro/app/controllers/pages_shop_controller.php:208) in /home/echipame/public_html/sw.impresso.ro/cake/libs/session.php on line 131

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/echipame/public_html/sw.impresso.ro/app/controllers/pages_shop_controller.php:208) in /home/echipame/public_html/sw.impresso.ro/cake/libs/session.php on line 131
30 queries took 24 ms
NrQueryErrorAffectedNum. rowsTook (ms)
1DESC `eshop_products`36361
2DESC `eshop_categories`22223
3DESC `brands`881
4DESC `eshop_gimages`881
5DESC `eshop_options`333
6DESC `eshop_orders`991
7DESC `eshop_clients`441
8DESC `contact_emails`17171
9DESC `users`12128
10 SELECT * FROM eshop_defaults 441
11 SELECT EshopCategory.id, EshopCategory.left_id, EshopCategory.right_id, EshopCategory.c_name, EshopCategory.c_urlrw, EshopCategory.c_menu_name, EshopCategory.c_level, EshopCategory.c_description, EshopCategory.c_image, EshopCategory.page_title, EshopCategory.page_description, EshopCategory.page_keywords, EshopCategory.page_bottom_links, COUNT(EshopProduct.id) as total FROM eshop_categories EshopCategory LEFT JOIN eshop_products EshopProduct ON ( EshopProduct.eshop_category_id = EshopCategory.id AND EshopProduct.p_status = 1 ) WHERE EshopCategory.c_level > 1 AND EshopCategory.c_status = 1 AND 1 GROUP BY EshopCategory.id ORDER BY EshopCategory.left_id ASC 57572
12 SELECT Category.id, Category.c_name, Category.c_urlrw, Article.id, Article.a_title, Article.a_urlrw, COUNT(TotalArticle.id) as articles FROM cms_categories Category INNER JOIN cms_articles TotalArticle ON TotalArticle.category_id = Category.id INNER JOIN cms_articles Article ON (Article.category_id = Category.id AND Article.a_urlrw = 'index') WHERE Category.level = 1 AND Category.c_menu = 1 AND Category.c_status = 1 AND Category.root_id = 1 GROUP BY Category.id ORDER BY Category.c_order ASC 001
13 SELECT Article.id, Article.a_title, Article.a_urlrw, Category.id, Category.c_name, Category.c_urlrw FROM cms_articles Article INNER JOIN cms_categories Category ON Category.id = Article.category_id WHERE Article.category_id = 1 AND Article.a_status = 1 AND Article.a_show_menu = 1 AND Article.a_urlrw <> 'index' ORDER BY Article.a_order ASC 000
14 SELECT Brand.id, Brand.b_name, Brand.b_urlrw, Brand.b_image, COUNT(EshopProduct.id) as products FROM brands Brand INNER JOIN eshop_products EshopProduct ON EshopProduct.brand_id = Brand.id GROUP BY Brand.id ORDER BY products DESC 110
15 SELECT Article.id, Article.a_title, Article.a_content, Article.page_title, Article.page_description, Article.page_keyword, Article.page_bottom_links FROM cms_articles Article WHERE Article.category_id = 1 ORDER BY Article.a_order ASC LIMIT 0,1 110
16 SELECT Article.id, Article.a_title, Article.a_teaser, Article.a_content, Article.page_title, Article.page_description, Article.page_keyword, Article.page_bottom_links FROM cms_articles Article WHERE Article.a_urlrw = 'about-us' ORDER BY Article.a_order ASC LIMIT 0,1 000
17SELECT COUNT(*) AS count FROM `eshop_products` AS `EshopProduct` LEFT JOIN `eshop_categories` AS `EshopCategory` ON `EshopProduct`.`eshop_category_id` = `EshopCategory`.`id` LEFT JOIN `brands` AS `Brand` ON `EshopProduct`.`brand_id` = `Brand`.`id` WHERE ( EshopProduct.p_status = 1) AND ( EshopProduct.p_home = 1) 110
18SELECT `EshopProduct`.`id`, `EshopProduct`.`p_name`, `EshopProduct`.`p_urlrw`, `EshopProduct`.`p_price`, `EshopProduct`.`p_short_description`, `EshopProduct`.`p_description`, `EshopProduct`.`p_image_detail`, `Brand`.`id`, `Brand`.`b_name`, `EshopCategory`.`id`, `EshopCategory`.`c_name`, `EshopCategory`.`c_urlrw` FROM `eshop_products` AS `EshopProduct` LEFT JOIN `eshop_categories` AS `EshopCategory` ON `EshopProduct`.`eshop_category_id` = `EshopCategory`.`id` LEFT JOIN `brands` AS `Brand` ON `EshopProduct`.`brand_id` = `Brand`.`id` WHERE ( EshopProduct.p_status = 1) AND ( EshopProduct.p_home = 1) ORDER BY `EshopCategory`.`left_id` ASC, `EshopProduct`.`p_order` ASC LIMIT 5000
19SELECT COUNT(*) AS count FROM `eshop_products` AS `EshopProduct` LEFT JOIN `eshop_categories` AS `EshopCategory` ON `EshopProduct`.`eshop_category_id` = `EshopCategory`.`id` LEFT JOIN `brands` AS `Brand` ON `EshopProduct`.`brand_id` = `Brand`.`id` WHERE `EshopProduct`.`p_status` = 1 AND `EshopProduct`.`brand_id` = 1 110
20SELECT COUNT(*) AS count FROM `eshop_products` AS `EshopProduct` LEFT JOIN `eshop_categories` AS `EshopCategory` ON `EshopProduct`.`eshop_category_id` = `EshopCategory`.`id` LEFT JOIN `brands` AS `Brand` ON `EshopProduct`.`brand_id` = `Brand`.`id` WHERE `EshopProduct`.`brand_id` = 1 110
21SELECT COUNT(*) AS count FROM `eshop_products` AS `EshopProduct` LEFT JOIN `eshop_categories` AS `EshopCategory` ON `EshopProduct`.`eshop_category_id` = `EshopCategory`.`id` LEFT JOIN `brands` AS `Brand` ON `EshopProduct`.`brand_id` = `Brand`.`id` WHERE `EshopProduct`.`p_status` = 1 AND `EshopProduct`.`p_price` >= 0 AND `EshopProduct`.`p_price` <=49 110
22SELECT COUNT(*) AS count FROM `eshop_products` AS `EshopProduct` LEFT JOIN `eshop_categories` AS `EshopCategory` ON `EshopProduct`.`eshop_category_id` = `EshopCategory`.`id` LEFT JOIN `brands` AS `Brand` ON `EshopProduct`.`brand_id` = `Brand`.`id` WHERE `EshopProduct`.`p_status` = 1 AND `EshopProduct`.`p_price` >= 50 AND `EshopProduct`.`p_price` <=99 110
23SELECT COUNT(*) AS count FROM `eshop_products` AS `EshopProduct` LEFT JOIN `eshop_categories` AS `EshopCategory` ON `EshopProduct`.`eshop_category_id` = `EshopCategory`.`id` LEFT JOIN `brands` AS `Brand` ON `EshopProduct`.`brand_id` = `Brand`.`id` WHERE `EshopProduct`.`p_status` = 1 AND `EshopProduct`.`p_price` >= 100 AND `EshopProduct`.`p_price` <=199 110
24SELECT COUNT(*) AS count FROM `eshop_products` AS `EshopProduct` LEFT JOIN `eshop_categories` AS `EshopCategory` ON `EshopProduct`.`eshop_category_id` = `EshopCategory`.`id` LEFT JOIN `brands` AS `Brand` ON `EshopProduct`.`brand_id` = `Brand`.`id` WHERE `EshopProduct`.`p_status` = 1 AND `EshopProduct`.`p_price` >= 200 AND `EshopProduct`.`p_price` <=499 110
25SELECT COUNT(*) AS count FROM `eshop_products` AS `EshopProduct` LEFT JOIN `eshop_categories` AS `EshopCategory` ON `EshopProduct`.`eshop_category_id` = `EshopCategory`.`id` LEFT JOIN `brands` AS `Brand` ON `EshopProduct`.`brand_id` = `Brand`.`id` WHERE `EshopProduct`.`p_status` = 1 AND `EshopProduct`.`p_price` >= 500 AND `EshopProduct`.`p_price` <=999 110
26SELECT COUNT(*) AS count FROM `eshop_products` AS `EshopProduct` LEFT JOIN `eshop_categories` AS `EshopCategory` ON `EshopProduct`.`eshop_category_id` = `EshopCategory`.`id` LEFT JOIN `brands` AS `Brand` ON `EshopProduct`.`brand_id` = `Brand`.`id` WHERE `EshopProduct`.`p_status` = 1 AND `EshopProduct`.`p_price` >= 1000 AND `EshopProduct`.`p_price` <=1999 110
27SELECT COUNT(*) AS count FROM `eshop_products` AS `EshopProduct` LEFT JOIN `eshop_categories` AS `EshopCategory` ON `EshopProduct`.`eshop_category_id` = `EshopCategory`.`id` LEFT JOIN `brands` AS `Brand` ON `EshopProduct`.`brand_id` = `Brand`.`id` WHERE `EshopProduct`.`p_status` = 1 AND `EshopProduct`.`p_price` >= 2000 AND `EshopProduct`.`p_price` <=4999 110
28SELECT COUNT(*) AS count FROM `eshop_products` AS `EshopProduct` LEFT JOIN `eshop_categories` AS `EshopCategory` ON `EshopProduct`.`eshop_category_id` = `EshopCategory`.`id` LEFT JOIN `brands` AS `Brand` ON `EshopProduct`.`brand_id` = `Brand`.`id` WHERE `EshopProduct`.`p_status` = 1 AND `EshopProduct`.`p_price` >= 5000 AND `EshopProduct`.`p_price` <=10000 110
29 SELECT Article.*, Category.* FROM cms_articles Article INNER JOIN cms_categories Category ON Article.category_id = Category.id WHERE Article.a_urlrw = 'productos-recomandados' AND Category.root_id IN (1) 000
30 SELECT Article.*, Category.* FROM cms_articles Article INNER JOIN cms_categories Category ON Article.category_id = Category.id WHERE Category.c_urlrw = 'productos-recomandados' AND Article.a_urlrw = 'index' 000