Notice (8): Array to string conversion [CORE/cake/libs/controller/controller.php, line 441]Code |
Context$this = LocationsController
LocationsController::$name = "Locations"
LocationsController::$helpers = array
LocationsController::$domain = "http://api.bit.ly/v3/"
LocationsController::$vars = array
LocationsController::$components = array
LocationsController::$_paypal = array
LocationsController::$here = "/blog"
LocationsController::$webroot = "/"
LocationsController::$action = "city"
LocationsController::$uses = false
LocationsController::$params = array
LocationsController::$data = NULL
LocationsController::$paginate = array
LocationsController::$viewPath = "locations"
LocationsController::$layoutPath = NULL
LocationsController::$viewVars = array
LocationsController::$modelNames = array
LocationsController::$base = ""
LocationsController::$layout = "default"
LocationsController::$autoRender = true
LocationsController::$autoLayout = true
LocationsController::$Component = Component object
LocationsController::$view = "View"
LocationsController::$ext = ".ctp"
LocationsController::$output = NULL
LocationsController::$plugin = NULL
LocationsController::$cacheAction = false
LocationsController::$persistModel = false
LocationsController::$passedArgs = array
LocationsController::$scaffold = false
LocationsController::$methods = array
LocationsController::$modelClass = "Location"
LocationsController::$modelKey = "location"
LocationsController::$validationErrors = NULL
LocationsController::$__httpCodes = NULL
$pluginName = ""
$pluginController = null
$appVars = array(
"components" => array(
"PluginHandler",
"Language.Language",
"Auth",
"RequestHandler",
"Session",
"Cookie"
),
"helpers" => array(
"Language.Language",
"Html",
"Form",
"Session"
),
"_paypal" => array(),
"name" => null,
"here" => null,
"webroot" => null,
"action" => null,
"uses" => false,
"params" => array(),
"data" => array(),
"paginate" => array(
"limit" => 20,
"page" => 1
),
"viewPath" => null,
"layoutPath" => null,
"viewVars" => array(),
"modelNames" => array(),
"base" => null,
"layout" => "default",
"autoRender" => true,
"autoLayout" => true,
"Component" => null,
"view" => "View",
"ext" => ".ctp",
"output" => null,
"plugin" => null,
"cacheAction" => false,
"persistModel" => false,
"passedArgs" => array(),
"scaffold" => false,
"methods" => array(),
"modelClass" => null,
"modelKey" => null,
"validationErrors" => null,
"__httpCodes" => null
)
$uses = false
$merge = array(
"components",
"helpers",
"uses"
)
$plugin = null
$var = "helpers"
$normal = array(
"PluginHandler" => null,
"Language.Language" => null,
"Auth" => null,
"RequestHandler" => null,
"Session" => null,
"Cookie" => null
)
$app = array(
"PluginHandler" => null,
"Language.Language" => null,
"Auth" => null,
"RequestHandler" => null,
"Session" => null,
"Cookie" => null
)
array_diff - [internal], line ??
Controller::__mergeVars() - CORE/cake/libs/controller/controller.php, line 441
Controller::constructClasses() - CORE/cake/libs/controller/controller.php, line 486
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 186
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 171
[main] - APP/webroot/index.php, line 108
Warning (2): mysql_connect() [function.mysql-connect]: Can't connect to MySQL server on '127.0.0.1' (111) [CORE/cake/libs/model/datasources/dbo/dbo_mysql.php, line 540]Code |
Context$config = array(
"persistent" => false,
"host" => "127.0.0.1",
"login" => "mde_admin",
"password" => "UzCS13VGg4Ugt41_iseJEacqDslrcbI0Fxf4zVFGsoAqrZoUVP",
"database" => "mde",
"port" => "3306",
"driver" => "mysql",
"prefix" => ""
)
mysql_connect - [internal], line ??
DboMysql::connect() - CORE/cake/libs/model/datasources/dbo/dbo_mysql.php, line 540
DboSource::__construct() - CORE/cake/libs/model/datasources/dbo_source.php, line 143
ConnectionManager::getDataSource() - CORE/cake/libs/model/connection_manager.php, line 114
Model::setDataSource() - CORE/cake/libs/model/model.php, line 2799
Model::__construct() - CORE/cake/libs/model/model.php, line 469
ClassRegistry::init() - CORE/cake/libs/class_registry.php, line 141
Controller::loadModel() - CORE/cake/libs/controller/controller.php, line 641
Controller::constructClasses() - CORE/cake/libs/controller/controller.php, line 497
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 186
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 171
[main] - APP/webroot/index.php, line 108
Warning (2): mysql_select_db() expects parameter 2 to be resource, boolean given [CORE/cake/libs/model/datasources/dbo/dbo_mysql.php, line 546]Code |
Context$config = array(
"persistent" => false,
"host" => "127.0.0.1",
"login" => "mde_admin",
"password" => "UzCS13VGg4Ugt41_iseJEacqDslrcbI0Fxf4zVFGsoAqrZoUVP",
"database" => "mde",
"port" => "3306",
"driver" => "mysql",
"prefix" => "",
"connect" => "mysql_connect"
)
mysql_select_db - [internal], line ??
DboMysql::connect() - CORE/cake/libs/model/datasources/dbo/dbo_mysql.php, line 546
DboSource::__construct() - CORE/cake/libs/model/datasources/dbo_source.php, line 143
ConnectionManager::getDataSource() - CORE/cake/libs/model/connection_manager.php, line 114
Model::setDataSource() - CORE/cake/libs/model/model.php, line 2799
Model::__construct() - CORE/cake/libs/model/model.php, line 469
ClassRegistry::init() - CORE/cake/libs/class_registry.php, line 141
Controller::loadModel() - CORE/cake/libs/controller/controller.php, line 641
Controller::constructClasses() - CORE/cake/libs/controller/controller.php, line 497
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 186
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 171
[main] - APP/webroot/index.php, line 108
Warning (2): mysql_get_server_info() expects parameter 1 to be resource, boolean given [CORE/cake/libs/model/datasources/dbo/dbo_mysql.php, line 554]Code |
Context$config = array(
"persistent" => false,
"host" => "127.0.0.1",
"login" => "mde_admin",
"password" => "UzCS13VGg4Ugt41_iseJEacqDslrcbI0Fxf4zVFGsoAqrZoUVP",
"database" => "mde",
"port" => "3306",
"driver" => "mysql",
"prefix" => "",
"connect" => "mysql_connect"
)
mysql_get_server_info - [internal], line ??
DboMysql::connect() - CORE/cake/libs/model/datasources/dbo/dbo_mysql.php, line 554
DboSource::__construct() - CORE/cake/libs/model/datasources/dbo_source.php, line 143
ConnectionManager::getDataSource() - CORE/cake/libs/model/connection_manager.php, line 114
Model::setDataSource() - CORE/cake/libs/model/model.php, line 2799
Model::__construct() - CORE/cake/libs/model/model.php, line 469
ClassRegistry::init() - CORE/cake/libs/class_registry.php, line 141
Controller::loadModel() - CORE/cake/libs/controller/controller.php, line 641
Controller::constructClasses() - CORE/cake/libs/controller/controller.php, line 497
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 186
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 171
[main] - APP/webroot/index.php, line 108
Warning (2): mysql_query() expects parameter 2 to be resource, boolean given [CORE/cake/libs/model/datasources/dbo/dbo_mysql.php, line 588]Code |
Context$sql = "DESCRIBE `locations`"
mysql_query - [internal], line ??
DboMysql::_execute() - CORE/cake/libs/model/datasources/dbo/dbo_mysql.php, line 588
DboSource::execute() - CORE/cake/libs/model/datasources/dbo_source.php, line 253
DboSource::fetchAll() - CORE/cake/libs/model/datasources/dbo_source.php, line 410
DboSource::query() - CORE/cake/libs/model/datasources/dbo_source.php, line 287
DboMysqlBase::describe() - CORE/cake/libs/model/datasources/dbo/dbo_mysql.php, line 125
Model::schema() - CORE/cake/libs/model/model.php, line 928
Model::setSource() - CORE/cake/libs/model/model.php, line 779
Model::__construct() - CORE/cake/libs/model/model.php, line 474
ClassRegistry::init() - CORE/cake/libs/class_registry.php, line 141
Controller::loadModel() - CORE/cake/libs/controller/controller.php, line 641
Controller::constructClasses() - CORE/cake/libs/controller/controller.php, line 497
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 186
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 171
[main] - APP/webroot/index.php, line 108
Warning (2): mysql_errno() expects parameter 1 to be resource, boolean given [CORE/cake/libs/model/datasources/dbo/dbo_mysql.php, line 667]Codemysql_errno - [internal], line ??
DboMysql::lastError() - CORE/cake/libs/model/datasources/dbo/dbo_mysql.php, line 667
DboSource::execute() - CORE/cake/libs/model/datasources/dbo_source.php, line 257
DboSource::fetchAll() - CORE/cake/libs/model/datasources/dbo_source.php, line 410
DboSource::query() - CORE/cake/libs/model/datasources/dbo_source.php, line 287
DboMysqlBase::describe() - CORE/cake/libs/model/datasources/dbo/dbo_mysql.php, line 125
Model::schema() - CORE/cake/libs/model/model.php, line 928
Model::setSource() - CORE/cake/libs/model/model.php, line 779
Model::__construct() - CORE/cake/libs/model/model.php, line 474
ClassRegistry::init() - CORE/cake/libs/class_registry.php, line 141
Controller::loadModel() - CORE/cake/libs/controller/controller.php, line 641
Controller::constructClasses() - CORE/cake/libs/controller/controller.php, line 497
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 186
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 171
[main] - APP/webroot/index.php, line 108
Warning (2): Invalid argument supplied for foreach() [CORE/cake/libs/model/datasources/dbo/dbo_mysql.php, line 127]Code |
Context $cols = $this->query('DESCRIBE ' . $this->fullTableName($model));
foreach ($cols as $column) {
$model = Location
Location::$name = "Location"
Location::$validate = array
Location::$belongsTo = array
Location::$hasOne = array
Location::$hasMany = array
Location::$actsAs = array
Location::$recursive = 0
Location::$cacheQueries = true
Location::$useDbConfig = "default"
Location::$useTable = "locations"
Location::$displayField = NULL
Location::$id = "blog"
Location::$data = array
Location::$table = "locations"
Location::$primaryKey = "id"
Location::$_schema = NULL
Location::$validationErrors = array
Location::$tablePrefix = ""
Location::$alias = "Location"
Location::$tableToModel = array
Location::$logTransactions = false
Location::$hasAndBelongsToMany = array
Location::$Behaviors = BehaviorCollection object
Location::$whitelist = array
Location::$cacheSources = true
Location::$findQueryType = NULL
Location::$order = NULL
Location::$virtualFields = array
Location::$__associationKeys = array
Location::$__associations = array
Location::$__backAssociation = array
Location::$__insertID = NULL
Location::$__numRows = NULL
Location::$__affectedRows = NULL
Location::$_findMethods = array
$cache = null
$fields = false
$cols = false
DboMysqlBase::describe() - CORE/cake/libs/model/datasources/dbo/dbo_mysql.php, line 127
Model::schema() - CORE/cake/libs/model/model.php, line 928
Model::setSource() - CORE/cake/libs/model/model.php, line 779
Model::__construct() - CORE/cake/libs/model/model.php, line 474
ClassRegistry::init() - CORE/cake/libs/class_registry.php, line 141
Controller::loadModel() - CORE/cake/libs/controller/controller.php, line 641
Controller::constructClasses() - CORE/cake/libs/controller/controller.php, line 497
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 186
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 171
[main] - APP/webroot/index.php, line 108
Warning (2): Cannot modify header information - headers already sent by (output started at /var/www/sites/production/files/cake/libs/debugger.php:673) [CORE/cake/libs/controller/components/cookie.php, line 366]Code |
Context$name = "[return_visitor]"
$value = 1
setcookie - [internal], line ??
CookieComponent::__write() - CORE/cake/libs/controller/components/cookie.php, line 366
CookieComponent::write() - CORE/cake/libs/controller/components/cookie.php, line 216
LocationsController::city() - APP/controllers/locations_controller.php, line 97
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 204
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 171
[main] - APP/webroot/index.php, line 108
Warning (2): array_keys() expects parameter 1 to be array, boolean given [CORE/cake/libs/model/datasources/dbo_source.php, line 1944]Code |
Context$model = Location
Location::$name = "Location"
Location::$validate = array
Location::$belongsTo = array
Location::$hasOne = array
Location::$hasMany = array
Location::$actsAs = array
Location::$recursive = 1
Location::$cacheQueries = true
Location::$useDbConfig = "default"
Location::$useTable = "locations"
Location::$displayField = false
Location::$id = "blog"
Location::$data = array
Location::$table = "locations"
Location::$primaryKey = "id"
Location::$_schema = false
Location::$validationErrors = array
Location::$tablePrefix = ""
Location::$alias = "Location"
Location::$tableToModel = array
Location::$logTransactions = false
Location::$hasAndBelongsToMany = array
Location::$Behaviors = BehaviorCollection object
Location::$whitelist = array
Location::$cacheSources = true
Location::$findQueryType = "first"
Location::$order = NULL
Location::$virtualFields = array
Location::$__associationKeys = array
Location::$__associations = array
Location::$__backAssociation = array
Location::$__insertID = NULL
Location::$__numRows = NULL
Location::$__affectedRows = NULL
Location::$_findMethods = array
Location::$LocationType = LocationType object
Location::$PriceGroup = PriceGroup object
Location::$FeatureDesignationCode = FeatureDesignationCode object
Location::$Region = Region object
Location::$Subregion = AppModel object
Location::$Order = Order object
Location::$Visitor = Visitor object
Location::$Offer = Offer object
Location::$__backContainableAssociation = array
$alias = "Location"
$fields = array()
$quote = true
$this = DboMysql
DboMysql::$description = "MySQL DBO Driver"
DboMysql::$_baseConfig = array
DboMysql::$startQuote = "`"
DboMysql::$endQuote = "`"
DboMysql::$_useAlias = false
DboMysql::$_commands = array
DboMysql::$fieldParameters = array
DboMysql::$tableParameters = array
DboMysql::$columns = array
DboMysql::$index = array
DboMysql::$alias = "AS "
DboMysql::$methodCache = array
DboMysql::$cacheMethods = true
DboMysql::$__bypass = false
DboMysql::$__sqlOps = array
DboMysql::$virtualFieldSeparator = "__"
DboMysql::$connected = false
DboMysql::$fullDebug = false
DboMysql::$error = NULL
DboMysql::$affected = NULL
DboMysql::$numRows = NULL
DboMysql::$took = 0
DboMysql::$_result = NULL
DboMysql::$_queriesCnt = 0
DboMysql::$_queriesTime = NULL
DboMysql::$_queriesLog = array
DboMysql::$_queriesLogMax = 200
DboMysql::$_queryCache = array
DboMysql::$__descriptions = array
DboMysql::$_sources = array
DboMysql::$connection = false
DboMysql::$config = array
DboMysql::$configKeyName = "default"
DboMysql::$_transactionStarted = false
DboMysql::$cacheSources = true
DboMysql::$__booleans = array
array_keys - [internal], line ??
DboSource::fields() - CORE/cake/libs/model/datasources/dbo_source.php, line 1944
DboSource::read() - CORE/cake/libs/model/datasources/dbo_source.php, line 794
Model::find() - CORE/cake/libs/model/model.php, line 2093
LocationsController::city() - APP/controllers/locations_controller.php, line 111
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 204
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 171
[main] - APP/webroot/index.php, line 108
Warning (2): array_keys() expects parameter 1 to be array, boolean given [CORE/cake/libs/model/datasources/dbo_source.php, line 1957]Code |
Context$model = Location
Location::$name = "Location"
Location::$validate = array
Location::$belongsTo = array
Location::$hasOne = array
Location::$hasMany = array
Location::$actsAs = array
Location::$recursive = 1
Location::$cacheQueries = true
Location::$useDbConfig = "default"
Location::$useTable = "locations"
Location::$displayField = false
Location::$id = "blog"
Location::$data = array
Location::$table = "locations"
Location::$primaryKey = "id"
Location::$_schema = false
Location::$validationErrors = array
Location::$tablePrefix = ""
Location::$alias = "Location"
Location::$tableToModel = array
Location::$logTransactions = false
Location::$hasAndBelongsToMany = array
Location::$Behaviors = BehaviorCollection object
Location::$whitelist = array
Location::$cacheSources = true
Location::$findQueryType = "first"
Location::$order = NULL
Location::$virtualFields = array
Location::$__associationKeys = array
Location::$__associations = array
Location::$__backAssociation = array
Location::$__insertID = NULL
Location::$__numRows = NULL
Location::$__affectedRows = NULL
Location::$_findMethods = array
Location::$LocationType = LocationType object
Location::$PriceGroup = PriceGroup object
Location::$FeatureDesignationCode = FeatureDesignationCode object
Location::$Region = Region object
Location::$Subregion = AppModel object
Location::$Order = Order object
Location::$Visitor = Visitor object
Location::$Offer = Offer object
Location::$__backContainableAssociation = array
$alias = "Location"
$fields = array()
$quote = true
$this = DboMysql
DboMysql::$description = "MySQL DBO Driver"
DboMysql::$_baseConfig = array
DboMysql::$startQuote = "`"
DboMysql::$endQuote = "`"
DboMysql::$_useAlias = false
DboMysql::$_commands = array
DboMysql::$fieldParameters = array
DboMysql::$tableParameters = array
DboMysql::$columns = array
DboMysql::$index = array
DboMysql::$alias = "AS "
DboMysql::$methodCache = array
DboMysql::$cacheMethods = true
DboMysql::$__bypass = false
DboMysql::$__sqlOps = array
DboMysql::$virtualFieldSeparator = "__"
DboMysql::$connected = false
DboMysql::$fullDebug = false
DboMysql::$error = NULL
DboMysql::$affected = NULL
DboMysql::$numRows = NULL
DboMysql::$took = 0
DboMysql::$_result = NULL
DboMysql::$_queriesCnt = 0
DboMysql::$_queriesTime = NULL
DboMysql::$_queriesLog = array
DboMysql::$_queriesLogMax = 200
DboMysql::$_queryCache = array
DboMysql::$__descriptions = array
DboMysql::$_sources = array
DboMysql::$connection = false
DboMysql::$config = array
DboMysql::$configKeyName = "default"
DboMysql::$_transactionStarted = false
DboMysql::$cacheSources = true
DboMysql::$__booleans = array
$cacheKey = 2472758518
$allFields = true
array_keys - [internal], line ??
DboSource::fields() - CORE/cake/libs/model/datasources/dbo_source.php, line 1957
DboSource::read() - CORE/cake/libs/model/datasources/dbo_source.php, line 794
Model::find() - CORE/cake/libs/model/model.php, line 2093
LocationsController::city() - APP/controllers/locations_controller.php, line 111
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 204
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 171
[main] - APP/webroot/index.php, line 108
Warning (2): array_filter() expects parameter 1 to be array, null given [CORE/cake/libs/model/datasources/dbo_source.php, line 1961]Code |
Context$model = Location
Location::$name = "Location"
Location::$validate = array
Location::$belongsTo = array
Location::$hasOne = array
Location::$hasMany = array
Location::$actsAs = array
Location::$recursive = 1
Location::$cacheQueries = true
Location::$useDbConfig = "default"
Location::$useTable = "locations"
Location::$displayField = false
Location::$id = "blog"
Location::$data = array
Location::$table = "locations"
Location::$primaryKey = "id"
Location::$_schema = false
Location::$validationErrors = array
Location::$tablePrefix = ""
Location::$alias = "Location"
Location::$tableToModel = array
Location::$logTransactions = false
Location::$hasAndBelongsToMany = array
Location::$Behaviors = BehaviorCollection object
Location::$whitelist = array
Location::$cacheSources = true
Location::$findQueryType = "first"
Location::$order = NULL
Location::$virtualFields = array
Location::$__associationKeys = array
Location::$__associations = array
Location::$__backAssociation = array
Location::$__insertID = NULL
Location::$__numRows = NULL
Location::$__affectedRows = NULL
Location::$_findMethods = array
Location::$LocationType = LocationType object
Location::$PriceGroup = PriceGroup object
Location::$FeatureDesignationCode = FeatureDesignationCode object
Location::$Region = Region object
Location::$Subregion = AppModel object
Location::$Order = Order object
Location::$Visitor = Visitor object
Location::$Offer = Offer object
Location::$__backContainableAssociation = array
$alias = "Location"
$fields = null
$quote = true
$this = DboMysql
DboMysql::$description = "MySQL DBO Driver"
DboMysql::$_baseConfig = array
DboMysql::$startQuote = "`"
DboMysql::$endQuote = "`"
DboMysql::$_useAlias = false
DboMysql::$_commands = array
DboMysql::$fieldParameters = array
DboMysql::$tableParameters = array
DboMysql::$columns = array
DboMysql::$index = array
DboMysql::$alias = "AS "
DboMysql::$methodCache = array
DboMysql::$cacheMethods = true
DboMysql::$__bypass = false
DboMysql::$__sqlOps = array
DboMysql::$virtualFieldSeparator = "__"
DboMysql::$connected = false
DboMysql::$fullDebug = false
DboMysql::$error = NULL
DboMysql::$affected = NULL
DboMysql::$numRows = NULL
DboMysql::$took = 0
DboMysql::$_result = NULL
DboMysql::$_queriesCnt = 0
DboMysql::$_queriesTime = NULL
DboMysql::$_queriesLog = array
DboMysql::$_queriesLogMax = 200
DboMysql::$_queryCache = array
DboMysql::$__descriptions = array
DboMysql::$_sources = array
DboMysql::$connection = false
DboMysql::$config = array
DboMysql::$configKeyName = "default"
DboMysql::$_transactionStarted = false
DboMysql::$cacheSources = true
DboMysql::$__booleans = array
$cacheKey = 2472758518
$allFields = true
array_filter - [internal], line ??
DboSource::fields() - CORE/cake/libs/model/datasources/dbo_source.php, line 1961
DboSource::read() - CORE/cake/libs/model/datasources/dbo_source.php, line 794
Model::find() - CORE/cake/libs/model/model.php, line 2093
LocationsController::city() - APP/controllers/locations_controller.php, line 111
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 204
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 171
[main] - APP/webroot/index.php, line 108
Warning (2): array_values() expects parameter 1 to be array, null given [CORE/cake/libs/model/datasources/dbo_source.php, line 1961]Code |
Context$model = Location
Location::$name = "Location"
Location::$validate = array
Location::$belongsTo = array
Location::$hasOne = array
Location::$hasMany = array
Location::$actsAs = array
Location::$recursive = 1
Location::$cacheQueries = true
Location::$useDbConfig = "default"
Location::$useTable = "locations"
Location::$displayField = false
Location::$id = "blog"
Location::$data = array
Location::$table = "locations"
Location::$primaryKey = "id"
Location::$_schema = false
Location::$validationErrors = array
Location::$tablePrefix = ""
Location::$alias = "Location"
Location::$tableToModel = array
Location::$logTransactions = false
Location::$hasAndBelongsToMany = array
Location::$Behaviors = BehaviorCollection object
Location::$whitelist = array
Location::$cacheSources = true
Location::$findQueryType = "first"
Location::$order = NULL
Location::$virtualFields = array
Location::$__associationKeys = array
Location::$__associations = array
Location::$__backAssociation = array
Location::$__insertID = NULL
Location::$__numRows = NULL
Location::$__affectedRows = NULL
Location::$_findMethods = array
Location::$LocationType = LocationType object
Location::$PriceGroup = PriceGroup object
Location::$FeatureDesignationCode = FeatureDesignationCode object
Location::$Region = Region object
Location::$Subregion = AppModel object
Location::$Order = Order object
Location::$Visitor = Visitor object
Location::$Offer = Offer object
Location::$__backContainableAssociation = array
$alias = "Location"
$fields = null
$quote = true
$this = DboMysql
DboMysql::$description = "MySQL DBO Driver"
DboMysql::$_baseConfig = array
DboMysql::$startQuote = "`"
DboMysql::$endQuote = "`"
DboMysql::$_useAlias = false
DboMysql::$_commands = array
DboMysql::$fieldParameters = array
DboMysql::$tableParameters = array
DboMysql::$columns = array
DboMysql::$index = array
DboMysql::$alias = "AS "
DboMysql::$methodCache = array
DboMysql::$cacheMethods = true
DboMysql::$__bypass = false
DboMysql::$__sqlOps = array
DboMysql::$virtualFieldSeparator = "__"
DboMysql::$connected = false
DboMysql::$fullDebug = false
DboMysql::$error = NULL
DboMysql::$affected = NULL
DboMysql::$numRows = NULL
DboMysql::$took = 0
DboMysql::$_result = NULL
DboMysql::$_queriesCnt = 0
DboMysql::$_queriesTime = NULL
DboMysql::$_queriesLog = array
DboMysql::$_queriesLogMax = 200
DboMysql::$_queryCache = array
DboMysql::$__descriptions = array
DboMysql::$_sources = array
DboMysql::$connection = false
DboMysql::$config = array
DboMysql::$configKeyName = "default"
DboMysql::$_transactionStarted = false
DboMysql::$cacheSources = true
DboMysql::$__booleans = array
$cacheKey = 2472758518
$allFields = true
array_values - [internal], line ??
DboSource::fields() - CORE/cake/libs/model/datasources/dbo_source.php, line 1961
DboSource::read() - CORE/cake/libs/model/datasources/dbo_source.php, line 794
Model::find() - CORE/cake/libs/model/model.php, line 2093
LocationsController::city() - APP/controllers/locations_controller.php, line 111
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 204
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 171
[main] - APP/webroot/index.php, line 108
Warning (2): array_unique() expects parameter 1 to be array, null given [CORE/cake/libs/model/datasources/dbo_source.php, line 2053]Code |
Context$model = Location
Location::$name = "Location"
Location::$validate = array
Location::$belongsTo = array
Location::$hasOne = array
Location::$hasMany = array
Location::$actsAs = array
Location::$recursive = 1
Location::$cacheQueries = true
Location::$useDbConfig = "default"
Location::$useTable = "locations"
Location::$displayField = false
Location::$id = "blog"
Location::$data = array
Location::$table = "locations"
Location::$primaryKey = "id"
Location::$_schema = false
Location::$validationErrors = array
Location::$tablePrefix = ""
Location::$alias = "Location"
Location::$tableToModel = array
Location::$logTransactions = false
Location::$hasAndBelongsToMany = array
Location::$Behaviors = BehaviorCollection object
Location::$whitelist = array
Location::$cacheSources = true
Location::$findQueryType = "first"
Location::$order = NULL
Location::$virtualFields = array
Location::$__associationKeys = array
Location::$__associations = array
Location::$__backAssociation = array
Location::$__insertID = NULL
Location::$__numRows = NULL
Location::$__affectedRows = NULL
Location::$_findMethods = array
Location::$LocationType = LocationType object
Location::$PriceGroup = PriceGroup object
Location::$FeatureDesignationCode = FeatureDesignationCode object
Location::$Region = Region object
Location::$Subregion = AppModel object
Location::$Order = Order object
Location::$Visitor = Visitor object
Location::$Offer = Offer object
Location::$__backContainableAssociation = array
$alias = "Location"
$fields = null
$quote = true
$this = DboMysql
DboMysql::$description = "MySQL DBO Driver"
DboMysql::$_baseConfig = array
DboMysql::$startQuote = "`"
DboMysql::$endQuote = "`"
DboMysql::$_useAlias = false
DboMysql::$_commands = array
DboMysql::$fieldParameters = array
DboMysql::$tableParameters = array
DboMysql::$columns = array
DboMysql::$index = array
DboMysql::$alias = "AS "
DboMysql::$methodCache = array
DboMysql::$cacheMethods = true
DboMysql::$__bypass = false
DboMysql::$__sqlOps = array
DboMysql::$virtualFieldSeparator = "__"
DboMysql::$connected = false
DboMysql::$fullDebug = false
DboMysql::$error = NULL
DboMysql::$affected = NULL
DboMysql::$numRows = NULL
DboMysql::$took = 0
DboMysql::$_result = NULL
DboMysql::$_queriesCnt = 0
DboMysql::$_queriesTime = NULL
DboMysql::$_queriesLog = array
DboMysql::$_queriesLogMax = 200
DboMysql::$_queryCache = array
DboMysql::$__descriptions = array
DboMysql::$_sources = array
DboMysql::$connection = false
DboMysql::$config = array
DboMysql::$configKeyName = "default"
DboMysql::$_transactionStarted = false
DboMysql::$cacheSources = true
DboMysql::$__booleans = array
$cacheKey = 2472758518
$allFields = true
$virtual = array()
$virtualFields = false
$count = 0
array_unique - [internal], line ??
DboSource::fields() - CORE/cake/libs/model/datasources/dbo_source.php, line 2053
DboSource::read() - CORE/cake/libs/model/datasources/dbo_source.php, line 794
Model::find() - CORE/cake/libs/model/model.php, line 2093
LocationsController::city() - APP/controllers/locations_controller.php, line 111
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 204
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 171
[main] - APP/webroot/index.php, line 108
Warning (2): array_merge() [function.array-merge]: Argument #1 is not an array [CORE/cake/libs/model/datasources/dbo_source.php, line 1298]Code |
Context$model = Location
Location::$name = "Location"
Location::$validate = array
Location::$belongsTo = array
Location::$hasOne = array
Location::$hasMany = array
Location::$actsAs = array
Location::$recursive = 1
Location::$cacheQueries = true
Location::$useDbConfig = "default"
Location::$useTable = "locations"
Location::$displayField = false
Location::$id = "blog"
Location::$data = array
Location::$table = "locations"
Location::$primaryKey = "id"
Location::$_schema = false
Location::$validationErrors = array
Location::$tablePrefix = ""
Location::$alias = "Location"
Location::$tableToModel = array
Location::$logTransactions = false
Location::$hasAndBelongsToMany = array
Location::$Behaviors = BehaviorCollection object
Location::$whitelist = array
Location::$cacheSources = true
Location::$findQueryType = "first"
Location::$order = NULL
Location::$virtualFields = array
Location::$__associationKeys = array
Location::$__associations = array
Location::$__backAssociation = array
Location::$__insertID = NULL
Location::$__numRows = NULL
Location::$__affectedRows = NULL
Location::$_findMethods = array
Location::$LocationType = LocationType object
Location::$PriceGroup = PriceGroup object
Location::$FeatureDesignationCode = FeatureDesignationCode object
Location::$Region = Region object
Location::$Subregion = AppModel object
Location::$Order = Order object
Location::$Visitor = Visitor object
Location::$Offer = Offer object
Location::$__backContainableAssociation = array
$linkModel = LocationType
LocationType::$name = "LocationType"
LocationType::$validate = array
LocationType::$hasMany = array
LocationType::$actsAs = array
LocationType::$recursive = 0
LocationType::$cacheQueries = true
LocationType::$useDbConfig = "default"
LocationType::$useTable = "location_types"
LocationType::$displayField = false
LocationType::$id = false
LocationType::$data = array
LocationType::$table = "location_types"
LocationType::$primaryKey = "id"
LocationType::$_schema = false
LocationType::$validationErrors = array
LocationType::$tablePrefix = ""
LocationType::$alias = "LocationType"
LocationType::$tableToModel = array
LocationType::$logTransactions = false
LocationType::$belongsTo = array
LocationType::$hasOne = array
LocationType::$hasAndBelongsToMany = array
LocationType::$Behaviors = BehaviorCollection object
LocationType::$whitelist = array
LocationType::$cacheSources = true
LocationType::$findQueryType = NULL
LocationType::$order = NULL
LocationType::$virtualFields = array
LocationType::$__associationKeys = array
LocationType::$__associations = array
LocationType::$__backAssociation = array
LocationType::$__insertID = NULL
LocationType::$__numRows = NULL
LocationType::$__affectedRows = NULL
LocationType::$_findMethods = array
LocationType::$Location = Location object
LocationType::$__backContainableAssociation = array
$type = "belongsTo"
$association = "LocationType"
$assocData = array(
"className" => "LocationType",
"foreignKey" => "location_type_id",
"conditions" => array(),
"fields" => array(),
"order" => array(),
"counterCache" => "",
"joins" => array(),
"limit" => null,
"offset" => array(),
"group" => array()
)
$queryData = array(
"conditions" => array(
"Location.slug" => "blog"
),
"fields" => null,
"joins" => array(),
"limit" => 1,
"offset" => array(),
"order" => array(
null
),
"page" => 1,
"group" => array(),
"callbacks" => true,
"contain" => array(
"Order",
"LocationType",
"PriceGroup"
),
"recursive" => 1
)
$external = false
$resultSet = null
$alias = "LocationType"
$self = false
$fields = null
$conditions = array(
"Location.location_type_id" => stdClass
stdClass::$type = "identifier"
stdClass::$value = "LocationType.id"
)
$join = array(
"table" => "`location_types`",
"alias" => "LocationType",
"type" => "LEFT",
"conditions" => "`Location`.`location_type_id` = `LocationType`.`id`"
)
array_merge - [internal], line ??
DboSource::generateAssociationQuery() - CORE/cake/libs/model/datasources/dbo_source.php, line 1298
DboSource::read() - CORE/cake/libs/model/datasources/dbo_source.php, line 811
Model::find() - CORE/cake/libs/model/model.php, line 2093
LocationsController::city() - APP/controllers/locations_controller.php, line 111
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 204
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 171
[main] - APP/webroot/index.php, line 108
Warning (2): array_unique() expects parameter 1 to be array, null given [CORE/cake/libs/model/datasources/dbo_source.php, line 1237]Code |
Context$model = Location
Location::$name = "Location"
Location::$validate = array
Location::$belongsTo = array
Location::$hasOne = array
Location::$hasMany = array
Location::$actsAs = array
Location::$recursive = 1
Location::$cacheQueries = true
Location::$useDbConfig = "default"
Location::$useTable = "locations"
Location::$displayField = false
Location::$id = "blog"
Location::$data = array
Location::$table = "locations"
Location::$primaryKey = "id"
Location::$_schema = false
Location::$validationErrors = array
Location::$tablePrefix = ""
Location::$alias = "Location"
Location::$tableToModel = array
Location::$logTransactions = false
Location::$hasAndBelongsToMany = array
Location::$Behaviors = BehaviorCollection object
Location::$whitelist = array
Location::$cacheSources = true
Location::$findQueryType = "first"
Location::$order = NULL
Location::$virtualFields = array
Location::$__associationKeys = array
Location::$__associations = array
Location::$__backAssociation = array
Location::$__insertID = NULL
Location::$__numRows = NULL
Location::$__affectedRows = NULL
Location::$_findMethods = array
Location::$LocationType = LocationType object
Location::$PriceGroup = PriceGroup object
Location::$FeatureDesignationCode = FeatureDesignationCode object
Location::$Region = Region object
Location::$Subregion = AppModel object
Location::$Order = Order object
Location::$Visitor = Visitor object
Location::$Offer = Offer object
Location::$__backContainableAssociation = array
$linkModel = null
$type = null
$association = null
$assocData = array(
"conditions" => array(),
"fields" => array(),
"joins" => array(),
"order" => array(),
"limit" => array(),
"offset" => array(),
"group" => array()
)
$queryData = array(
"conditions" => array(
"Location.slug" => "blog"
),
"fields" => null,
"joins" => array(
array(),
array(),
array()
),
"limit" => 1,
"offset" => array(),
"order" => array(
null,
"Order.created desc"
),
"page" => 1,
"group" => array(),
"callbacks" => true,
"contain" => array(
"Order",
"LocationType",
"PriceGroup"
),
"recursive" => 1
)
$external = false
$resultSet = null
array_unique - [internal], line ??
DboSource::generateAssociationQuery() - CORE/cake/libs/model/datasources/dbo_source.php, line 1237
DboSource::read() - CORE/cake/libs/model/datasources/dbo_source.php, line 818
Model::find() - CORE/cake/libs/model/model.php, line 2093
LocationsController::city() - APP/controllers/locations_controller.php, line 111
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 204
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 171
[main] - APP/webroot/index.php, line 108
Warning (2): mysql_real_escape_string() expects parameter 2 to be resource, boolean given [CORE/cake/libs/model/datasources/dbo/dbo_mysql.php, line 655]Code |
Context$data = "blog"
$column = "string"
$safe = false
$parent = null
mysql_real_escape_string - [internal], line ??
DboMysql::value() - CORE/cake/libs/model/datasources/dbo/dbo_mysql.php, line 655
DboSource::__parseKey() - CORE/cake/libs/model/datasources/dbo_source.php, line 2277
DboSource::conditionKeysToString() - CORE/cake/libs/model/datasources/dbo_source.php, line 2219
DboSource::conditions() - CORE/cake/libs/model/datasources/dbo_source.php, line 2099
DboSource::buildStatement() - CORE/cake/libs/model/datasources/dbo_source.php, line 1455
DboSource::generateAssociationQuery() - CORE/cake/libs/model/datasources/dbo_source.php, line 1248
DboSource::read() - CORE/cake/libs/model/datasources/dbo_source.php, line 818
Model::find() - CORE/cake/libs/model/model.php, line 2093
LocationsController::city() - APP/controllers/locations_controller.php, line 111
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 204
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 171
[main] - APP/webroot/index.php, line 108
Warning (2): implode() [function.implode]: Invalid arguments passed [CORE/cake/libs/model/datasources/dbo_source.php, line 1456]Code |
Context$query = array(
"offset" => array(),
"joins" => array(
"LEFT JOIN `location_types` AS `LocationType` ON (`Location`.`location_type_id` = `LocationType`.`id`)",
"LEFT JOIN `price_groups` AS `PriceGroup` ON (`Location`.`price_group_id` = `PriceGroup`.`id`)",
"LEFT JOIN `orders` AS `Order` ON (`Order`.`location_id` = `Location`.`id`)"
),
"fields" => null,
"table" => "`locations`",
"alias" => "Location",
"limit" => 1,
"conditions" => array(
"Location.slug" => "blog"
),
"order" => array(
null,
"Order.created desc"
),
"group" => array()
)
$model = Location
Location::$name = "Location"
Location::$validate = array
Location::$belongsTo = array
Location::$hasOne = array
Location::$hasMany = array
Location::$actsAs = array
Location::$recursive = 1
Location::$cacheQueries = true
Location::$useDbConfig = "default"
Location::$useTable = "locations"
Location::$displayField = false
Location::$id = "blog"
Location::$data = array
Location::$table = "locations"
Location::$primaryKey = "id"
Location::$_schema = false
Location::$validationErrors = array
Location::$tablePrefix = ""
Location::$alias = "Location"
Location::$tableToModel = array
Location::$logTransactions = false
Location::$hasAndBelongsToMany = array
Location::$Behaviors = BehaviorCollection object
Location::$whitelist = array
Location::$cacheSources = true
Location::$findQueryType = "first"
Location::$order = NULL
Location::$virtualFields = array
Location::$__associationKeys = array
Location::$__associations = array
Location::$__backAssociation = array
Location::$__insertID = NULL
Location::$__numRows = NULL
Location::$__affectedRows = NULL
Location::$_findMethods = array
Location::$LocationType = LocationType object
Location::$PriceGroup = PriceGroup object
Location::$FeatureDesignationCode = FeatureDesignationCode object
Location::$Region = Region object
Location::$Subregion = AppModel object
Location::$Order = Order object
Location::$Visitor = Visitor object
Location::$Offer = Offer object
Location::$__backContainableAssociation = array
$count = 3
$i = 3
implode - [internal], line ??
DboSource::buildStatement() - CORE/cake/libs/model/datasources/dbo_source.php, line 1456
DboSource::generateAssociationQuery() - CORE/cake/libs/model/datasources/dbo_source.php, line 1248
DboSource::read() - CORE/cake/libs/model/datasources/dbo_source.php, line 818
Model::find() - CORE/cake/libs/model/model.php, line 2093
LocationsController::city() - APP/controllers/locations_controller.php, line 111
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 204
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 171
[main] - APP/webroot/index.php, line 108
Warning (2): Cannot modify header information - headers already sent by (output started at /var/www/sites/production/files/cake/libs/debugger.php:673) [CORE/cake/libs/controller/controller.php, line 746]Code |
Context$status = "Location: http://www.milliondollarearth.com/"
header - [internal], line ??
Controller::header() - CORE/cake/libs/controller/controller.php, line 746
Controller::redirect() - CORE/cake/libs/controller/controller.php, line 725
LocationsController::city() - APP/controllers/locations_controller.php, line 114
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 204
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 171
[main] - APP/webroot/index.php, line 108