Notice (8) : Undefined index: Node [APP/Plugin/Default/Controller/SingleController.php , line 52 ]Code Context $flag_type = '' ;
$category_id = $data [ "Node" ][ 'category_id' ];
$slug = 'lo-bang-den-hoa-vang'
$data = array()
$flag_type = '' SingleController::index() - APP/Plugin/Default/Controller/SingleController.php, line 52
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/Controller/SingleController.php , line 56 ]Code Context $this -> set ( 'current_category' , $category_info );
if( $category_info [ 'Category' ][ 'parent_id' ] == '' )
$slug = 'lo-bang-den-hoa-vang'
$data = array()
$flag_type = ''
$category_id = null
$category_info = array() SingleController::index() - APP/Plugin/Default/Controller/SingleController.php, line 56
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/Controller/SingleController.php , line 58 ]Code Context if( $category_info [ 'Category' ][ 'parent_id' ] == '' )
{
$this -> set ( 'category_active' , $category_info [ 'Category' ][ 'id' ]);
$slug = 'lo-bang-den-hoa-vang'
$data = array()
$flag_type = ''
$category_id = null
$category_info = array() SingleController::index() - APP/Plugin/Default/Controller/SingleController.php, line 58
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
Missing View
Error:
The view for SingleController:: index() was not found.
Error:
Confirm you have created the file: /home/gomsuhoang/domains/gomsuhoangminh.com/public_html/app/Plugin/Default/View/Single/index.ctp
Notice:
If you want to customize this error message, create app/View/Errors/missing_view.ctp
Stack Trace
CORE/Cake/View/View.php line 459 → View->_getViewFileName(null) }
$this -> Blocks -> set ( 'content' , '' );
if ( $view !== false && $viewFileName = $this -> _getViewFileName ( $view )) {
$this -> _currentType = self :: TYPE_VIEW ;
CORE/Cake/Controller/Controller.php line 952 → View->render(null, null) }
$this -> autoRender = false ;
$this -> response -> body ( $this -> View -> render ( $view , $layout ));
return $this -> response ;
CORE/Cake/Routing/Dispatcher.php line 194 → Controller->render() }
if ( $render && $controller -> autoRender ) {
$response = $controller -> render ();
} elseif (!( $result instanceof CakeResponse ) && $response -> body () === null ) {
CORE/Cake/Routing/Dispatcher.php line 162 → Dispatcher->_invoke(SingleController, CakeRequest, CakeResponse) ));
}
$response = $this -> _invoke ( $controller , $request , $response );
if (isset( $request -> params [ 'return' ])) {
object(SingleController) {
uses => array(
[maximum depth reached]
)
theme => 'Default'
lang => 'en'
name => 'Single'
helpers => array([maximum depth reached])
request => object(CakeRequest) {}
response => object(CakeResponse) {}
viewPath => 'Single'
layoutPath => null
viewVars => array(
[maximum depth reached]
)
view => 'index'
layout => 'home'
autoRender => false
autoLayout => true
Components => object(ComponentCollection) {}
components => array(
[maximum depth reached]
)
viewClass => 'View'
View => object(View) {}
ext => '.ctp'
plugin => 'Default'
cacheAction => false
passedArgs => array(
[maximum depth reached]
)
scaffold => false
methods => array(
[maximum depth reached]
)
modelClass => 'Product'
modelKey => 'single'
validationErrors => null
Session => object(SessionComponent) {}
Setting => object(AppModel) {}
settings => array(
[maximum depth reached]
)
title_for_layout => 'gomsuhoangminh'
keyword_for_layout => 'gom su, gomsubattrang, quatanggomsu '
description_for_layout => 'Gốm sứ Hoàng Minh chuyên sản xuất gốm sứ Mỹ nghệ XK , quà tặng và gia dụng theo yêu cầu'
Category => object(AppModel) {}
Banner => object(AppModel) {}
Support => object(AppModel) {}
Node => object(AppModel) {}
[protected] _responseClass => 'CakeResponse'
[protected] _mergeParent => 'AppController'
[protected] _eventManager => object(CakeEventManager) {}
}
object(CakeRequest) {
params => array(
[maximum depth reached]
)
data => array([maximum depth reached])
query => array([maximum depth reached])
url => 'lo-bang-den-hoa-vang.html'
base => ''
webroot => '/'
here => '/lo-bang-den-hoa-vang.html'
[protected] _detectors => array(
[maximum depth reached]
)
[protected] _input => ''
}
object(CakeResponse) {
[protected] _statusCodes => array(
[maximum depth reached]
)
[protected] _mimeTypes => array(
[maximum depth reached]
)
[protected] _protocol => 'HTTP/1.1'
[protected] _status => (int) 200
[protected] _contentType => 'text/html'
[protected] _headers => array([maximum depth reached])
[protected] _body => null
[protected] _file => null
[protected] _fileRange => null
[protected] _charset => 'UTF-8'
[protected] _cacheDirectives => array([maximum depth reached])
[protected] _cookies => array([maximum depth reached])
}
APP/webroot/index.php line 111 → Dispatcher->dispatch(CakeRequest, CakeResponse) $Dispatcher -> dispatch (
new CakeRequest (),
new CakeResponse ()
);
object(CakeRequest) {
params => array(
[maximum depth reached]
)
data => array([maximum depth reached])
query => array([maximum depth reached])
url => 'lo-bang-den-hoa-vang.html'
base => ''
webroot => '/'
here => '/lo-bang-den-hoa-vang.html'
[protected] _detectors => array(
[maximum depth reached]
)
[protected] _input => ''
}
object(CakeResponse) {
[protected] _statusCodes => array(
[maximum depth reached]
)
[protected] _mimeTypes => array(
[maximum depth reached]
)
[protected] _protocol => 'HTTP/1.1'
[protected] _status => (int) 200
[protected] _contentType => 'text/html'
[protected] _headers => array([maximum depth reached])
[protected] _body => null
[protected] _file => null
[protected] _fileRange => null
[protected] _charset => 'UTF-8'
[protected] _cacheDirectives => array([maximum depth reached])
[protected] _cookies => array([maximum depth reached])
}