Notice (8): Undefined index: Boduong [APP\Controller\BoduongsController.php, line 95]Code Context//prev data
$optionsPrev = array('fields'=>array('Boduong.name_'.$this->lang.' as name, Boduong.slug,Boduong.photo,Boduong.description_'.$this->lang.' as description,Boduong.content_'.$this->lang.' as content'),
'conditions'=> array('Boduong.id<'.$data['Boduong']['id']));
$slug = 'nha-may-che-bien-nguyen-lieu-yen-sao-khanh-hoa-vinh-du-nhan-duoc-chung-nhan-tieu-chuan-iso-9001-2008_20151202' $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' ) ) $sqltintucnoibat = array( 'fields' => array( (int) 0 => 'Boduong.id', (int) 1 => 'Boduong.description_vie as description', (int) 2 => 'Boduong.photo', (int) 3 => 'Boduong.thumb', (int) 4 => 'Boduong.name_vie as name', (int) 5 => 'Boduong.slug' ), 'order' => array( 'Boduong.ordering' => 'DESC' ), 'conditions' => array( 'Boduong.published' => (int) 1, 'Boduong.hot' => (int) 1 ), 'limit' => (int) 5 ) $tinnoibat = array( (int) 0 => array( 'Boduong' => array( 'id' => '70', 'description' => '', 'photo' => 'Hinh_Bo_duong_Yen_sao715x600px.jpg', 'thumb' => 'Hinh_Bo_duong_Yen_sao715x600px.jpg', 'name' => 'SỬ DỤNG YẾN SÀO TĂNG SỨC ĐỀ KHÁNG PHÒNG NGỪA COVID-19 VỪA KHỎE LẠI ĐẸP', 'slug' => 'su-dung-yen-sao-tang-suc-de-khang-phong-ngua-covid-19-vua-khoe-lai-dep_20210809' ) ), (int) 1 => array( 'Boduong' => array( 'id' => '24', 'description' => '', 'photo' => 'TINH-HOA-CUA-DAO.jpg', 'thumb' => 'TINH-HOA-CUA-DAO.jpg', 'name' => 'Yến sào đảo thiên nhiên Khánh Hòa - Sự tin tưởng đến từ chất lượng', 'slug' => 'yen-sao-dao-thien-nhien-khanh-hoa-su-tin-tuong-den-tu-chat-luong_20160411' ) ), (int) 2 => array( 'Boduong' => array( 'id' => '23', 'description' => '', 'photo' => 'BoDuongYSKH.jpg', 'thumb' => 'BoDuongYSKH.jpg', 'name' => 'Yến sào đảo thiên nhiên Khánh Hòa nhiều lợi ích cho sức khoẻ và sắc đẹp', 'slug' => 'yen-sao-dao-thien-nhien-khanh-hoa-nhieu-loi-ich-cho-suc-khoe-sac-dep_20160324' ) ), (int) 3 => array( 'Boduong' => array( 'id' => '15', 'description' => 'Mọi đối tượng, lứa tuổi đều dùng được yến sào. Với người lớn tuổi, bụng yếu nên thêm một lát gừng mỏng khi chế biến để dùng cho ấm bụng.', 'photo' => 'monan.jpg', 'thumb' => 'monan.jpg', 'name' => 'Giá trị của Yến sào đảo thiên nhiên Khánh Hòa', 'slug' => 'gia-tri-cua-yen-sao-dao-thien-nhien-khanh-hoa_20151217' ) ), (int) 4 => array( 'Boduong' => array( 'id' => '12', 'description' => 'Chọn yến sào làm quà tặng sức khỏe để báo hiếu, kính dâng lên ông bà, bố mẹ nhân dịp lễ Vu Lan là điều khiến nhiều người băn khoăn, lúng túng vì không biết làm sao để mua được loại yến chất lượng tốt. Và, Yến sào Khánh Hòa là sự đảm bảo đáng tin cậy, có thể đánh bật nỗi lo ấy.', 'photo' => 'kylucmoi.jpg', 'thumb' => 'kylucmoi.jpg', 'name' => 'Uy tín chất lượng vì sức khỏe cộng đồng', 'slug' => 'uy-tin-chat-luong-vi-suc-khoe-cong-dong_20151217' ) ) ) $options = array( 'fields' => array( (int) 0 => 'Boduong.photo', (int) 1 => 'Boduong.slug', (int) 2 => 'Boduong.name_vie as name,Boduong.id,Boduong.description_vie as description,Boduong.content_vie as content' ), 'conditions' => array( 'Boduong.published' => (int) 1, 'Boduong.slug' => 'nha-may-che-bien-nguyen-lieu-yen-sao-khanh-hoa-vinh-du-nhan-duoc-chung-nhan-tieu-chuan-iso-9001-2008_20151202' ) ) $data = array()BoduongsController::view() - APP\Controller\BoduongsController.php, line 95 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' => '1733194504', '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::pdoError() - CORE\Cake\Error\ExceptionRenderer.php, line 267 ExceptionRenderer::render() - CORE\Cake\Error\ExceptionRenderer.php, line 176 ErrorHandler::handleException() - CORE\Cake\Error\ErrorHandler.php, line 119 [main] - [internal], line ??
Error: SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'LIMIT 1' at line 1
SQL Query: SELECT Boduong.name_vie as name, Boduong.slug,Boduong.photo,Boduong.description_vie as description,Boduong.content_vie as content FROM `yensaomoi2019`.`ys_boduongs` AS `Boduong` WHERE `Boduong`.`id`< LIMIT 1
Notice: If you want to customize this error message, create app\View\Errors\pdo_error.ctp
try {
$query = $this->_connection->prepare($sql, $prepareOptions);
$query->setFetchMode(PDO::FETCH_LAZY);
if (!$query->execute($params)) {
$this->_results = $query;
array()
$options += array('log' => $this->fullDebug);
$t = microtime(true);
$this->_result = $this->_execute($sql, $params);
'SELECT Boduong.name_vie as name, Boduong.slug,Boduong.photo,Boduong.description_vie as description,Boduong.content_vie as content FROM `yensaomoi2019`.`ys_boduongs` AS `Boduong` WHERE `Boduong`.`id`< LIMIT 1' array()
if ($cache && ($cached = $this->getQueryCache($sql, $params)) !== false) {
return $cached;
}
$result = $this->execute($sql, array(), $params);
if ($result) {
'SELECT Boduong.name_vie as name, Boduong.slug,Boduong.photo,Boduong.description_vie as description,Boduong.content_vie as content FROM `yensaomoi2019`.`ys_boduongs` AS `Boduong` WHERE `Boduong`.`id`< LIMIT 1' array() array()
// Build SQL statement with the primary model, plus hasOne and belongsTo associations
$query = $this->buildAssociationQuery($Model, $queryData);
$resultSet = $this->fetchAll($query, $Model->cacheQueries);
unset($query);
'SELECT Boduong.name_vie as name, Boduong.slug,Boduong.photo,Boduong.description_vie as description,Boduong.content_vie as content FROM `yensaomoi2019`.`ys_boduongs` AS `Boduong` WHERE `Boduong`.`id`< LIMIT 1' false
* @return array
*/
protected function _readDataSource($type, $query) {
$results = $this->getDataSource()->read($this, $query);
$this->resetAssociations();
object(AppModel) { useDbConfig => 'default' useTable => 'boduongs' id => false data => array([maximum depth reached]) schemaName => 'yensaomoi2019' table => 'boduongs' primaryKey => 'id' validate => array([maximum depth reached]) validationErrors => array([maximum depth reached]) validationDomain => null plugin => null name => 'Boduong' alias => 'Boduong' tableToModel => array( [maximum depth reached] ) cacheQueries => false belongsTo => array([maximum depth reached]) hasOne => array([maximum depth reached]) hasMany => array([maximum depth reached]) hasAndBelongsToMany => array([maximum depth reached]) actsAs => null Behaviors => object(BehaviorCollection) {} whitelist => array([maximum depth reached]) cacheSources => true findQueryType => 'first' recursive => (int) 1 order => null virtualFields => array([maximum depth reached]) __backAssociation => array([maximum depth reached]) __backInnerAssociation => array([maximum depth reached]) __backOriginalAssociation => array([maximum depth reached]) __backContainableAssociation => array([maximum depth reached]) __safeUpdateMode => false findMethods => array( [maximum depth reached] ) slug => 'nha-may-che-bien-nguyen-lieu-yen-sao-khanh-hoa-vinh-du-nhan-duoc-chung-nhan-tieu-chuan-iso-9001-2008_20151202' tablePrefix => 'ys_' [protected] _schema => array( [maximum depth reached] ) [protected] _associationKeys => array( [maximum depth reached] ) [protected] _associations => array( [maximum depth reached] ) [protected] _insertID => null [protected] _sourceConfigured => true [protected] _eventManager => object(CakeEventManager) {} [protected] _validator => null } array( 'conditions' => array( (int) 0 => 'Boduong.id<' ), 'fields' => array( (int) 0 => 'Boduong.name_vie as name, Boduong.slug,Boduong.photo,Boduong.description_vie as description,Boduong.content_vie as content' ), 'joins' => array(), 'limit' => (int) 1, 'offset' => null, 'order' => array( (int) 0 => null ), 'page' => (int) 1, 'group' => null, 'callbacks' => true )
return null;
}
return $this->_readDataSource($type, $query);
}
'first' array( 'conditions' => array( (int) 0 => 'Boduong.id<' ), 'fields' => array( (int) 0 => 'Boduong.name_vie as name, Boduong.slug,Boduong.photo,Boduong.description_vie as description,Boduong.content_vie as content' ), 'joins' => array(), 'limit' => (int) 1, 'offset' => null, 'order' => array( (int) 0 => null ), 'page' => (int) 1, 'group' => null, 'callbacks' => true )
$optionsPrev = array('fields'=>array('Boduong.name_'.$this->lang.' as name, Boduong.slug,Boduong.photo,Boduong.description_'.$this->lang.' as description,Boduong.content_'.$this->lang.' as content'),
'conditions'=> array('Boduong.id<'.$data['Boduong']['id']));
if($optionsPrev) {
$dataprev=$this->Boduong->find('first', $optionsPrev);
}else{
'first' array( 'fields' => array( (int) 0 => 'Boduong.name_vie as name, Boduong.slug,Boduong.photo,Boduong.description_vie as description,Boduong.content_vie as content' ), 'conditions' => array( (int) 0 => 'Boduong.id<' ) )
'nha-may-che-bien-nguyen-lieu-yen-sao-khanh-hoa-vinh-du-nhan-duoc-chung-nhan-tieu-chuan-iso-9001-2008_20151202'
'action' => $request->params['action']
));
}
return $method->invokeArgs($this, $request->params['pass']);
object(BoduongsController) { components => array( [maximum depth reached] ) name => 'Boduongs' uses => array( [maximum depth reached] ) helpers => array( [maximum depth reached] ) lang => 'vie' linkanh => '/img/' request => object(CakeRequest) {} response => object(CakeResponse) {} viewPath => 'Boduongs' 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 => 'boduong' 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) {} Boduong => object(AppModel) {} Photo => object(AppModel) {} [protected] _responseClass => 'CakeResponse' [protected] _mergeParent => 'AppController' [protected] _eventManager => object(CakeEventManager) {} } array( (int) 0 => 'nha-may-che-bien-nguyen-lieu-yen-sao-khanh-hoa-vinh-du-nhan-duoc-chung-nhan-tieu-chuan-iso-9001-2008_20151202' )
$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 => 'Boduongs/view/nha-may-che-bien-nguyen-lieu-yen-sao-khanh-hoa-vinh-du-nhan-duoc-chung-nhan-tieu-chuan-iso-9001-2008_20151202' base => '' webroot => '/' here => '/Boduongs/view/nha-may-che-bien-nguyen-lieu-yen-sao-khanh-hoa-vinh-du-nhan-duoc-chung-nhan-tieu-chuan-iso-9001-2008_20151202' [protected] _detectors => array( [maximum depth reached] ) [protected] _input => '' }
));
}
$response = $this->_invoke($controller, $request);
if (isset($request->params['return'])) {
object(BoduongsController) { components => array( [maximum depth reached] ) name => 'Boduongs' uses => array( [maximum depth reached] ) helpers => array( [maximum depth reached] ) lang => 'vie' linkanh => '/img/' request => object(CakeRequest) {} response => object(CakeResponse) {} viewPath => 'Boduongs' 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 => 'boduong' 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) {} Boduong => object(AppModel) {} 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 => 'Boduongs/view/nha-may-che-bien-nguyen-lieu-yen-sao-khanh-hoa-vinh-du-nhan-duoc-chung-nhan-tieu-chuan-iso-9001-2008_20151202' base => '' webroot => '/' here => '/Boduongs/view/nha-may-che-bien-nguyen-lieu-yen-sao-khanh-hoa-vinh-du-nhan-duoc-chung-nhan-tieu-chuan-iso-9001-2008_20151202' [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 => 'Boduongs/view/nha-may-che-bien-nguyen-lieu-yen-sao-khanh-hoa-vinh-du-nhan-duoc-chung-nhan-tieu-chuan-iso-9001-2008_20151202' base => '' webroot => '/' here => '/Boduongs/view/nha-may-che-bien-nguyen-lieu-yen-sao-khanh-hoa-vinh-du-nhan-duoc-chung-nhan-tieu-chuan-iso-9001-2008_20151202' [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