Notice (8): Undefined index: Product [APP\Controller\ProductsController.php, line 287]Code Context$product = $this->Product->find('first', $option);
$optionlienquan=array('conditions' => array('Product.productcate_id' => $product['Product']['productcate_id'],'Product.published'=>1),
$slug = 'rong-bien-sanna-loc-6-chai-sarl' $sqltop = array( 'fields' => array( (int) 0 => 'Photo.photo', (int) 1 => 'Photo.photobottom', (int) 2 => 'Photo.name_vie as name' ), 'conditions' => array( 'Photo.position' => 'thongtincongty' ) ) $top = array( 'Photo' => array( 'photo' => 'Option_01_YSKH_1920x480.jpg', 'photobottom' => 'internal-footer-img.png', 'name' => 'Thông tin công ty' ) ) $option = array( 'conditions' => array( 'Product.slug' => 'rong-bien-sanna-loc-6-chai-sarl', 'Product.published' => (int) 1 ), 'fields' => array( (int) 0 => 'Product.id', (int) 1 => 'Product.name_vie as name', (int) 2 => 'Product.link', (int) 3 => 'Product.photo', (int) 4 => 'Product.photo1', (int) 5 => 'Product.photo2', (int) 6 => 'Product.link', (int) 7 => 'Product.photo3', (int) 8 => 'Product.photo4', (int) 9 => 'Product.photo5', (int) 10 => 'Product.price_vie as price', (int) 11 => 'Product.productcate_id', (int) 12 => 'Product.description_vie as description', (int) 13 => 'Product.luuy_vie as luuy', (int) 14 => 'Product.noibat_vie as noibat', (int) 15 => 'Product.content_vie as content', (int) 16 => 'Product.slug' ) ) $product = array()ProductsController::view() - APP\Controller\ProductsController.php, line 287 ReflectionMethod::invokeArgs() - [internal], line ?? Controller::invokeAction() - CORE\Cake\Controller\Controller.php, line 490 Dispatcher::_invoke() - CORE\Cake\Routing\Dispatcher.php, line 191 Dispatcher::dispatch() - CORE\Cake\Routing\Dispatcher.php, line 165 [main] - APP\webroot\index.php, line 108
Warning (2): Cannot modify header information - headers already sent by (output started at E:\xampp\htdocs\yensao2019\lib\Cake\Utility\Debugger.php:801) [CORE\Cake\Network\CakeResponse.php, line 448]Code Context$name, $c['value'], $c['expire'], $c['path'],
$c['domain'], $c['secure'], $c['httpOnly']
);
$name = 'CakeCookie[lang]' $c = array( 'name' => 'CakeCookie[lang]', 'value' => 'Q2FrZQ==.94qh', 'expire' => '1735549246', 'path' => '/', 'domain' => '', 'secure' => false, 'httpOnly' => false )setcookie - [internal], line ?? CakeResponse::_setCookies() - CORE\Cake\Network\CakeResponse.php, line 448 CakeResponse::send() - CORE\Cake\Network\CakeResponse.php, line 418 ExceptionRenderer::_outputMessage() - CORE\Cake\Error\ExceptionRenderer.php, line 280 ExceptionRenderer::error400() - CORE\Cake\Error\ExceptionRenderer.php, line 222 ExceptionRenderer::render() - CORE\Cake\Error\ExceptionRenderer.php, line 176 ErrorHandler::handleException() - CORE\Cake\Error\ErrorHandler.php, line 119 [main] - [internal], line ??
Error: The requested address '/Products/view/rong-bien-sanna-loc-6-chai-sarl' was not found on this server.
'rong-bien-sanna-loc-6-chai-sarl'
'action' => $request->params['action']
));
}
return $method->invokeArgs($this, $request->params['pass']);
object(ProductsController) { components => array( [maximum depth reached] ) name => 'Products' uses => array( [maximum depth reached] ) helpers => array( [maximum depth reached] ) lang => 'vie' linkanh => '/img/' request => object(CakeRequest) {} response => object(CakeResponse) {} viewPath => 'Products' layoutPath => null viewVars => array( [maximum depth reached] ) view => 'view' layout => 'index' autoRender => true autoLayout => true Components => object(ComponentCollection) {} viewClass => 'View' View => null ext => '.ctp' plugin => null cacheAction => false passedArgs => array( [maximum depth reached] ) scaffold => false methods => array( [maximum depth reached] ) modelClass => 'Photo' modelKey => 'product' validationErrors => null Session => object(SessionComponent) {} Acl => object(AclComponent) {} Auth => object(AuthComponent) {} Cookie => object(CookieComponent) {} Paginator => object(PaginatorComponent) {} Upload => object(UploadComponent) {} Cart => object(Cart) {} Newscate => object(Newscate) {} Product => object(Product) {} Photo => object(AppModel) {} [protected] _responseClass => 'CakeResponse' [protected] _mergeParent => 'AppController' [protected] _eventManager => object(CakeEventManager) {} } array( (int) 0 => 'rong-bien-sanna-loc-6-chai-sarl' )
$response = $controller->response;
$render = true;
$result = $controller->invokeAction($request);
if ($result instanceof CakeResponse) {
object(CakeRequest) { params => array( [maximum depth reached] ) data => array([maximum depth reached]) query => array([maximum depth reached]) url => 'Products/view/rong-bien-sanna-loc-6-chai-sarl' base => '' webroot => '/' here => '/Products/view/rong-bien-sanna-loc-6-chai-sarl' [protected] _detectors => array( [maximum depth reached] ) [protected] _input => '' }
));
}
$response = $this->_invoke($controller, $request);
if (isset($request->params['return'])) {
object(ProductsController) { components => array( [maximum depth reached] ) name => 'Products' uses => array( [maximum depth reached] ) helpers => array( [maximum depth reached] ) lang => 'vie' linkanh => '/img/' request => object(CakeRequest) {} response => object(CakeResponse) {} viewPath => 'Products' layoutPath => null viewVars => array( [maximum depth reached] ) view => 'view' layout => 'index' autoRender => true autoLayout => true Components => object(ComponentCollection) {} viewClass => 'View' View => null ext => '.ctp' plugin => null cacheAction => false passedArgs => array( [maximum depth reached] ) scaffold => false methods => array( [maximum depth reached] ) modelClass => 'Photo' modelKey => 'product' validationErrors => null Session => object(SessionComponent) {} Acl => object(AclComponent) {} Auth => object(AuthComponent) {} Cookie => object(CookieComponent) {} Paginator => object(PaginatorComponent) {} Upload => object(UploadComponent) {} Cart => object(Cart) {} Newscate => object(Newscate) {} Product => object(Product) {} Photo => 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 => 'Products/view/rong-bien-sanna-loc-6-chai-sarl' base => '' webroot => '/' here => '/Products/view/rong-bien-sanna-loc-6-chai-sarl' [protected] _detectors => array( [maximum depth reached] ) [protected] _input => '' }
$Dispatcher->dispatch(
new CakeRequest(),
new CakeResponse()
);
object(CakeRequest) { params => array( [maximum depth reached] ) data => array([maximum depth reached]) query => array([maximum depth reached]) url => 'Products/view/rong-bien-sanna-loc-6-chai-sarl' base => '' webroot => '/' here => '/Products/view/rong-bien-sanna-loc-6-chai-sarl' [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] ) }
Giấy phép thiết lập trang tin điện tử trên internet số: 10/GP-STTTT do Sở Thông tin và Truyền thông tỉnh Khánh Hòa cấp ngày 08/08/2024.
Chịu trách nhiệm nội dung: Trịnh Thị Hồng Vân - Chủ tịch Hội đồng thành viên
Địa chỉ: 248 Thống Nhất - Phường Phương Sài - Tp.Nha Trang - Tỉnh Khánh Hòa. | Điện thoại: 0258.3822472 - Fax: 0258.3829267
Email: yensaokh@yensaokhanhhoa.com.vn