LOADING IMAGES
Warning (2): Missing argument 1 for CommentController::get_product_by_cat_id() [APP/Controller/CommentController.php, line 355]Code Context return $duan;
}
public function get_product_by_cat_id($cat,$id) {
CommentController::get_product_by_cat_id() - APP/Controller/CommentController.php, line 355
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 485
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 186
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 161
Object::requestAction() - CORE/Cake/Core/Object.php, line 97
include - APP/View/Product/detail.ctp, line 100
View::_evaluate() - CORE/Cake/View/View.php, line 920
View::_render() - CORE/Cake/View/View.php, line 883
View::render() - CORE/Cake/View/View.php, line 475
Controller::render() - CORE/Cake/Controller/Controller.php, line 957
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 193
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 161
[main] - APP/webroot/index.php, line 92
Warning (2): Missing argument 2 for CommentController::get_product_by_cat_id() [APP/Controller/CommentController.php, line 355]Code Context return $duan;
}
public function get_product_by_cat_id($cat,$id) {
CommentController::get_product_by_cat_id() - APP/Controller/CommentController.php, line 355
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 485
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 186
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 161
Object::requestAction() - CORE/Cake/Core/Object.php, line 97
include - APP/View/Product/detail.ctp, line 100
View::_evaluate() - CORE/Cake/View/View.php, line 920
View::_render() - CORE/Cake/View/View.php, line 883
View::render() - CORE/Cake/View/View.php, line 475
Controller::render() - CORE/Cake/Controller/Controller.php, line 957
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 193
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 161
[main] - APP/webroot/index.php, line 92
Notice (8): Undefined variable: cat [APP/Controller/CommentController.php, line 360]Code Context 'conditions' => array(
'Product.status' => 1,
'Product.cat_id' => $cat,
CommentController::get_product_by_cat_id() - APP/Controller/CommentController.php, line 360
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 485
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 186
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 161
Object::requestAction() - CORE/Cake/Core/Object.php, line 97
include - APP/View/Product/detail.ctp, line 100
View::_evaluate() - CORE/Cake/View/View.php, line 920
View::_render() - CORE/Cake/View/View.php, line 883
View::render() - CORE/Cake/View/View.php, line 475
Controller::render() - CORE/Cake/Controller/Controller.php, line 957
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 193
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 161
[main] - APP/webroot/index.php, line 92
Notice (8): Undefined variable: id [APP/Controller/CommentController.php, line 362]Code Context 'Product.cat_id' => $cat,
'Product.id <>' => $id
),
CommentController::get_product_by_cat_id() - APP/Controller/CommentController.php, line 362
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 485
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 186
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 161
Object::requestAction() - CORE/Cake/Core/Object.php, line 97
include - APP/View/Product/detail.ctp, line 100
View::_evaluate() - CORE/Cake/View/View.php, line 920
View::_render() - CORE/Cake/View/View.php, line 883
View::render() - CORE/Cake/View/View.php, line 475
Controller::render() - CORE/Cake/Controller/Controller.php, line 957
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 193
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 161
[main] - APP/webroot/index.php, line 92