Notice (8): Undefined offset: 0 [CORE/cake/libs/model/datasources/dbo_source.php, line 2186]Code | Context
if (is_array($conditions) && !empty($conditions)) {
$out = $this->conditionKeysToString($conditions, $quoteValues, $model);
$conditions = array( "Web.status" => 1, "or" => array() ) $quoteValues = true $model = AppModel AppModel::$useDbConfig = "default" AppModel::$useTable = "webs" AppModel::$displayField = "id" AppModel::$id = false AppModel::$data = array AppModel::$table = "webs" AppModel::$primaryKey = "id" AppModel::$_schema = array AppModel::$validate = array AppModel::$validationErrors = array AppModel::$tablePrefix = "" AppModel::$name = "Web" AppModel::$alias = "Web" AppModel::$tableToModel = array AppModel::$logTransactions = false AppModel::$cacheQueries = false AppModel::$belongsTo = array AppModel::$hasOne = array AppModel::$hasMany = array AppModel::$hasAndBelongsToMany = array AppModel::$actsAs = NULL AppModel::$Behaviors = BehaviorCollection object AppModel::$whitelist = array AppModel::$cacheSources = true AppModel::$findQueryType = "count" AppModel::$recursive = 1 AppModel::$order = NULL AppModel::$virtualFields = array AppModel::$__associationKeys = array AppModel::$__associations = array AppModel::$__backAssociation = array AppModel::$__insertID = NULL AppModel::$__numRows = NULL AppModel::$__affectedRows = NULL AppModel::$__safeUpdateMode = false AppModel::$_findMethods = array $c = 1 $out = array( "`Web`.`status` = 1" ) $data = null $columnType = null $bool = array( "and", "or", "not", "and not", "or not", "xor", "||", "&&" ) $key = "or" $value = array() $join = " OR " $not = null $valueCount = 0 $valueInsert = falseDboSource::conditionKeysToString() - CORE/cake/libs/model/datasources/dbo_source.php, line 2186 DboSource::conditions() - CORE/cake/libs/model/datasources/dbo_source.php, line 2112 DboSource::buildStatement() - CORE/cake/libs/model/datasources/dbo_source.php, line 1473 DboSource::generateAssociationQuery() - CORE/cake/libs/model/datasources/dbo_source.php, line 1263 DboSource::read() - CORE/cake/libs/model/datasources/dbo_source.php, line 819 Model::find() - CORE/cake/libs/model/model.php, line 2153 WebController::index() - APP/controllers/web_controller.php, line 41 Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 204 Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 171 [main] - APP/webroot/index.php, line 86
Warning (512): SQL Error: 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 '' at line 1 [CORE/cake/libs/model/datasources/dbo_source.php, line 684]Code | Context
if ($this->error) {
$this->showQuery($sql);
$sql = "SELECT COUNT(*) AS `count` FROM `webs` AS `Web` WHERE `Web`.`status` = 1 AND " $error = "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 '' at line 1" $out = nullDboSource::showQuery() - CORE/cake/libs/model/datasources/dbo_source.php, line 684 DboSource::execute() - CORE/cake/libs/model/datasources/dbo_source.php, line 266 DboSource::fetchAll() - CORE/cake/libs/model/datasources/dbo_source.php, line 410 DboSource::read() - CORE/cake/libs/model/datasources/dbo_source.php, line 821 Model::find() - CORE/cake/libs/model/model.php, line 2153 WebController::index() - APP/controllers/web_controller.php, line 41 Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 204 Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 171 [main] - APP/webroot/index.php, line 86
Query: SELECT COUNT(*) AS `count` FROM `webs` AS `Web` WHERE `Web`.`status` = 1 AND
Warning (512): SQL Error: 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 'ORDER BY `Web`.`id` DESC LIMIT 16' at line 1 [CORE/cake/libs/model/datasources/dbo_source.php, line 684]Code | Context
if ($this->error) {
$this->showQuery($sql);
$sql = "SELECT `Web`.`id`, `Web`.`cat_id`, `Web`.`package`, `Web`.`alias`, `Web`.`source`, `Web`.`demo_link`, `Web`.`op`, `Web`.`tag`, `Web`.`price`, `Web`.`home`, `Web`.`status`, `Web`.`meta_des`, `Web`.`introduction`, `Web`.`note`, `Web`.`image1`, `Web`.`image2`, `Web`.`image3`, `Web`.`created` FROM `webs` AS `Web` WHERE `Web`.`status` = 1 AND ORDER BY `Web`.`id` DESC LIMIT 16" $error = "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 'ORDER BY `Web`.`id` DESC LIMIT 16' at line 1" $out = nullDboSource::showQuery() - CORE/cake/libs/model/datasources/dbo_source.php, line 684 DboSource::execute() - CORE/cake/libs/model/datasources/dbo_source.php, line 266 DboSource::fetchAll() - CORE/cake/libs/model/datasources/dbo_source.php, line 410 DboSource::read() - CORE/cake/libs/model/datasources/dbo_source.php, line 821 Model::find() - CORE/cake/libs/model/model.php, line 2153 WebController::index() - APP/controllers/web_controller.php, line 42 Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 204 Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 171 [main] - APP/webroot/index.php, line 86
Query: SELECT `Web`.`id`, `Web`.`cat_id`, `Web`.`package`, `Web`.`alias`, `Web`.`source`, `Web`.`demo_link`, `Web`.`op`, `Web`.`tag`, `Web`.`price`, `Web`.`home`, `Web`.`status`, `Web`.`meta_des`, `Web`.`introduction`, `Web`.`note`, `Web`.`image1`, `Web`.`image2`, `Web`.`image3`, `Web`.`created` FROM `webs` AS `Web` WHERE `Web`.`status` = 1 AND ORDER BY `Web`.`id` DESC LIMIT 16
Hãy lựa chọn một theme phù hợp với cửa hàng kinh doanh Online của bạn!
Warning (2): Invalid argument supplied for foreach() [APP/views/web/index.ctp, line 183]Code | Context
if (Configure::read() > 0) {
include ($___viewFn);
$___viewFn = "/home/dimgroup/web/web.dim.vn/public_html/app/views/web/index.ctp" $___dataForView = array( "cathot" => array( array(), array(), array(), array(), array(), array(), array(), array(), array(), array(), array(), array() ), "slide_web" => array( array(), array(), array(), array(), array(), array(), array(), array(), array(), array() ), "totalweb" => 86, "nav" => array( array(), array() ), "tab" => "573", "webs" => false, "countweb" => false, "title_for_key" => "", "title_for_des" => "", "title_for_layout" => "Thanh toán - Vận chuyển" ) $loadHelpers = true $cached = false $captcha = CaptchaHelper CaptchaHelper::$helpers = array CaptchaHelper::$base = "" CaptchaHelper::$webroot = "/" CaptchaHelper::$theme = NULL CaptchaHelper::$here = "/kho-giao-dien/thanh-toan-van-chuyen/" CaptchaHelper::$params = array CaptchaHelper::$action = "index" CaptchaHelper::$plugin = NULL CaptchaHelper::$data = NULL CaptchaHelper::$namedArgs = NULL CaptchaHelper::$argSeparator = NULL CaptchaHelper::$validationErrors = NULL CaptchaHelper::$tags = array CaptchaHelper::$__tainted = NULL CaptchaHelper::$__cleaned = NULL CaptchaHelper::$Html = HtmlHelper object CaptchaHelper::$Form = FormHelper object $dimvn = DimvnHelper DimvnHelper::$helpers = NULL DimvnHelper::$base = "" DimvnHelper::$webroot = "/" DimvnHelper::$theme = NULL DimvnHelper::$here = "/kho-giao-dien/thanh-toan-van-chuyen/" DimvnHelper::$params = array DimvnHelper::$action = "index" DimvnHelper::$plugin = NULL DimvnHelper::$data = NULL DimvnHelper::$namedArgs = NULL DimvnHelper::$argSeparator = NULL DimvnHelper::$validationErrors = NULL DimvnHelper::$tags = array DimvnHelper::$__tainted = NULL DimvnHelper::$__cleaned = NULL $javascript = JavascriptHelper JavascriptHelper::$useNative = true JavascriptHelper::$enabled = true JavascriptHelper::$safe = false JavascriptHelper::$tags = array JavascriptHelper::$_blockOptions = array JavascriptHelper::$_cachedEvents = array JavascriptHelper::$_cacheEvents = false JavascriptHelper::$_cacheToFile = false JavascriptHelper::$_cacheAll = false JavascriptHelper::$_rules = array JavascriptHelper::$__scriptBuffer = NULL JavascriptHelper::$helpers = NULL JavascriptHelper::$base = "" JavascriptHelper::$webroot = "/" JavascriptHelper::$theme = NULL JavascriptHelper::$here = "/kho-giao-dien/thanh-toan-van-chuyen/" JavascriptHelper::$params = array JavascriptHelper::$action = "index" JavascriptHelper::$plugin = NULL JavascriptHelper::$data = NULL JavascriptHelper::$namedArgs = NULL JavascriptHelper::$argSeparator = NULL JavascriptHelper::$validationErrors = NULL JavascriptHelper::$__tainted = NULL JavascriptHelper::$__cleaned = NULL $time = TimeHelper TimeHelper::$helpers = NULL TimeHelper::$base = "" TimeHelper::$webroot = "/" TimeHelper::$theme = NULL TimeHelper::$here = "/kho-giao-dien/thanh-toan-van-chuyen/" TimeHelper::$params = array TimeHelper::$action = "index" TimeHelper::$plugin = NULL TimeHelper::$data = NULL TimeHelper::$namedArgs = NULL TimeHelper::$argSeparator = NULL TimeHelper::$validationErrors = NULL TimeHelper::$tags = array TimeHelper::$__tainted = NULL TimeHelper::$__cleaned = NULL $jqueryEngine = JqueryEngineHelper JqueryEngineHelper::$_optionMap = array JqueryEngineHelper::$_callbackArguments = array JqueryEngineHelper::$jQueryObject = "$" JqueryEngineHelper::$useNative = true JqueryEngineHelper::$selection = NULL JqueryEngineHelper::$bufferedMethods = array JqueryEngineHelper::$helpers = NULL JqueryEngineHelper::$base = "" JqueryEngineHelper::$webroot = "/" JqueryEngineHelper::$theme = NULL JqueryEngineHelper::$here = "/kho-giao-dien/thanh-toan-van-chuyen/" JqueryEngineHelper::$params = array JqueryEngineHelper::$action = "index" JqueryEngineHelper::$plugin = NULL JqueryEngineHelper::$data = NULL JqueryEngineHelper::$namedArgs = NULL JqueryEngineHelper::$argSeparator = NULL JqueryEngineHelper::$validationErrors = NULL JqueryEngineHelper::$tags = array JqueryEngineHelper::$__tainted = NULL JqueryEngineHelper::$__cleaned = NULL $js = JsHelper JsHelper::$bufferScripts = true JsHelper::$helpers = array JsHelper::$__jsVars = array JsHelper::$__bufferedScripts = array JsHelper::$__engineName = "JqueryEngine" JsHelper::$setVariable = "app" JsHelper::$base = "" JsHelper::$webroot = "/" JsHelper::$theme = NULL JsHelper::$here = "/kho-giao-dien/thanh-toan-van-chuyen/" JsHelper::$params = array JsHelper::$action = "index" JsHelper::$plugin = NULL JsHelper::$data = NULL JsHelper::$namedArgs = NULL JsHelper::$argSeparator = NULL JsHelper::$validationErrors = NULL JsHelper::$tags = array JsHelper::$__tainted = NULL JsHelper::$__cleaned = NULL JsHelper::$Html = HtmlHelper object JsHelper::$Form = FormHelper object JsHelper::$JqueryEngine = JqueryEngineHelper object $text = TextHelper TextHelper::$helpers = NULL TextHelper::$base = "" TextHelper::$webroot = "/" TextHelper::$theme = NULL TextHelper::$here = "/kho-giao-dien/thanh-toan-van-chuyen/" TextHelper::$params = array TextHelper::$action = "index" TextHelper::$plugin = NULL TextHelper::$data = NULL TextHelper::$namedArgs = NULL TextHelper::$argSeparator = NULL TextHelper::$validationErrors = NULL TextHelper::$tags = array TextHelper::$__tainted = NULL TextHelper::$__cleaned = NULL $session = SessionHelper SessionHelper::$helpers = array SessionHelper::$__active = true SessionHelper::$valid = false SessionHelper::$error = false SessionHelper::$_userAgent = "c6b507844208949a419c20f24724401b" SessionHelper::$path = "/" SessionHelper::$lastError = NULL SessionHelper::$security = "low" SessionHelper::$time = 1728602304 SessionHelper::$sessionTime = 1728656304 SessionHelper::$cookieLifeTime = false SessionHelper::$watchKeys = array SessionHelper::$id = NULL SessionHelper::$host = NULL SessionHelper::$timeout = NULL SessionHelper::$base = "" SessionHelper::$webroot = "/" SessionHelper::$here = "/kho-giao-dien/thanh-toan-van-chuyen/" SessionHelper::$params = array SessionHelper::$action = "index" SessionHelper::$data = NULL SessionHelper::$theme = NULL SessionHelper::$plugin = NULL $form = FormHelper FormHelper::$helpers = array FormHelper::$fieldset = array FormHelper::$__options = array FormHelper::$fields = array FormHelper::$requestType = NULL FormHelper::$defaultModel = NULL FormHelper::$_inputDefaults = array FormHelper::$_lastAction = "" FormHelper::$base = "" FormHelper::$webroot = "/" FormHelper::$theme = NULL FormHelper::$here = "/kho-giao-dien/thanh-toan-van-chuyen/" FormHelper::$params = array FormHelper::$action = "index" FormHelper::$plugin = NULL FormHelper::$data = NULL FormHelper::$namedArgs = NULL FormHelper::$argSeparator = NULL FormHelper::$validationErrors = NULL FormHelper::$tags = array FormHelper::$__tainted = NULL FormHelper::$__cleaned = NULL FormHelper::$Html = HtmlHelper object $html = HtmlHelper HtmlHelper::$tags = array HtmlHelper::$_crumbs = array HtmlHelper::$__includedScripts = array HtmlHelper::$_scriptBlockOptions = array HtmlHelper::$__docTypes = array HtmlHelper::$helpers = NULL HtmlHelper::$base = "" HtmlHelper::$webroot = "/" HtmlHelper::$theme = NULL HtmlHelper::$here = "/kho-giao-dien/thanh-toan-van-chuyen/" HtmlHelper::$params = array HtmlHelper::$action = "index" HtmlHelper::$plugin = NULL HtmlHelper::$data = NULL HtmlHelper::$namedArgs = NULL HtmlHelper::$argSeparator = NULL HtmlHelper::$validationErrors = NULL HtmlHelper::$__tainted = NULL HtmlHelper::$__cleaned = NULL $cathot = array( array( "Category" => array() ), array( "Category" => array() ), array( "Category" => array() ), array( "Category" => array() ), array( "Category" => array() ), array( "Category" => array() ), array( "Category" => array() ), array( "Category" => array() ), array( "Category" => array() ), array( "Category" => array() ), array( "Category" => array() ), array( "Category" => array() ) ) $slide_web = array( array( "Web" => array() ), array( "Web" => array() ), array( "Web" => array() ), array( "Web" => array() ), array( "Web" => array() ), array( "Web" => array() ), array( "Web" => array() ), array( "Web" => array() ), array( "Web" => array() ), array( "Web" => array() ) ) $totalweb = 86 $nav = array( array( "Category" => array() ), array( "Category" => array() ) ) $tab = "573" $webs = false $countweb = false $title_for_key = "" $title_for_des = "" $title_for_layout = "Thanh toán - Vận chuyển" $value = array( "Web" => array( "id" => "79", "cat_id" => "[539],[544],[545]", "package" => "Cửa hàng điện thoại", "alias" => "cua-hang-dien-thoai", "source" => "d68_46", "demo_link" => "d46.d68.vn", "op" => "2", "tag" => "bán hàng,đồ công nghệ,camera,laptop,điện thoại,máy tính", "price" => "500000", "home" => "1", "status" => "1", "meta_des" => "", "introduction" => "", "note" => "", "image1" => "https://api.dim.vn/sys/f/634546cf1fbb14c2a8abc986dba3da6e-DIM_11042018_1942_6e2f8f.jpg", "image2" => "https://api.dim.vn/sys/f/634546cf1fbb14c2a8abc986dba3da6e-DIM_21122018_820_0e8fc0.jpg", "image3" => "https://api.dim.vn/sys/f/634546cf1fbb14c2a8abc986dba3da6e-DIM_11042018_1943_2b0ebd.jpg", "created" => "2017-08-11" ) ) $key = 1 $cat2 = array( "Category" => array( "id" => "545", "parent_id" => "537", "lft" => "251", "rght" => "252", "name" => "Bán hàng khác", "nameseo" => "", "alias" => "ban-hang-khac", "status" => "1", "order" => "8", "level" => "2", "meta_key" => "lĩnh vực,bán hàng,khác,dim group", "meta_des" => "Kho giao diện về các chuyên mục bán hàng khác", "web" => "web.dim.vn", "home" => null, "content" => "", "image" => "https://api.dim.vn/sys/f/634546cf1fbb14c2a8abc986dba3da6e-DIM_28032018_1420_3ec069.jpg", "created" => "2017-05-15" ) ) $value2 = array( "Category" => array( "id" => "537", "parent_id" => "534", "lft" => "236", "rght" => "253", "name" => "Bán hàng", "nameseo" => null, "alias" => "ban-hang", "status" => "1", "order" => "3", "level" => "1", "meta_key" => "Bán hàng", "meta_des" => "Bán hàng", "web" => "web.dim.vn", "home" => "0", "content" => null, "image" => null, "created" => "2017-05-15" ) ) $key2 = 1 $cat3 = array( "Category" => array( "id" => "545", "parent_id" => "537", "lft" => "251", "rght" => "252", "name" => "Bán hàng khác", "nameseo" => "", "alias" => "ban-hang-khac", "status" => "1", "order" => "8", "level" => "2", "meta_key" => "lĩnh vực,bán hàng,khác,dim group", "meta_des" => "Kho giao diện về các chuyên mục bán hàng khác", "web" => "web.dim.vn", "home" => null, "content" => "", "image" => "https://api.dim.vn/sys/f/634546cf1fbb14c2a8abc986dba3da6e-DIM_28032018_1420_3ec069.jpg", "created" => "2017-05-15" ) )include - APP/views/web/index.ctp, line 183 View::_render() - CORE/cake/libs/view/view.php, line 736 View::render() - CORE/cake/libs/view/view.php, line 431 Controller::render() - CORE/cake/libs/controller/controller.php, line 909 Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 207 Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 171 [main] - APP/webroot/index.php, line 86