Warning (2): mysql_pconnect() [function.mysql-pconnect]: Too many connections [CORE/cake/libs/model/datasources/dbo/dbo_mysql.php, line 378]
Code |
Context$config = array(
"persistent" => true,
"host" => "localhost",
"login" => "root",
"password" => "",
"database" => "PSDB",
"port" => "33306",
"connect" => "mysql_pconnect",
"driver" => "mysql",
"schema" => "",
"prefix" => "",
"encoding" => ""
)
$connect = "mysql_pconnect"
mysql_pconnect - [internal], line ??
DboMysql::connect() - CORE/cake/libs/model/datasources/dbo/dbo_mysql.php, line 378
DboSource::__construct() - CORE/cake/libs/model/datasources/dbo_source.php, line 96
ConnectionManager::getDataSource() - CORE/cake/libs/model/connection_manager.php, line 106
Model::setDataSource() - CORE/cake/libs/model/model.php, line 2638
Model::__construct() - CORE/cake/libs/model/model.php, line 406
ClassRegistry::init() - CORE/cake/libs/class_registry.php, line 140
Controller::loadModel() - CORE/cake/libs/controller/controller.php, line 507
Controller::constructClasses() - CORE/cake/libs/controller/controller.php, line 461
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 207
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 194
[main] - APP/webroot/index.php, line 84
Warning (2): mysql_select_db(): supplied argument is not a valid MySQL-Link resource [CORE/cake/libs/model/datasources/dbo/dbo_mysql.php, line 381]
Code |
Context$config = array(
"persistent" => true,
"host" => "localhost",
"login" => "root",
"password" => "",
"database" => "PSDB",
"port" => "33306",
"connect" => "mysql_pconnect",
"driver" => "mysql",
"schema" => "",
"prefix" => "",
"encoding" => ""
)
$connect = "mysql_pconnect"
mysql_select_db - [internal], line ??
DboMysql::connect() - CORE/cake/libs/model/datasources/dbo/dbo_mysql.php, line 381
DboSource::__construct() - CORE/cake/libs/model/datasources/dbo_source.php, line 96
ConnectionManager::getDataSource() - CORE/cake/libs/model/connection_manager.php, line 106
Model::setDataSource() - CORE/cake/libs/model/model.php, line 2638
Model::__construct() - CORE/cake/libs/model/model.php, line 406
ClassRegistry::init() - CORE/cake/libs/class_registry.php, line 140
Controller::loadModel() - CORE/cake/libs/controller/controller.php, line 507
Controller::constructClasses() - CORE/cake/libs/controller/controller.php, line 461
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 207
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 194
[main] - APP/webroot/index.php, line 84
Warning (2): mysql_get_server_info(): supplied argument is not a valid MySQL-Link resource [CORE/cake/libs/model/datasources/dbo/dbo_mysql.php, line 389]
Code |
Context$config = array(
"persistent" => true,
"host" => "localhost",
"login" => "root",
"password" => "",
"database" => "PSDB",
"port" => "33306",
"connect" => "mysql_pconnect",
"driver" => "mysql",
"schema" => "",
"prefix" => "",
"encoding" => ""
)
$connect = "mysql_pconnect"
mysql_get_server_info - [internal], line ??
DboMysql::connect() - CORE/cake/libs/model/datasources/dbo/dbo_mysql.php, line 389
DboSource::__construct() - CORE/cake/libs/model/datasources/dbo_source.php, line 96
ConnectionManager::getDataSource() - CORE/cake/libs/model/connection_manager.php, line 106
Model::setDataSource() - CORE/cake/libs/model/model.php, line 2638
Model::__construct() - CORE/cake/libs/model/model.php, line 406
ClassRegistry::init() - CORE/cake/libs/class_registry.php, line 140
Controller::loadModel() - CORE/cake/libs/controller/controller.php, line 507
Controller::constructClasses() - CORE/cake/libs/controller/controller.php, line 461
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 207
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 194
[main] - APP/webroot/index.php, line 84
Warning (2): mysql_query(): supplied argument is not a valid MySQL-Link resource [CORE/cake/libs/model/datasources/dbo/dbo_mysql.php, line 413]
Code |
Context$sql = "DESCRIBE `news_articles`"
mysql_query - [internal], line ??
DboMysql::_execute() - CORE/cake/libs/model/datasources/dbo/dbo_mysql.php, line 413
DboSource::execute() - CORE/cake/libs/model/datasources/dbo_source.php, line 189
DboSource::fetchAll() - CORE/cake/libs/model/datasources/dbo_source.php, line 342
DboSource::query() - CORE/cake/libs/model/datasources/dbo_source.php, line 220
DboMysql::describe() - CORE/cake/libs/model/datasources/dbo/dbo_mysql.php, line 451
Model::schema() - CORE/cake/libs/model/model.php, line 900
Model::setSource() - CORE/cake/libs/model/model.php, line 757
Model::__construct() - CORE/cake/libs/model/model.php, line 414
ClassRegistry::init() - CORE/cake/libs/class_registry.php, line 140
Model::__constructLinkedModel() - CORE/cake/libs/model/model.php, line 641
Model::__createLinks() - CORE/cake/libs/model/model.php, line 613
Model::__construct() - CORE/cake/libs/model/model.php, line 422
ClassRegistry::init() - CORE/cake/libs/class_registry.php, line 140
Model::__constructLinkedModel() - CORE/cake/libs/model/model.php, line 641
Model::__createLinks() - CORE/cake/libs/model/model.php, line 613
Model::__construct() - CORE/cake/libs/model/model.php, line 422
ClassRegistry::init() - CORE/cake/libs/class_registry.php, line 140
Warning (2): mysql_errno(): supplied argument is not a valid MySQL-Link resource [CORE/cake/libs/model/datasources/dbo/dbo_mysql.php, line 523]
Codemysql_errno - [internal], line ??
DboMysql::lastError() - CORE/cake/libs/model/datasources/dbo/dbo_mysql.php, line 523
DboSource::execute() - CORE/cake/libs/model/datasources/dbo_source.php, line 192
DboSource::fetchAll() - CORE/cake/libs/model/datasources/dbo_source.php, line 342
DboSource::query() - CORE/cake/libs/model/datasources/dbo_source.php, line 220
DboMysql::describe() - CORE/cake/libs/model/datasources/dbo/dbo_mysql.php, line 451
Model::schema() - CORE/cake/libs/model/model.php, line 900
Model::setSource() - CORE/cake/libs/model/model.php, line 757
Model::__construct() - CORE/cake/libs/model/model.php, line 414
ClassRegistry::init() - CORE/cake/libs/class_registry.php, line 140
Model::__constructLinkedModel() - CORE/cake/libs/model/model.php, line 641
Model::__createLinks() - CORE/cake/libs/model/model.php, line 613
Model::__construct() - CORE/cake/libs/model/model.php, line 422
ClassRegistry::init() - CORE/cake/libs/class_registry.php, line 140
Model::__constructLinkedModel() - CORE/cake/libs/model/model.php, line 641
Model::__createLinks() - CORE/cake/libs/model/model.php, line 613
Model::__construct() - CORE/cake/libs/model/model.php, line 422
ClassRegistry::init() - CORE/cake/libs/class_registry.php, line 140
Warning (2): Invalid argument supplied for foreach() [CORE/cake/libs/model/datasources/dbo/dbo_mysql.php, line 453]
Code |
Context$model = NewsArticle
NewsArticle::$name = "NewsArticle"
NewsArticle::$belongsTo = array
NewsArticle::$actsAs = array
NewsArticle::$hasAndBelongsToMany = array
NewsArticle::$useDbConfig = "default"
NewsArticle::$useTable = "news_articles"
NewsArticle::$displayField = NULL
NewsArticle::$id = false
NewsArticle::$data = array
NewsArticle::$table = "news_articles"
NewsArticle::$primaryKey = "id"
NewsArticle::$_schema = NULL
NewsArticle::$validate = array
NewsArticle::$validationErrors = array
NewsArticle::$tablePrefix = ""
NewsArticle::$alias = "NewsArticle"
NewsArticle::$tableToModel = array
NewsArticle::$logTransactions = false
NewsArticle::$transactional = false
NewsArticle::$cacheQueries = false
NewsArticle::$hasOne = array
NewsArticle::$hasMany = array
NewsArticle::$Behaviors = BehaviorCollection object
NewsArticle::$whitelist = array
NewsArticle::$cacheSources = true
NewsArticle::$findQueryType = NULL
NewsArticle::$recursive = 1
NewsArticle::$order = NULL
NewsArticle::$__exists = NULL
NewsArticle::$__associationKeys = array
NewsArticle::$__associations = array
NewsArticle::$__backAssociation = array
NewsArticle::$__insertID = NULL
NewsArticle::$__numRows = NULL
NewsArticle::$__affectedRows = NULL
NewsArticle::$_findMethods = array
NewsArticle::$_log = NULL
$cache = null
$fields = false
$cols = false
$cols = $this->query('DESCRIBE ' . $this->fullTableName($model));
foreach ($cols as $column) {
DboMysql::describe() - CORE/cake/libs/model/datasources/dbo/dbo_mysql.php, line 453
Model::schema() - CORE/cake/libs/model/model.php, line 900
Model::setSource() - CORE/cake/libs/model/model.php, line 757
Model::__construct() - CORE/cake/libs/model/model.php, line 414
ClassRegistry::init() - CORE/cake/libs/class_registry.php, line 140
Model::__constructLinkedModel() - CORE/cake/libs/model/model.php, line 641
Model::__createLinks() - CORE/cake/libs/model/model.php, line 613
Model::__construct() - CORE/cake/libs/model/model.php, line 422
ClassRegistry::init() - CORE/cake/libs/class_registry.php, line 140
Model::__constructLinkedModel() - CORE/cake/libs/model/model.php, line 641
Model::__createLinks() - CORE/cake/libs/model/model.php, line 613
Model::__construct() - CORE/cake/libs/model/model.php, line 422
ClassRegistry::init() - CORE/cake/libs/class_registry.php, line 140
Model::__constructLinkedModel() - CORE/cake/libs/model/model.php, line 641
Model::__createLinks() - CORE/cake/libs/model/model.php, line 613
Model::__construct() - CORE/cake/libs/model/model.php, line 422
ClassRegistry::init() - CORE/cake/libs/class_registry.php, line 140
Model::__constructLinkedModel() - CORE/cake/libs/model/model.php, line 641
Warning (2): array_keys() [function.array-keys]: The first argument should be an array [CORE/cake/libs/model/datasources/dbo_source.php, line 1688]
Code |
Context$this = DboMysql
DboMysql::$description = "MySQL DBO Driver"
DboMysql::$_baseConfig = array
DboMysql::$startQuote = "`"
DboMysql::$endQuote = "`"
DboMysql::$_useAlias = false
DboMysql::$_commands = array
DboMysql::$columns = array
DboMysql::$profiling = NULL
DboMysql::$index = array
DboMysql::$alias = "AS "
DboMysql::$fieldCache = array
DboMysql::$__bypass = false
DboMysql::$__sqlOps = array
DboMysql::$connected = false
DboMysql::$fullDebug = false
DboMysql::$error = NULL
DboMysql::$affected = NULL
DboMysql::$numRows = NULL
DboMysql::$took = 0
DboMysql::$_result = false
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::$_log = NULL
DboMysql::$__booleans = array
$model = NewsArticle
NewsArticle::$name = "NewsArticle"
NewsArticle::$belongsTo = array
NewsArticle::$actsAs = array
NewsArticle::$hasAndBelongsToMany = array
NewsArticle::$useDbConfig = "default"
NewsArticle::$useTable = "news_articles"
NewsArticle::$displayField = false
NewsArticle::$id = false
NewsArticle::$data = array
NewsArticle::$table = "news_articles"
NewsArticle::$primaryKey = "id"
NewsArticle::$_schema = false
NewsArticle::$validate = array
NewsArticle::$validationErrors = array
NewsArticle::$tablePrefix = ""
NewsArticle::$alias = "NewsArticle"
NewsArticle::$tableToModel = array
NewsArticle::$logTransactions = false
NewsArticle::$transactional = false
NewsArticle::$cacheQueries = false
NewsArticle::$hasOne = array
NewsArticle::$hasMany = array
NewsArticle::$Behaviors = BehaviorCollection object
NewsArticle::$whitelist = array
NewsArticle::$cacheSources = true
NewsArticle::$findQueryType = NULL
NewsArticle::$recursive = 1
NewsArticle::$order = NULL
NewsArticle::$__exists = NULL
NewsArticle::$__associationKeys = array
NewsArticle::$__associations = array
NewsArticle::$__backAssociation = array
NewsArticle::$__insertID = NULL
NewsArticle::$__numRows = NULL
NewsArticle::$__affectedRows = NULL
NewsArticle::$_findMethods = array
NewsArticle::$_log = NULL
NewsArticle::$Site = Site object
NewsArticle::$Category = Category object
NewsArticle::$CategoriesNewsArticle = AppModel object
NewsArticle::$ShadowModel = Model object
$alias = "NewsArticle"
$fields = array()
$quote = true
array_keys - [internal], line ??
DboSource::fields() - CORE/cake/libs/model/datasources/dbo_source.php, line 1688
DboSource::generateAssociationQuery() - CORE/cake/libs/model/datasources/dbo_source.php, line 1150
DboSource::read() - CORE/cake/libs/model/datasources/dbo_source.php, line 661
Model::find() - CORE/cake/libs/model/model.php, line 1988
Model::findAll() - CORE/cake/libs/model/model.php, line 2859
Site::find_site() - APP/models/site.php, line 175
WebPagesController::view() - APP/controllers/web_pages_controller.php, line 515
Object::dispatchMethod() - CORE/cake/libs/object.php, line 122
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 227
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 194
[main] - APP/webroot/index.php, line 84
Warning (2): array_filter() [function.array-filter]: The first argument should be an array [CORE/cake/libs/model/datasources/dbo_source.php, line 1692]
Code |
Context$this = DboMysql
DboMysql::$description = "MySQL DBO Driver"
DboMysql::$_baseConfig = array
DboMysql::$startQuote = "`"
DboMysql::$endQuote = "`"
DboMysql::$_useAlias = false
DboMysql::$_commands = array
DboMysql::$columns = array
DboMysql::$profiling = NULL
DboMysql::$index = array
DboMysql::$alias = "AS "
DboMysql::$fieldCache = array
DboMysql::$__bypass = false
DboMysql::$__sqlOps = array
DboMysql::$connected = false
DboMysql::$fullDebug = false
DboMysql::$error = NULL
DboMysql::$affected = NULL
DboMysql::$numRows = NULL
DboMysql::$took = 0
DboMysql::$_result = false
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::$_log = NULL
DboMysql::$__booleans = array
$model = NewsArticle
NewsArticle::$name = "NewsArticle"
NewsArticle::$belongsTo = array
NewsArticle::$actsAs = array
NewsArticle::$hasAndBelongsToMany = array
NewsArticle::$useDbConfig = "default"
NewsArticle::$useTable = "news_articles"
NewsArticle::$displayField = false
NewsArticle::$id = false
NewsArticle::$data = array
NewsArticle::$table = "news_articles"
NewsArticle::$primaryKey = "id"
NewsArticle::$_schema = false
NewsArticle::$validate = array
NewsArticle::$validationErrors = array
NewsArticle::$tablePrefix = ""
NewsArticle::$alias = "NewsArticle"
NewsArticle::$tableToModel = array
NewsArticle::$logTransactions = false
NewsArticle::$transactional = false
NewsArticle::$cacheQueries = false
NewsArticle::$hasOne = array
NewsArticle::$hasMany = array
NewsArticle::$Behaviors = BehaviorCollection object
NewsArticle::$whitelist = array
NewsArticle::$cacheSources = true
NewsArticle::$findQueryType = NULL
NewsArticle::$recursive = 1
NewsArticle::$order = NULL
NewsArticle::$__exists = NULL
NewsArticle::$__associationKeys = array
NewsArticle::$__associations = array
NewsArticle::$__backAssociation = array
NewsArticle::$__insertID = NULL
NewsArticle::$__numRows = NULL
NewsArticle::$__affectedRows = NULL
NewsArticle::$_findMethods = array
NewsArticle::$_log = NULL
NewsArticle::$Site = Site object
NewsArticle::$Category = Category object
NewsArticle::$CategoriesNewsArticle = AppModel object
NewsArticle::$ShadowModel = Model object
$alias = "NewsArticle"
$fields = null
$quote = true
array_filter - [internal], line ??
DboSource::fields() - CORE/cake/libs/model/datasources/dbo_source.php, line 1692
DboSource::generateAssociationQuery() - CORE/cake/libs/model/datasources/dbo_source.php, line 1150
DboSource::read() - CORE/cake/libs/model/datasources/dbo_source.php, line 661
Model::find() - CORE/cake/libs/model/model.php, line 1988
Model::findAll() - CORE/cake/libs/model/model.php, line 2859
Site::find_site() - APP/models/site.php, line 175
WebPagesController::view() - APP/controllers/web_pages_controller.php, line 515
Object::dispatchMethod() - CORE/cake/libs/object.php, line 122
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 227
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 194
[main] - APP/webroot/index.php, line 84
Warning (2): array_values() [function.array-values]: The argument should be an array [CORE/cake/libs/model/datasources/dbo_source.php, line 1692]
Code |
Context$this = DboMysql
DboMysql::$description = "MySQL DBO Driver"
DboMysql::$_baseConfig = array
DboMysql::$startQuote = "`"
DboMysql::$endQuote = "`"
DboMysql::$_useAlias = false
DboMysql::$_commands = array
DboMysql::$columns = array
DboMysql::$profiling = NULL
DboMysql::$index = array
DboMysql::$alias = "AS "
DboMysql::$fieldCache = array
DboMysql::$__bypass = false
DboMysql::$__sqlOps = array
DboMysql::$connected = false
DboMysql::$fullDebug = false
DboMysql::$error = NULL
DboMysql::$affected = NULL
DboMysql::$numRows = NULL
DboMysql::$took = 0
DboMysql::$_result = false
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::$_log = NULL
DboMysql::$__booleans = array
$model = NewsArticle
NewsArticle::$name = "NewsArticle"
NewsArticle::$belongsTo = array
NewsArticle::$actsAs = array
NewsArticle::$hasAndBelongsToMany = array
NewsArticle::$useDbConfig = "default"
NewsArticle::$useTable = "news_articles"
NewsArticle::$displayField = false
NewsArticle::$id = false
NewsArticle::$data = array
NewsArticle::$table = "news_articles"
NewsArticle::$primaryKey = "id"
NewsArticle::$_schema = false
NewsArticle::$validate = array
NewsArticle::$validationErrors = array
NewsArticle::$tablePrefix = ""
NewsArticle::$alias = "NewsArticle"
NewsArticle::$tableToModel = array
NewsArticle::$logTransactions = false
NewsArticle::$transactional = false
NewsArticle::$cacheQueries = false
NewsArticle::$hasOne = array
NewsArticle::$hasMany = array
NewsArticle::$Behaviors = BehaviorCollection object
NewsArticle::$whitelist = array
NewsArticle::$cacheSources = true
NewsArticle::$findQueryType = NULL
NewsArticle::$recursive = 1
NewsArticle::$order = NULL
NewsArticle::$__exists = NULL
NewsArticle::$__associationKeys = array
NewsArticle::$__associations = array
NewsArticle::$__backAssociation = array
NewsArticle::$__insertID = NULL
NewsArticle::$__numRows = NULL
NewsArticle::$__affectedRows = NULL
NewsArticle::$_findMethods = array
NewsArticle::$_log = NULL
NewsArticle::$Site = Site object
NewsArticle::$Category = Category object
NewsArticle::$CategoriesNewsArticle = AppModel object
NewsArticle::$ShadowModel = Model object
$alias = "NewsArticle"
$fields = null
$quote = true
array_values - [internal], line ??
DboSource::fields() - CORE/cake/libs/model/datasources/dbo_source.php, line 1692
DboSource::generateAssociationQuery() - CORE/cake/libs/model/datasources/dbo_source.php, line 1150
DboSource::read() - CORE/cake/libs/model/datasources/dbo_source.php, line 661
Model::find() - CORE/cake/libs/model/model.php, line 1988
Model::findAll() - CORE/cake/libs/model/model.php, line 2859
Site::find_site() - APP/models/site.php, line 175
WebPagesController::view() - APP/controllers/web_pages_controller.php, line 515
Object::dispatchMethod() - CORE/cake/libs/object.php, line 122
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 227
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 194
[main] - APP/webroot/index.php, line 84
Warning (2): array_unique() [function.array-unique]: The argument should be an array [CORE/cake/libs/model/datasources/dbo_source.php, line 1754]
Code |
Context$this = DboMysql
DboMysql::$description = "MySQL DBO Driver"
DboMysql::$_baseConfig = array
DboMysql::$startQuote = "`"
DboMysql::$endQuote = "`"
DboMysql::$_useAlias = false
DboMysql::$_commands = array
DboMysql::$columns = array
DboMysql::$profiling = NULL
DboMysql::$index = array
DboMysql::$alias = "AS "
DboMysql::$fieldCache = array
DboMysql::$__bypass = false
DboMysql::$__sqlOps = array
DboMysql::$connected = false
DboMysql::$fullDebug = false
DboMysql::$error = NULL
DboMysql::$affected = NULL
DboMysql::$numRows = NULL
DboMysql::$took = 0
DboMysql::$_result = false
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::$_log = NULL
DboMysql::$__booleans = array
$model = NewsArticle
NewsArticle::$name = "NewsArticle"
NewsArticle::$belongsTo = array
NewsArticle::$actsAs = array
NewsArticle::$hasAndBelongsToMany = array
NewsArticle::$useDbConfig = "default"
NewsArticle::$useTable = "news_articles"
NewsArticle::$displayField = false
NewsArticle::$id = false
NewsArticle::$data = array
NewsArticle::$table = "news_articles"
NewsArticle::$primaryKey = "id"
NewsArticle::$_schema = false
NewsArticle::$validate = array
NewsArticle::$validationErrors = array
NewsArticle::$tablePrefix = ""
NewsArticle::$alias = "NewsArticle"
NewsArticle::$tableToModel = array
NewsArticle::$logTransactions = false
NewsArticle::$transactional = false
NewsArticle::$cacheQueries = false
NewsArticle::$hasOne = array
NewsArticle::$hasMany = array
NewsArticle::$Behaviors = BehaviorCollection object
NewsArticle::$whitelist = array
NewsArticle::$cacheSources = true
NewsArticle::$findQueryType = NULL
NewsArticle::$recursive = 1
NewsArticle::$order = NULL
NewsArticle::$__exists = NULL
NewsArticle::$__associationKeys = array
NewsArticle::$__associations = array
NewsArticle::$__backAssociation = array
NewsArticle::$__insertID = NULL
NewsArticle::$__numRows = NULL
NewsArticle::$__affectedRows = NULL
NewsArticle::$_findMethods = array
NewsArticle::$_log = NULL
NewsArticle::$Site = Site object
NewsArticle::$Category = Category object
NewsArticle::$CategoriesNewsArticle = AppModel object
NewsArticle::$ShadowModel = Model object
$alias = "NewsArticle"
$fields = null
$quote = true
$count = 0
array_unique - [internal], line ??
DboSource::fields() - CORE/cake/libs/model/datasources/dbo_source.php, line 1754
DboSource::generateAssociationQuery() - CORE/cake/libs/model/datasources/dbo_source.php, line 1150
DboSource::read() - CORE/cake/libs/model/datasources/dbo_source.php, line 661
Model::find() - CORE/cake/libs/model/model.php, line 1988
Model::findAll() - CORE/cake/libs/model/model.php, line 2859
Site::find_site() - APP/models/site.php, line 175
WebPagesController::view() - APP/controllers/web_pages_controller.php, line 515
Object::dispatchMethod() - CORE/cake/libs/object.php, line 122
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 227
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 194
[main] - APP/webroot/index.php, line 84
Warning (2): array_merge() [function.array-merge]: Argument #1 is not an array [CORE/cake/libs/model/datasources/dbo_source.php, line 1152]
Code |
Context$model = Category
Category::$name = "Category"
Category::$hasAndBelongsToMany = array
Category::$belongsTo = array
Category::$hasMany = array
Category::$actsAs = array
Category::$useDbConfig = "default"
Category::$useTable = "categories"
Category::$displayField = "name"
Category::$id = false
Category::$data = array
Category::$table = "categories"
Category::$primaryKey = "id"
Category::$_schema = array
Category::$validate = array
Category::$validationErrors = array
Category::$tablePrefix = ""
Category::$alias = "Category"
Category::$tableToModel = array
Category::$logTransactions = false
Category::$transactional = false
Category::$cacheQueries = false
Category::$hasOne = array
Category::$Behaviors = BehaviorCollection object
Category::$whitelist = array
Category::$cacheSources = true
Category::$findQueryType = "all"
Category::$recursive = 1
Category::$order = NULL
Category::$__exists = NULL
Category::$__associationKeys = array
Category::$__associations = array
Category::$__backAssociation = array
Category::$__insertID = NULL
Category::$__numRows = NULL
Category::$__affectedRows = NULL
Category::$_findMethods = array
Category::$_log = NULL
Category::$Site = Site object
Category::$NewsArticle = NewsArticle object
Category::$CalendarEvent = CalendarEvent object
Category::$PhotoAlbum = PhotoAlbum object
Category::$BasicPageElement = BasicPageElement object
Category::$BasicPageElementsCategory = AppModel object
Category::$CategoriesNewsArticle = AppModel object
Category::$CategoriesPhotoAlbum = AppModel object
Category::$CalendarEventsCategory = AppModel object
$linkModel = NewsArticle
NewsArticle::$name = "NewsArticle"
NewsArticle::$belongsTo = array
NewsArticle::$actsAs = array
NewsArticle::$hasAndBelongsToMany = array
NewsArticle::$useDbConfig = "default"
NewsArticle::$useTable = "news_articles"
NewsArticle::$displayField = false
NewsArticle::$id = false
NewsArticle::$data = array
NewsArticle::$table = "news_articles"
NewsArticle::$primaryKey = "id"
NewsArticle::$_schema = false
NewsArticle::$validate = array
NewsArticle::$validationErrors = array
NewsArticle::$tablePrefix = ""
NewsArticle::$alias = "NewsArticle"
NewsArticle::$tableToModel = array
NewsArticle::$logTransactions = false
NewsArticle::$transactional = false
NewsArticle::$cacheQueries = false
NewsArticle::$hasOne = array
NewsArticle::$hasMany = array
NewsArticle::$Behaviors = BehaviorCollection object
NewsArticle::$whitelist = array
NewsArticle::$cacheSources = true
NewsArticle::$findQueryType = NULL
NewsArticle::$recursive = 1
NewsArticle::$order = NULL
NewsArticle::$__exists = NULL
NewsArticle::$__associationKeys = array
NewsArticle::$__associations = array
NewsArticle::$__backAssociation = array
NewsArticle::$__insertID = NULL
NewsArticle::$__numRows = NULL
NewsArticle::$__affectedRows = NULL
NewsArticle::$_findMethods = array
NewsArticle::$_log = NULL
NewsArticle::$Site = Site object
NewsArticle::$Category = Category object
NewsArticle::$CategoriesNewsArticle = AppModel object
NewsArticle::$ShadowModel = Model object
$type = "hasMany"
$association = "NewsArticle"
$assocData = array(
"className" => "NewsArticle",
"foreignKey" => "category_id",
"conditions" => array(),
"fields" => false,
"order" => array(),
"limit" => null,
"offset" => array(),
"dependent" => "",
"exclusive" => "",
"finderQuery" => "",
"counterQuery" => "",
"joins" => array(),
"group" => array()
)
$queryData = array(
"conditions" => "Category.site_id = 771",
"fields" => array(
"`Category`.`id`",
"`Category`.`site_id`",
"`Category`.`name`",
"`Category`.`description`",
"`Site`.`id`",
"`Site`.`name`",
"`Site`.`slug`",
"`Site`.`url`",
"`Site`.`siteActive`",
"`Site`.`defaultMetaKeywords`",
"`Site`.`defaultMetaDescription`",
"`Site`.`pcName`",
"`Site`.`pcPhone`",
"`Site`.`pcAltPhone`",
"`Site`.`pcEmail`",
"`Site`.`pcAddress1`",
"`Site`.`pcAddress2`",
"`Site`.`pcCity`",
"`Site`.`pcStateProv`",
"`Site`.`pcCountry`",
"`Site`.`pcZipPostal`",
"`Site`.`logoGraphic`",
"`Site`.`topMenuBtnGraphic_on`",
"`Site`.`topMenuBtnGraphic_off`",
"`Site`.`leftMenuBtnGraphic_on`",
"`Site`.`leftMenuBtnGraphic_off`",
"`Site`.`deleted`",
"`Site`.`stats_url`",
"`Site`.`league_id`",
"`Site`.`network_id`",
"`Site`.`adpage_id`",
"`Site`.`name_short`",
"`Site`.`level`",
"`Site`.`client`",
"`Site`.`stats_client`",
"`Site`.`web_template_id`",
"`Site`.`wtt_header_location`",
"`Site`.`wtt_footer_location`",
"`Site`.`team_id`",
"`Site`.`stats_type`",
"`Site`.`sport`",
"`Site`.`league_wide_stats`",
"`Site`.`nav_type`",
"`Site`.`web_ads`",
"`Site`.`layout_type`",
"`Site`.`custom_layout_stylesheets`",
"`Site`.`custom_content_stylesheets`",
"`Site`.`flash_header`",
"`Site`.`flash_header_height`",
"`Site`.`google_analytics_id`",
"`Site`.`flag_disable_network_news`",
"`Site`.`network_news_feed`",
"`Site`.`network_sort_order`",
"`Site`.`network_news_feed_send`",
"`Site`.`cache_news_page_slug`",
"`Site`.`cache_events_page_slug`",
"`Site`.`cache_photos_page_slug`",
"`Site`.`flag_disable_wtt_ads`",
"`Site`.`display_wtt_scoreboard`",
"`Site`.`created`",
"`Site`.`allow_custom_headers`",
"`Site`.`enable_splash_page`",
"`Site`.`test_site`",
"`Site`.`enable_dropdown_toolbar`",
"`Site`.`multiple_stat_ids`",
"`Site`.`team_ids`",
"`Site`.`team_wtts`",
"`Site`.`league_ids`",
"`Site`.`league_wtts`",
"`Site`.`team_names`",
"`Site`.`league_names`",
"`Site`.`allow_custom_subheaders`",
"`Site`.`ad_zone`",
"`Site`.`display_home_page_ads`",
"`Site`.`display_ads`",
"`Site`.`top_ad`",
"`Site`.`middle_ad_position`",
"`Site`.`bottom_ad`",
"`Site`.`custom_top_ad_id`",
"`Site`.`custom_bottom_ad_id`",
"`Site`.`custom_middle_ad_id`",
"`Site`.`reg_league_ids`",
"`Site`.`allow_private`",
"`Site`.`allow_editable`",
"`Site`.`css_last_modified`",
"`Site`.`season_id`",
"`Site`.`timezone`",
"`Site`.`twt_name`",
"`Site`.`enable_dropdown_nav`",
"`Site`.`flag_header_code`",
"`Site`.`header_code`",
"`Site`.`flag_enable_authors`",
"`Site`.`flag_include_network_dropdown`",
"`Site`.`video_client`",
"`Site`.`flag_squad_locker`",
"`Site`.`flag_squad_locker_read`",
"`Site`.`flag_hotel_planner`",
"`Category`.`id`"
),
"joins" => array(
array()
),
"limit" => array(),
"offset" => array(),
"order" => array(
"Category.name ASC"
),
"page" => 1,
"group" => array(),
"callbacks" => true,
"recursive" => null
)
$external = false
$resultSet = null
$alias = "NewsArticle"
$self = false
$fields = array()
array_merge - [internal], line ??
DboSource::generateAssociationQuery() - CORE/cake/libs/model/datasources/dbo_source.php, line 1152
DboSource::read() - CORE/cake/libs/model/datasources/dbo_source.php, line 661
Model::find() - CORE/cake/libs/model/model.php, line 1988
Model::findAll() - CORE/cake/libs/model/model.php, line 2859
Site::find_site() - APP/models/site.php, line 175
WebPagesController::view() - APP/controllers/web_pages_controller.php, line 515
Object::dispatchMethod() - CORE/cake/libs/object.php, line 122
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 227
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 194
[main] - APP/webroot/index.php, line 84
Warning (2): array_unique() [function.array-unique]: The argument should be an array [CORE/cake/libs/model/datasources/dbo_source.php, line 1156]
Code |
Context$model = Category
Category::$name = "Category"
Category::$hasAndBelongsToMany = array
Category::$belongsTo = array
Category::$hasMany = array
Category::$actsAs = array
Category::$useDbConfig = "default"
Category::$useTable = "categories"
Category::$displayField = "name"
Category::$id = false
Category::$data = array
Category::$table = "categories"
Category::$primaryKey = "id"
Category::$_schema = array
Category::$validate = array
Category::$validationErrors = array
Category::$tablePrefix = ""
Category::$alias = "Category"
Category::$tableToModel = array
Category::$logTransactions = false
Category::$transactional = false
Category::$cacheQueries = false
Category::$hasOne = array
Category::$Behaviors = BehaviorCollection object
Category::$whitelist = array
Category::$cacheSources = true
Category::$findQueryType = "all"
Category::$recursive = 1
Category::$order = NULL
Category::$__exists = NULL
Category::$__associationKeys = array
Category::$__associations = array
Category::$__backAssociation = array
Category::$__insertID = NULL
Category::$__numRows = NULL
Category::$__affectedRows = NULL
Category::$_findMethods = array
Category::$_log = NULL
Category::$Site = Site object
Category::$NewsArticle = NewsArticle object
Category::$CalendarEvent = CalendarEvent object
Category::$PhotoAlbum = PhotoAlbum object
Category::$BasicPageElement = BasicPageElement object
Category::$BasicPageElementsCategory = AppModel object
Category::$CategoriesNewsArticle = AppModel object
Category::$CategoriesPhotoAlbum = AppModel object
Category::$CalendarEventsCategory = AppModel object
$linkModel = NewsArticle
NewsArticle::$name = "NewsArticle"
NewsArticle::$belongsTo = array
NewsArticle::$actsAs = array
NewsArticle::$hasAndBelongsToMany = array
NewsArticle::$useDbConfig = "default"
NewsArticle::$useTable = "news_articles"
NewsArticle::$displayField = false
NewsArticle::$id = false
NewsArticle::$data = array
NewsArticle::$table = "news_articles"
NewsArticle::$primaryKey = "id"
NewsArticle::$_schema = false
NewsArticle::$validate = array
NewsArticle::$validationErrors = array
NewsArticle::$tablePrefix = ""
NewsArticle::$alias = "NewsArticle"
NewsArticle::$tableToModel = array
NewsArticle::$logTransactions = false
NewsArticle::$transactional = false
NewsArticle::$cacheQueries = false
NewsArticle::$hasOne = array
NewsArticle::$hasMany = array
NewsArticle::$Behaviors = BehaviorCollection object
NewsArticle::$whitelist = array
NewsArticle::$cacheSources = true
NewsArticle::$findQueryType = NULL
NewsArticle::$recursive = 1
NewsArticle::$order = NULL
NewsArticle::$__exists = NULL
NewsArticle::$__associationKeys = array
NewsArticle::$__associations = array
NewsArticle::$__backAssociation = array
NewsArticle::$__insertID = NULL
NewsArticle::$__numRows = NULL
NewsArticle::$__affectedRows = NULL
NewsArticle::$_findMethods = array
NewsArticle::$_log = NULL
NewsArticle::$Site = Site object
NewsArticle::$Category = Category object
NewsArticle::$CategoriesNewsArticle = AppModel object
NewsArticle::$ShadowModel = Model object
$type = "hasMany"
$association = "NewsArticle"
$assocData = array(
"className" => "NewsArticle",
"foreignKey" => "category_id",
"conditions" => array(),
"fields" => null,
"order" => array(),
"limit" => null,
"offset" => array(),
"dependent" => "",
"exclusive" => "",
"finderQuery" => "",
"counterQuery" => "",
"joins" => array(),
"group" => array()
)
$queryData = array(
"conditions" => "Category.site_id = 771",
"fields" => array(
"`Category`.`id`",
"`Category`.`site_id`",
"`Category`.`name`",
"`Category`.`description`",
"`Site`.`id`",
"`Site`.`name`",
"`Site`.`slug`",
"`Site`.`url`",
"`Site`.`siteActive`",
"`Site`.`defaultMetaKeywords`",
"`Site`.`defaultMetaDescription`",
"`Site`.`pcName`",
"`Site`.`pcPhone`",
"`Site`.`pcAltPhone`",
"`Site`.`pcEmail`",
"`Site`.`pcAddress1`",
"`Site`.`pcAddress2`",
"`Site`.`pcCity`",
"`Site`.`pcStateProv`",
"`Site`.`pcCountry`",
"`Site`.`pcZipPostal`",
"`Site`.`logoGraphic`",
"`Site`.`topMenuBtnGraphic_on`",
"`Site`.`topMenuBtnGraphic_off`",
"`Site`.`leftMenuBtnGraphic_on`",
"`Site`.`leftMenuBtnGraphic_off`",
"`Site`.`deleted`",
"`Site`.`stats_url`",
"`Site`.`league_id`",
"`Site`.`network_id`",
"`Site`.`adpage_id`",
"`Site`.`name_short`",
"`Site`.`level`",
"`Site`.`client`",
"`Site`.`stats_client`",
"`Site`.`web_template_id`",
"`Site`.`wtt_header_location`",
"`Site`.`wtt_footer_location`",
"`Site`.`team_id`",
"`Site`.`stats_type`",
"`Site`.`sport`",
"`Site`.`league_wide_stats`",
"`Site`.`nav_type`",
"`Site`.`web_ads`",
"`Site`.`layout_type`",
"`Site`.`custom_layout_stylesheets`",
"`Site`.`custom_content_stylesheets`",
"`Site`.`flash_header`",
"`Site`.`flash_header_height`",
"`Site`.`google_analytics_id`",
"`Site`.`flag_disable_network_news`",
"`Site`.`network_news_feed`",
"`Site`.`network_sort_order`",
"`Site`.`network_news_feed_send`",
"`Site`.`cache_news_page_slug`",
"`Site`.`cache_events_page_slug`",
"`Site`.`cache_photos_page_slug`",
"`Site`.`flag_disable_wtt_ads`",
"`Site`.`display_wtt_scoreboard`",
"`Site`.`created`",
"`Site`.`allow_custom_headers`",
"`Site`.`enable_splash_page`",
"`Site`.`test_site`",
"`Site`.`enable_dropdown_toolbar`",
"`Site`.`multiple_stat_ids`",
"`Site`.`team_ids`",
"`Site`.`team_wtts`",
"`Site`.`league_ids`",
"`Site`.`league_wtts`",
"`Site`.`team_names`",
"`Site`.`league_names`",
"`Site`.`allow_custom_subheaders`",
"`Site`.`ad_zone`",
"`Site`.`display_home_page_ads`",
"`Site`.`display_ads`",
"`Site`.`top_ad`",
"`Site`.`middle_ad_position`",
"`Site`.`bottom_ad`",
"`Site`.`custom_top_ad_id`",
"`Site`.`custom_bottom_ad_id`",
"`Site`.`custom_middle_ad_id`",
"`Site`.`reg_league_ids`",
"`Site`.`allow_private`",
"`Site`.`allow_editable`",
"`Site`.`css_last_modified`",
"`Site`.`season_id`",
"`Site`.`timezone`",
"`Site`.`twt_name`",
"`Site`.`enable_dropdown_nav`",
"`Site`.`flag_header_code`",
"`Site`.`header_code`",
"`Site`.`flag_enable_authors`",
"`Site`.`flag_include_network_dropdown`",
"`Site`.`video_client`",
"`Site`.`flag_squad_locker`",
"`Site`.`flag_squad_locker_read`",
"`Site`.`flag_hotel_planner`",
"`Category`.`id`"
),
"joins" => array(
array()
),
"limit" => array(),
"offset" => array(),
"order" => array(
"Category.name ASC"
),
"page" => 1,
"group" => array(),
"callbacks" => true,
"recursive" => null
)
$external = false
$resultSet = null
$alias = "NewsArticle"
$self = false
$fields = array()
array_unique - [internal], line ??
DboSource::generateAssociationQuery() - CORE/cake/libs/model/datasources/dbo_source.php, line 1156
DboSource::read() - CORE/cake/libs/model/datasources/dbo_source.php, line 661
Model::find() - CORE/cake/libs/model/model.php, line 1988
Model::findAll() - CORE/cake/libs/model/model.php, line 2859
Site::find_site() - APP/models/site.php, line 175
WebPagesController::view() - APP/controllers/web_pages_controller.php, line 515
Object::dispatchMethod() - CORE/cake/libs/object.php, line 122
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 227
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 194
[main] - APP/webroot/index.php, line 84
Warning (2): join() [function.join]: Invalid arguments passed [CORE/cake/libs/model/datasources/dbo_source.php, line 1290]
Code |
Context$query = array(
"offset" => null,
"joins" => array(),
"conditions" => array(
"NewsArticle.category_id" => array()
),
"fields" => false,
"table" => "`news_articles`",
"alias" => "NewsArticle",
"order" => array(),
"limit" => null,
"group" => null
)
$model = Category
Category::$name = "Category"
Category::$hasAndBelongsToMany = array
Category::$belongsTo = array
Category::$hasMany = array
Category::$actsAs = array
Category::$useDbConfig = "default"
Category::$useTable = "categories"
Category::$displayField = "name"
Category::$id = false
Category::$data = array
Category::$table = "categories"
Category::$primaryKey = "id"
Category::$_schema = array
Category::$validate = array
Category::$validationErrors = array
Category::$tablePrefix = ""
Category::$alias = "Category"
Category::$tableToModel = array
Category::$logTransactions = false
Category::$transactional = false
Category::$cacheQueries = false
Category::$hasOne = array
Category::$Behaviors = BehaviorCollection object
Category::$whitelist = array
Category::$cacheSources = true
Category::$findQueryType = "all"
Category::$recursive = 1
Category::$order = NULL
Category::$__exists = NULL
Category::$__associationKeys = array
Category::$__associations = array
Category::$__backAssociation = array
Category::$__insertID = NULL
Category::$__numRows = NULL
Category::$__affectedRows = NULL
Category::$_findMethods = array
Category::$_log = NULL
Category::$Site = Site object
Category::$NewsArticle = NewsArticle object
Category::$CalendarEvent = CalendarEvent object
Category::$PhotoAlbum = PhotoAlbum object
Category::$BasicPageElement = BasicPageElement object
Category::$BasicPageElementsCategory = AppModel object
Category::$CategoriesNewsArticle = AppModel object
Category::$CategoriesPhotoAlbum = AppModel object
Category::$CalendarEventsCategory = AppModel object
join - [internal], line ??
DboSource::buildStatement() - CORE/cake/libs/model/datasources/dbo_source.php, line 1290
DboSource::generateAssociationQuery() - CORE/cake/libs/model/datasources/dbo_source.php, line 1202
DboSource::read() - CORE/cake/libs/model/datasources/dbo_source.php, line 661
Model::find() - CORE/cake/libs/model/model.php, line 1988
Model::findAll() - CORE/cake/libs/model/model.php, line 2859
Site::find_site() - APP/models/site.php, line 175
WebPagesController::view() - APP/controllers/web_pages_controller.php, line 515
Object::dispatchMethod() - CORE/cake/libs/object.php, line 122
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 227
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 194
[main] - APP/webroot/index.php, line 84
Warning (2): array_merge() [function.array-merge]: Argument #1 is not an array [CORE/cake/libs/model/datasources/dbo_source.php, line 1190]
Code |
Context$model = Category
Category::$name = "Category"
Category::$hasAndBelongsToMany = array
Category::$belongsTo = array
Category::$hasMany = array
Category::$actsAs = array
Category::$useDbConfig = "default"
Category::$useTable = "categories"
Category::$displayField = "name"
Category::$id = false
Category::$data = array
Category::$table = "categories"
Category::$primaryKey = "id"
Category::$_schema = array
Category::$validate = array
Category::$validationErrors = array
Category::$tablePrefix = ""
Category::$alias = "Category"
Category::$tableToModel = array
Category::$logTransactions = false
Category::$transactional = false
Category::$cacheQueries = false
Category::$hasOne = array
Category::$Behaviors = BehaviorCollection object
Category::$whitelist = array
Category::$cacheSources = true
Category::$findQueryType = "all"
Category::$recursive = 1
Category::$order = NULL
Category::$__exists = NULL
Category::$__associationKeys = array
Category::$__associations = array
Category::$__backAssociation = array
Category::$__insertID = NULL
Category::$__numRows = NULL
Category::$__affectedRows = NULL
Category::$_findMethods = array
Category::$_log = NULL
Category::$Site = Site object
Category::$NewsArticle = NewsArticle object
Category::$CalendarEvent = CalendarEvent object
Category::$PhotoAlbum = PhotoAlbum object
Category::$BasicPageElement = BasicPageElement object
Category::$BasicPageElementsCategory = AppModel object
Category::$CategoriesNewsArticle = AppModel object
Category::$CategoriesPhotoAlbum = AppModel object
Category::$CalendarEventsCategory = AppModel object
$linkModel = NewsArticle
NewsArticle::$name = "NewsArticle"
NewsArticle::$belongsTo = array
NewsArticle::$actsAs = array
NewsArticle::$hasAndBelongsToMany = array
NewsArticle::$useDbConfig = "default"
NewsArticle::$useTable = "news_articles"
NewsArticle::$displayField = false
NewsArticle::$id = false
NewsArticle::$data = array
NewsArticle::$table = "news_articles"
NewsArticle::$primaryKey = "id"
NewsArticle::$_schema = false
NewsArticle::$validate = array
NewsArticle::$validationErrors = array
NewsArticle::$tablePrefix = ""
NewsArticle::$alias = "NewsArticle"
NewsArticle::$tableToModel = array
NewsArticle::$logTransactions = false
NewsArticle::$transactional = false
NewsArticle::$cacheQueries = false
NewsArticle::$hasOne = array
NewsArticle::$hasMany = array
NewsArticle::$Behaviors = BehaviorCollection object
NewsArticle::$whitelist = array
NewsArticle::$cacheSources = true
NewsArticle::$findQueryType = NULL
NewsArticle::$recursive = 1
NewsArticle::$order = NULL
NewsArticle::$__exists = NULL
NewsArticle::$__associationKeys = array
NewsArticle::$__associations = array
NewsArticle::$__backAssociation = array
NewsArticle::$__insertID = NULL
NewsArticle::$__numRows = NULL
NewsArticle::$__affectedRows = NULL
NewsArticle::$_findMethods = array
NewsArticle::$_log = NULL
NewsArticle::$Site = Site object
NewsArticle::$Category = Category object
NewsArticle::$CategoriesNewsArticle = AppModel object
NewsArticle::$ShadowModel = Model object
$type = "hasAndBelongsToMany"
$association = "NewsArticle"
$assocData = array(
"className" => "NewsArticle",
"joinTable" => "categories_news_articles",
"foreignKey" => "category_id",
"associationForeignKey" => "news_article_id",
"with" => "CategoriesNewsArticle",
"conditions" => array(),
"fields" => array(),
"order" => array(),
"limit" => null,
"offset" => array(),
"unique" => true,
"finderQuery" => "",
"deleteQuery" => "",
"insertQuery" => "",
"joins" => array(),
"group" => array()
)
$queryData = array(
"conditions" => "Category.site_id = 771",
"fields" => array(
"`Category`.`id`",
"`Category`.`site_id`",
"`Category`.`name`",
"`Category`.`description`",
"`Site`.`id`",
"`Site`.`name`",
"`Site`.`slug`",
"`Site`.`url`",
"`Site`.`siteActive`",
"`Site`.`defaultMetaKeywords`",
"`Site`.`defaultMetaDescription`",
"`Site`.`pcName`",
"`Site`.`pcPhone`",
"`Site`.`pcAltPhone`",
"`Site`.`pcEmail`",
"`Site`.`pcAddress1`",
"`Site`.`pcAddress2`",
"`Site`.`pcCity`",
"`Site`.`pcStateProv`",
"`Site`.`pcCountry`",
"`Site`.`pcZipPostal`",
"`Site`.`logoGraphic`",
"`Site`.`topMenuBtnGraphic_on`",
"`Site`.`topMenuBtnGraphic_off`",
"`Site`.`leftMenuBtnGraphic_on`",
"`Site`.`leftMenuBtnGraphic_off`",
"`Site`.`deleted`",
"`Site`.`stats_url`",
"`Site`.`league_id`",
"`Site`.`network_id`",
"`Site`.`adpage_id`",
"`Site`.`name_short`",
"`Site`.`level`",
"`Site`.`client`",
"`Site`.`stats_client`",
"`Site`.`web_template_id`",
"`Site`.`wtt_header_location`",
"`Site`.`wtt_footer_location`",
"`Site`.`team_id`",
"`Site`.`stats_type`",
"`Site`.`sport`",
"`Site`.`league_wide_stats`",
"`Site`.`nav_type`",
"`Site`.`web_ads`",
"`Site`.`layout_type`",
"`Site`.`custom_layout_stylesheets`",
"`Site`.`custom_content_stylesheets`",
"`Site`.`flash_header`",
"`Site`.`flash_header_height`",
"`Site`.`google_analytics_id`",
"`Site`.`flag_disable_network_news`",
"`Site`.`network_news_feed`",
"`Site`.`network_sort_order`",
"`Site`.`network_news_feed_send`",
"`Site`.`cache_news_page_slug`",
"`Site`.`cache_events_page_slug`",
"`Site`.`cache_photos_page_slug`",
"`Site`.`flag_disable_wtt_ads`",
"`Site`.`display_wtt_scoreboard`",
"`Site`.`created`",
"`Site`.`allow_custom_headers`",
"`Site`.`enable_splash_page`",
"`Site`.`test_site`",
"`Site`.`enable_dropdown_toolbar`",
"`Site`.`multiple_stat_ids`",
"`Site`.`team_ids`",
"`Site`.`team_wtts`",
"`Site`.`league_ids`",
"`Site`.`league_wtts`",
"`Site`.`team_names`",
"`Site`.`league_names`",
"`Site`.`allow_custom_subheaders`",
"`Site`.`ad_zone`",
"`Site`.`display_home_page_ads`",
"`Site`.`display_ads`",
"`Site`.`top_ad`",
"`Site`.`middle_ad_position`",
"`Site`.`bottom_ad`",
"`Site`.`custom_top_ad_id`",
"`Site`.`custom_bottom_ad_id`",
"`Site`.`custom_middle_ad_id`",
"`Site`.`reg_league_ids`",
"`Site`.`allow_private`",
"`Site`.`allow_editable`",
"`Site`.`css_last_modified`",
"`Site`.`season_id`",
"`Site`.`timezone`",
"`Site`.`twt_name`",
"`Site`.`enable_dropdown_nav`",
"`Site`.`flag_header_code`",
"`Site`.`header_code`",
"`Site`.`flag_enable_authors`",
"`Site`.`flag_include_network_dropdown`",
"`Site`.`video_client`",
"`Site`.`flag_squad_locker`",
"`Site`.`flag_squad_locker_read`",
"`Site`.`flag_hotel_planner`",
"`Category`.`id`"
),
"joins" => array(
array()
),
"limit" => array(),
"offset" => array(),
"order" => array(
"Category.name ASC"
),
"page" => 1,
"group" => array(),
"callbacks" => true,
"recursive" => null
)
$external = false
$resultSet = null
$alias = "NewsArticle"
$self = false
$fields = array()
$joinFields = array(
"`CategoriesNewsArticle`.`category_id`",
"`CategoriesNewsArticle`.`news_article_id`"
)
$joinAssoc = "CategoriesNewsArticle"
$joinKeys = array(
"category_id",
"news_article_id"
)
$with = "CategoriesNewsArticle"
$joinTbl = "`categories_news_articles`"
$joinAlias = "CategoriesNewsArticle"
array_merge - [internal], line ??
DboSource::generateAssociationQuery() - CORE/cake/libs/model/datasources/dbo_source.php, line 1190
DboSource::read() - CORE/cake/libs/model/datasources/dbo_source.php, line 661
Model::find() - CORE/cake/libs/model/model.php, line 1988
Model::findAll() - CORE/cake/libs/model/model.php, line 2859
Site::find_site() - APP/models/site.php, line 175
WebPagesController::view() - APP/controllers/web_pages_controller.php, line 515
Object::dispatchMethod() - CORE/cake/libs/object.php, line 122
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 227
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 194
[main] - APP/webroot/index.php, line 84
Notice (8): Undefined index: enable_splash_page [APP/models/site.php, line 179]
Code |
Context$site_id = "771"
$site = array(
"Site" => array(
"check_albums_categories" => 0,
"check_articles_categories" => false,
"splash_page_exists" => false
),
"categories" => false
)
//pr($site);
if ($site['Site']['enable_splash_page']) {
Site::find_site() - APP/models/site.php, line 179
WebPagesController::view() - APP/controllers/web_pages_controller.php, line 515
Object::dispatchMethod() - CORE/cake/libs/object.php, line 122
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 227
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 194
[main] - APP/webroot/index.php, line 84
Warning (2): Invalid argument supplied for foreach() [APP/models/web_page.php, line 1431]
Code |
Context$site_id = "771"
$web_pages = false
$sponsors_content_block_ids = array()
$sponsors_content_blocks = array()
$sponsors_content_block_ids = array();
$sponsors_content_blocks = array();
foreach ($web_pages AS $page) {
WebPage::get_web_pages_data() - APP/models/web_page.php, line 1431
WebPagesController::view() - APP/controllers/web_pages_controller.php, line 516
Object::dispatchMethod() - CORE/cake/libs/object.php, line 122
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 227
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 194
[main] - APP/webroot/index.php, line 84
Warning (2): Invalid argument supplied for foreach() [APP/models/web_page.php, line 1444]
Code |
Context$site_id = "771"
$web_pages = false
$sponsors_content_block_ids = array()
$sponsors_content_blocks = array()
foreach ($web_pages AS &$page) {
WebPage::get_web_pages_data() - APP/models/web_page.php, line 1444
WebPagesController::view() - APP/controllers/web_pages_controller.php, line 516
Object::dispatchMethod() - CORE/cake/libs/object.php, line 122
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 227
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 194
[main] - APP/webroot/index.php, line 84
Notice (8): Undefined index: siteActive [APP/controllers/web_pages_controller.php, line 520]
Code |
Context$siteSlug = "aihlpittsburgh"
$levelOneSlug = "womens"
$levelTwoSlug = "roster-133"
$levelThreeSlug = null
$levelFourSlug = null
$loggedIn = false
$siteId = "771"
$site = array(
"Site" => array(
"check_albums_categories" => 0,
"check_articles_categories" => false,
"splash_page_exists" => false,
"splash_page_id" => 0
),
"categories" => false,
"full_news_page_slug" => ""
)
$web_pages = false
if (!$site['Site']['siteActive']) {
WebPagesController::view() - APP/controllers/web_pages_controller.php, line 520
Object::dispatchMethod() - CORE/cake/libs/object.php, line 122
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 227
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 194
[main] - APP/webroot/index.php, line 84
Warning (2): Cannot modify header information - headers already sent by (output started at /var/cms/trunk/cake/basics.php:307) [CORE/cake/libs/controller/controller.php, line 644]
Code |
Context$status = "Location: http://www.pointstreaksites.com"
header - [internal], line ??
Controller::header() - CORE/cake/libs/controller/controller.php, line 644
Controller::redirect() - CORE/cake/libs/controller/controller.php, line 625
WebPagesController::view() - APP/controllers/web_pages_controller.php, line 521
Object::dispatchMethod() - CORE/cake/libs/object.php, line 122
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 227
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 194
[main] - APP/webroot/index.php, line 84