Notice (8): Undefined variable: brand [APP/controllers/categories_controller.php, line 106]
Code |
Context$id = "kompyuternyie-stolyi"
$brand_name = ""
$cache_title = "categories_view_kompyuternyie-stolyi_"
$data = false
$parents = $this->Category->getpath($this->data['Category']['id']);
}
Cache::write($cache_title, array($this->data, $brand, $categories, $parents));
CategoriesController::view() - APP/controllers/categories_controller.php, line 106
Object::dispatchMethod() - CORE/cake/libs/object.php, line 118
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 227
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 194
[main] - APP/webroot/index.php, line 103
Notice (8): Undefined variable: categories [APP/controllers/categories_controller.php, line 106]
Code |
Context$id = "kompyuternyie-stolyi"
$brand_name = ""
$cache_title = "categories_view_kompyuternyie-stolyi_"
$data = false
$parents = $this->Category->getpath($this->data['Category']['id']);
}
Cache::write($cache_title, array($this->data, $brand, $categories, $parents));
CategoriesController::view() - APP/controllers/categories_controller.php, line 106
Object::dispatchMethod() - CORE/cake/libs/object.php, line 118
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 227
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 194
[main] - APP/webroot/index.php, line 103
Notice (8): Undefined variable: parents [APP/controllers/categories_controller.php, line 106]
Code |
Context$id = "kompyuternyie-stolyi"
$brand_name = ""
$cache_title = "categories_view_kompyuternyie-stolyi_"
$data = false
$parents = $this->Category->getpath($this->data['Category']['id']);
}
Cache::write($cache_title, array($this->data, $brand, $categories, $parents));
CategoriesController::view() - APP/controllers/categories_controller.php, line 106
Object::dispatchMethod() - CORE/cake/libs/object.php, line 118
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 227
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 194
[main] - APP/webroot/index.php, line 103
Warning (2): Cannot modify header information - headers already sent by (output started at /hsphere/local/home/turtus/tea-market.com.ua/cake/basics.php:115) [CORE/cake/libs/controller/controller.php, line 647]
Code |
Context$status = "Location: http://www.pyps.com.ua/"
header - [internal], line ??
Controller::header() - CORE/cake/libs/controller/controller.php, line 647
Controller::redirect() - CORE/cake/libs/controller/controller.php, line 628
CategoriesController::view() - APP/controllers/categories_controller.php, line 115
Object::dispatchMethod() - CORE/cake/libs/object.php, line 118
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 227
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 194
[main] - APP/webroot/index.php, line 103
(default) 17 queries took 88 ms
| Nr | Query | Error | Affected | Num. rows | Took (ms) |
| 1 | DESCRIBE `products` | | 26 | 26 | 4 |
| 2 | DESCRIBE `types` | | 15 | 15 | 4 |
| 3 | DESCRIBE `brands` | | 17 | 17 | 4 |
| 4 | DESCRIBE `sites` | | 35 | 35 | 5 |
| 5 | DESCRIBE `templates` | | 2 | 2 | 4 |
| 6 | DESCRIBE `categories_products` | | 2 | 2 | 5 |
| 7 | DESCRIBE `images` | | 7 | 7 | 5 |
| 8 | DESCRIBE `product_reviews` | | 12 | 12 | 5 |
| 9 | DESCRIBE `categories` | | 28 | 28 | 14 |
| 10 | DESCRIBE `tags` | | 17 | 17 | 5 |
| 11 | DESCRIBE `articles` | | 15 | 15 | 5 |
| 12 | DESCRIBE `articles_tags` | | 2 | 2 | 4 |
| 13 | DESCRIBE `videos` | | 9 | 9 | 4 |
| 14 | DESCRIBE `tags_videos` | | 2 | 2 | 4 |
| 15 | DESCRIBE `products_tags` | | 2 | 2 | 3 |
| 16 | DESCRIBE `custom_pages` | | 12 | 12 | 11 |
| 17 | SELECT `Category`.`id`, `Category`.`ua_title`, `Category`.`ua_title_link`, `Category`.`ua_description`, `Category`.`ua_moredescription`, `Category`.`ua_meta_title`, `Category`.`ua_meta_desc`, `Category`.`ua_meta_keys`, `Category`.`site_id`, `Category`.`parent_id`, `Category`.`title`, `Category`.`title_link`, `Category`.`friendly`, `Category`.`price_type`, `Category`.`description`, `Category`.`moredescription`, `Category`.`image`, `Category`.`format`, `Category`.`order`, `Category`.`meta_title`, `Category`.`meta_desc`, `Category`.`meta_keys`, `Category`.`created`, `Category`.`modified`, `Category`.`sub_ids`, `Category`.`lft`, `Category`.`rght`, `Category`.`is_shown` FROM `categories` AS `Category` WHERE `Category`.`site_id` = 2 AND ((`Category`.`id` = 0) OR (`Category`.`friendly` = 'kompyuternyie-stolyi')) LIMIT 1 | | 0 | 0 | 2 |