NodeController::index() - APP/Plugin/Default/Controller/NodeController.php, line 21
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 490
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 187
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 162
[main] - APP/webroot/index.php, line 111
Notice (8): Undefined index: Node [APP/Plugin/Default/Controller/NodeController.php, line 21]
NodeController::index() - APP/Plugin/Default/Controller/NodeController.php, line 21
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 490
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 187
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 162
[main] - APP/webroot/index.php, line 111
Notice (8): Undefined index: Category [APP/Controller/Component/CcontentComponent.php, line 53]
CcontentComponent::getArchive() - APP/Controller/Component/CcontentComponent.php, line 53
CcontentComponent::getContent() - APP/Controller/Component/CcontentComponent.php, line 33
NodeController::index() - APP/Plugin/Default/Controller/NodeController.php, line 21
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 490
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 187
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 162
[main] - APP/webroot/index.php, line 111
Notice (8): Undefined index: Category [APP/Controller/Component/CcontentComponent.php, line 59]
CcontentComponent::getArchive() - APP/Controller/Component/CcontentComponent.php, line 59
CcontentComponent::getContent() - APP/Controller/Component/CcontentComponent.php, line 33
NodeController::index() - APP/Plugin/Default/Controller/NodeController.php, line 21
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 490
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 187
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 162
[main] - APP/webroot/index.php, line 111
Notice (8): Undefined index: Category [APP/Plugin/Default/Model/Node.php, line 99]
Node::getCategoryTree() - APP/Plugin/Default/Model/Node.php, line 99
Node::getPaginate() - APP/Plugin/Default/Model/Node.php, line 22
CcontentComponent::getArchive() - APP/Controller/Component/CcontentComponent.php, line 59
CcontentComponent::getContent() - APP/Controller/Component/CcontentComponent.php, line 33
NodeController::index() - APP/Plugin/Default/Controller/NodeController.php, line 21
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 490
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 187
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 162
[main] - APP/webroot/index.php, line 111
Notice (8): Undefined index: Category [APP/Plugin/Default/Model/Node.php, line 100]
Node::getCategoryTree() - APP/Plugin/Default/Model/Node.php, line 100
Node::getPaginate() - APP/Plugin/Default/Model/Node.php, line 22
CcontentComponent::getArchive() - APP/Controller/Component/CcontentComponent.php, line 59
CcontentComponent::getContent() - APP/Controller/Component/CcontentComponent.php, line 33
NodeController::index() - APP/Plugin/Default/Controller/NodeController.php, line 21
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 490
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 187
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 162
[main] - APP/webroot/index.php, line 111
CakePHP: the rapid development php framework:
Errors
Error:
SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '* FROM `tienhastee_comvn`.`nodes` AS `Node` INNER JOIN ON (`Node`.`id`=.node_i' at line 1
SQL Query:
SELECT `Node`.*, .* FROM `tienhastee_comvn`.`nodes` AS `Node` INNER JOIN ON (`Node`.`id`=.node_id) WHERE `Node`.`status` = 1 AND `Node`.`type` IS NULL AND `Node`.`category_id` IS NULL LIMIT 10
Notice:
If you want to customize this error message, create app/View/Errors/pdo_error.ctp
'SELECT `Node`.*, .* FROM `tienhastee_comvn`.`nodes` AS `Node` INNER JOIN ON (`Node`.`id`=.node_id) WHERE `Node`.`status` = 1 AND `Node`.`type` IS NULL AND `Node`.`category_id` IS NULL LIMIT 10'
array()
'SELECT `Node`.*, .* FROM `tienhastee_comvn`.`nodes` AS `Node` INNER JOIN ON (`Node`.`id`=.node_id) WHERE `Node`.`status` = 1 AND `Node`.`type` IS NULL AND `Node`.`category_id` IS NULL LIMIT 10'
array()
array()
'SELECT `Node`.*, .* FROM `tienhastee_comvn`.`nodes` AS `Node` INNER JOIN ON (`Node`.`id`=.node_id) WHERE `Node`.`status` = 1 AND `Node`.`type` IS NULL AND `Node`.`category_id` IS NULL LIMIT 10'
false
* @deprecated Will be removed in 3.0. Use PaginatorComponent instead.*/public function paginate($object = null, $scope = array(), $whitelist = array()) {return $this->Components->load('Paginator', $this->paginate)->paginate($object, $scope, $whitelist);}