Warning (512): SQL Error: 1030: Got error 122 from storage engine [CORE/cake/libs/model/datasources/dbo_source.php, line 521]
Code |
Context$sql = "DESCRIBE `accounts`"
$error = "1030: Got error 122 from storage engine"
$out = null
$out = null;
if ($error) {
trigger_error("<span style = \"color:Red;text-align:left\"><b>SQL Error:</b> {$this->error}</span>", E_USER_WARNING);
DboSource::showQuery() - CORE/cake/libs/model/datasources/dbo_source.php, line 521
DboSource::execute() - CORE/cake/libs/model/datasources/dbo_source.php, line 208
DboSource::fetchAll() - CORE/cake/libs/model/datasources/dbo_source.php, line 344
DboSource::query() - CORE/cake/libs/model/datasources/dbo_source.php, line 228
DboMysql::describe() - CORE/cake/libs/model/datasources/dbo/dbo_mysql.php, line 192
Model::schema() - CORE/cake/libs/model/model.php, line 832
Model::setSource() - CORE/cake/libs/model/model.php, line 715
Model::__construct() - CORE/cake/libs/model/model.php, line 379
ClassRegistry::init() - CORE/cake/libs/class_registry.php, line 138
Controller::loadModel() - CORE/cake/libs/controller/controller.php, line 450
Controller::constructClasses() - CORE/cake/libs/controller/controller.php, line 404
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 226
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 213
[main] - APP/webroot/index.php, line 90
Query: DESCRIBE `accounts`
Warning (2): Invalid argument supplied for foreach() [CORE/cake/libs/model/datasources/dbo/dbo_mysql.php, line 194]
Code |
Context$model = Account
Account::$name = "Account"
Account::$actsAs = array
Account::$hasOne = array
Account::$hasMany = array
Account::$validate = array
Account::$useDbConfig = "default"
Account::$useTable = "accounts"
Account::$displayField = NULL
Account::$id = NULL
Account::$data = array
Account::$table = "accounts"
Account::$primaryKey = "id"
Account::$_schema = NULL
Account::$validationErrors = array
Account::$tablePrefix = ""
Account::$alias = "Account"
Account::$tableToModel = array
Account::$logTransactions = false
Account::$transactional = false
Account::$cacheQueries = false
Account::$belongsTo = array
Account::$hasAndBelongsToMany = array
Account::$Behaviors = BehaviorCollection object
Account::$whitelist = array
Account::$cacheSources = true
Account::$findQueryType = NULL
Account::$recursive = 1
Account::$order = NULL
Account::$__exists = NULL
Account::$__associationKeys = array
Account::$__associations = array
Account::$__backAssociation = array
Account::$__insertID = NULL
Account::$__numRows = NULL
Account::$__affectedRows = NULL
Account::$_findMethods = array
Account::$_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 194
Model::schema() - CORE/cake/libs/model/model.php, line 832
Model::setSource() - CORE/cake/libs/model/model.php, line 715
Model::__construct() - CORE/cake/libs/model/model.php, line 379
ClassRegistry::init() - CORE/cake/libs/class_registry.php, line 138
Controller::loadModel() - CORE/cake/libs/controller/controller.php, line 450
Controller::constructClasses() - CORE/cake/libs/controller/controller.php, line 404
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 226
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 213
[main] - APP/webroot/index.php, line 90
Query: DESCRIBE `trip_destinations`
Query: DESCRIBE `trips`
Query: DESCRIBE `featured_trips`
Query: DESCRIBE `featured_trips`
Query: DESCRIBE `featured_trips`
Query: DESCRIBE `featured_trips`
Query: DESCRIBE `trip_destinations`
Query: DESCRIBE `scoops`
Query: DESCRIBE `blogs`
Query: DESCRIBE `comments`
Query: DESCRIBE `comments`
Query: DESCRIBE `comments`
Query: DESCRIBE `comments`
Query: DESCRIBE `ratings`
Query: DESCRIBE `ratings`
Query: DESCRIBE `ratings`
Query: DESCRIBE `ratings`
Query: DESCRIBE `friend_tags`
Query: DESCRIBE `friend_tags`
Query: DESCRIBE `friend_tags`
Query: DESCRIBE `friend_tags`
Query: DESCRIBE `blogs`
Query: DESCRIBE `blogs`
Query: DESCRIBE `blogs`
Query: DESCRIBE `photo_albums`
Query: DESCRIBE `photos`
Query: DESCRIBE `photos`
Query: DESCRIBE `photos`
Query: DESCRIBE `photos`
Query: DESCRIBE `photo_albums`
Query: DESCRIBE `photo_albums`
Query: DESCRIBE `photo_albums`
Query: DESCRIBE `videos`
Query: DESCRIBE `videos`
Query: DESCRIBE `videos`
Query: DESCRIBE `videos`
Query: DESCRIBE `scoops`
Query: DESCRIBE `scoops`
Query: DESCRIBE `scoops`
Query: DESCRIBE `trip_destinations`
Query: DESCRIBE `trip_destinations`
Query: DESCRIBE `trip_destinations`
Query: DESCRIBE `trip_members`
Query: DESCRIBE `trip_members`
Query: DESCRIBE `trip_members`
Query: DESCRIBE `trip_members`
Query: DESCRIBE `trip_followers`
Query: DESCRIBE `trip_followers`
Query: DESCRIBE `trip_followers`
Query: DESCRIBE `trip_followers`
Query: DESCRIBE `trip_invites`
Query: DESCRIBE `trip_invites`
Query: DESCRIBE `trip_invites`
Query: DESCRIBE `trip_invites`
Query: DESCRIBE `trip_join_requests`
Query: DESCRIBE `trip_join_requests`
Query: DESCRIBE `trip_join_requests`
Query: DESCRIBE `trip_join_requests`
Query: DESCRIBE `accounts`
Query: DESCRIBE `user_locations`
Query: DESCRIBE `user_locations`
Query: DESCRIBE `user_locations`
Query: DESCRIBE `user_locations`
Query: DESCRIBE `friends`
Query: DESCRIBE `accounts`
Query: DESCRIBE `friends`
Query: DESCRIBE `accounts`
Query: DESCRIBE `friend_invites`
Query: DESCRIBE `friend_invites`
Query: DESCRIBE `friend_invites`
Query: DESCRIBE `friend_invites`
Query: DESCRIBE `wish_lists`
Query: DESCRIBE `wish_lists`
Query: DESCRIBE `wish_lists`
Query: DESCRIBE `wish_lists`
Query: DESCRIBE `friend_groups`
Query: DESCRIBE `friend_group_links`
Query: DESCRIBE `friend_group_links`
Query: DESCRIBE `friend_group_links`
Query: DESCRIBE `friend_group_links`
Query: DESCRIBE `friend_groups`
Query: DESCRIBE `friend_groups`
Query: DESCRIBE `friend_groups`
Query: DESCRIBE `accounts`
Query: DESCRIBE `accounts`
Query: DESCRIBE `accounts`
Query: DESCRIBE `friends`
Query: DESCRIBE `friends`
Query: DESCRIBE `friends`
Query: DESCRIBE `accounts`
Query: DESCRIBE `accounts`
Query: DESCRIBE `accounts`
Query: DESCRIBE `friends`
Query: DESCRIBE `friends`
Query: DESCRIBE `friends`
Query: DESCRIBE `accounts`
Query: DESCRIBE `accounts`
Query: DESCRIBE `accounts`
Query: DESCRIBE `accounts`
Query: DESCRIBE `accounts`
Query: DESCRIBE `accounts`
Query: DESCRIBE `accounts`
Query: DESCRIBE `trip_members`
Query: DESCRIBE `trip_followers`
Query: DESCRIBE `trips`
Query: DESCRIBE `trips`
Query: DESCRIBE `trips`
Query: DESCRIBE `trip_destinations`
Query: DESCRIBE `trip_destinations`
Query: DESCRIBE `trip_destinations`
Query: DESCRIBE `accounts`
Query: DESCRIBE `accounts`
Query: DESCRIBE `accounts`
Query: DESCRIBE `friends`
Query: DESCRIBE `friends`
Query: DESCRIBE `friends`
Query: DESCRIBE `friends`
Query: DESCRIBE `temp_table`
Query: DESCRIBE `temp_table`
Query: DESCRIBE `temp_table`
Query: DESCRIBE `temp_table`
Query: DESCRIBE `messages`
Query: DESCRIBE `accounts`
Query: DESCRIBE `accounts`
Query: DESCRIBE `accounts`
Query: DESCRIBE `accounts`
Query: DESCRIBE `accounts`
Query: DESCRIBE `accounts`
Query: DESCRIBE `accounts`
Query: DESCRIBE `accounts`
Query: DESCRIBE `messages`
Query: DESCRIBE `messages`
Query: DESCRIBE `messages`
Query: DESCRIBE `photos`
Warning (2): array_keys() [function.array-keys]: The first argument should be an array [CORE/cake/libs/model/datasources/dbo_source.php, line 1652]
Code |
Context$this = DboMysql
DboMysql::$description = "MySQL DBO Driver"
DboMysql::$startQuote = "`"
DboMysql::$endQuote = "`"
DboMysql::$_commands = array
DboMysql::$_baseConfig = array
DboMysql::$columns = array
DboMysql::$__useAlias = true
DboMysql::$index = array
DboMysql::$alias = "AS "
DboMysql::$fieldCache = array
DboMysql::$__bypass = false
DboMysql::$__sqlOps = array
DboMysql::$connected = true
DboMysql::$fullDebug = true
DboMysql::$error = "1030: Got error 122 from storage engine"
DboMysql::$affected = NULL
DboMysql::$numRows = NULL
DboMysql::$took = 0
DboMysql::$_result = false
DboMysql::$_queriesCnt = 135
DboMysql::$_queriesTime = 1
DboMysql::$_queriesLog = array
DboMysql::$_queriesLogMax = 200
DboMysql::$_queryCache = array
DboMysql::$__descriptions = array
DboMysql::$_sources = array
DboMysql::$connection = resource
DboMysql::$config = array
DboMysql::$configKeyName = "default"
DboMysql::$_transactionStarted = false
DboMysql::$cacheSources = true
DboMysql::$_log = NULL
DboMysql::$__booleans = array
$model = Photo
Photo::$name = "Photo"
Photo::$belongsTo = array
Photo::$hasMany = array
Photo::$actsAs = array
Photo::$useDbConfig = "default"
Photo::$useTable = "photos"
Photo::$displayField = false
Photo::$id = "191"
Photo::$data = array
Photo::$table = "photos"
Photo::$primaryKey = "id"
Photo::$_schema = false
Photo::$validate = array
Photo::$validationErrors = array
Photo::$tablePrefix = ""
Photo::$alias = "Photo"
Photo::$tableToModel = array
Photo::$logTransactions = false
Photo::$transactional = false
Photo::$cacheQueries = false
Photo::$hasOne = array
Photo::$hasAndBelongsToMany = array
Photo::$Behaviors = BehaviorCollection object
Photo::$whitelist = array
Photo::$cacheSources = true
Photo::$findQueryType = "first"
Photo::$recursive = 3
Photo::$order = NULL
Photo::$__exists = NULL
Photo::$__associationKeys = array
Photo::$__associations = array
Photo::$__backAssociation = array
Photo::$__insertID = NULL
Photo::$__numRows = NULL
Photo::$__affectedRows = NULL
Photo::$_findMethods = array
Photo::$_log = NULL
Photo::$Scoop = Scoop object
Photo::$PhotoAlbum = PhotoAlbum object
Photo::$Comment = Comment object
Photo::$Rating = Rating object
Photo::$FriendTag = FriendTag object
Photo::$__backContainableAssociation = array
$alias = "Photo"
$fields = array()
$quote = true
array_keys - [internal], line ??
DboSource::fields() - CORE/cake/libs/model/datasources/dbo_source.php, line 1652
DboSource::read() - CORE/cake/libs/model/datasources/dbo_source.php, line 618
Model::find() - CORE/cake/libs/model/model.php, line 1822
Photo::findForView() - APP/models/photo.php, line 57
PhotosController::view() - APP/controllers/photos_controller.php, line 41
Object::dispatchMethod() - CORE/cake/libs/object.php, line 116
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 259
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 213
[main] - APP/webroot/index.php, line 90
Warning (2): array_filter() [function.array-filter]: The first argument should be an array [CORE/cake/libs/model/datasources/dbo_source.php, line 1656]
Code |
Context$this = DboMysql
DboMysql::$description = "MySQL DBO Driver"
DboMysql::$startQuote = "`"
DboMysql::$endQuote = "`"
DboMysql::$_commands = array
DboMysql::$_baseConfig = array
DboMysql::$columns = array
DboMysql::$__useAlias = true
DboMysql::$index = array
DboMysql::$alias = "AS "
DboMysql::$fieldCache = array
DboMysql::$__bypass = false
DboMysql::$__sqlOps = array
DboMysql::$connected = true
DboMysql::$fullDebug = true
DboMysql::$error = "1030: Got error 122 from storage engine"
DboMysql::$affected = NULL
DboMysql::$numRows = NULL
DboMysql::$took = 0
DboMysql::$_result = false
DboMysql::$_queriesCnt = 135
DboMysql::$_queriesTime = 1
DboMysql::$_queriesLog = array
DboMysql::$_queriesLogMax = 200
DboMysql::$_queryCache = array
DboMysql::$__descriptions = array
DboMysql::$_sources = array
DboMysql::$connection = resource
DboMysql::$config = array
DboMysql::$configKeyName = "default"
DboMysql::$_transactionStarted = false
DboMysql::$cacheSources = true
DboMysql::$_log = NULL
DboMysql::$__booleans = array
$model = Photo
Photo::$name = "Photo"
Photo::$belongsTo = array
Photo::$hasMany = array
Photo::$actsAs = array
Photo::$useDbConfig = "default"
Photo::$useTable = "photos"
Photo::$displayField = false
Photo::$id = "191"
Photo::$data = array
Photo::$table = "photos"
Photo::$primaryKey = "id"
Photo::$_schema = false
Photo::$validate = array
Photo::$validationErrors = array
Photo::$tablePrefix = ""
Photo::$alias = "Photo"
Photo::$tableToModel = array
Photo::$logTransactions = false
Photo::$transactional = false
Photo::$cacheQueries = false
Photo::$hasOne = array
Photo::$hasAndBelongsToMany = array
Photo::$Behaviors = BehaviorCollection object
Photo::$whitelist = array
Photo::$cacheSources = true
Photo::$findQueryType = "first"
Photo::$recursive = 3
Photo::$order = NULL
Photo::$__exists = NULL
Photo::$__associationKeys = array
Photo::$__associations = array
Photo::$__backAssociation = array
Photo::$__insertID = NULL
Photo::$__numRows = NULL
Photo::$__affectedRows = NULL
Photo::$_findMethods = array
Photo::$_log = NULL
Photo::$Scoop = Scoop object
Photo::$PhotoAlbum = PhotoAlbum object
Photo::$Comment = Comment object
Photo::$Rating = Rating object
Photo::$FriendTag = FriendTag object
Photo::$__backContainableAssociation = array
$alias = "Photo"
$fields = null
$quote = true
array_filter - [internal], line ??
DboSource::fields() - CORE/cake/libs/model/datasources/dbo_source.php, line 1656
DboSource::read() - CORE/cake/libs/model/datasources/dbo_source.php, line 618
Model::find() - CORE/cake/libs/model/model.php, line 1822
Photo::findForView() - APP/models/photo.php, line 57
PhotosController::view() - APP/controllers/photos_controller.php, line 41
Object::dispatchMethod() - CORE/cake/libs/object.php, line 116
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 259
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 213
[main] - APP/webroot/index.php, line 90
Warning (2): array_values() [function.array-values]: The argument should be an array [CORE/cake/libs/model/datasources/dbo_source.php, line 1656]
Code |
Context$this = DboMysql
DboMysql::$description = "MySQL DBO Driver"
DboMysql::$startQuote = "`"
DboMysql::$endQuote = "`"
DboMysql::$_commands = array
DboMysql::$_baseConfig = array
DboMysql::$columns = array
DboMysql::$__useAlias = true
DboMysql::$index = array
DboMysql::$alias = "AS "
DboMysql::$fieldCache = array
DboMysql::$__bypass = false
DboMysql::$__sqlOps = array
DboMysql::$connected = true
DboMysql::$fullDebug = true
DboMysql::$error = "1030: Got error 122 from storage engine"
DboMysql::$affected = NULL
DboMysql::$numRows = NULL
DboMysql::$took = 0
DboMysql::$_result = false
DboMysql::$_queriesCnt = 135
DboMysql::$_queriesTime = 1
DboMysql::$_queriesLog = array
DboMysql::$_queriesLogMax = 200
DboMysql::$_queryCache = array
DboMysql::$__descriptions = array
DboMysql::$_sources = array
DboMysql::$connection = resource
DboMysql::$config = array
DboMysql::$configKeyName = "default"
DboMysql::$_transactionStarted = false
DboMysql::$cacheSources = true
DboMysql::$_log = NULL
DboMysql::$__booleans = array
$model = Photo
Photo::$name = "Photo"
Photo::$belongsTo = array
Photo::$hasMany = array
Photo::$actsAs = array
Photo::$useDbConfig = "default"
Photo::$useTable = "photos"
Photo::$displayField = false
Photo::$id = "191"
Photo::$data = array
Photo::$table = "photos"
Photo::$primaryKey = "id"
Photo::$_schema = false
Photo::$validate = array
Photo::$validationErrors = array
Photo::$tablePrefix = ""
Photo::$alias = "Photo"
Photo::$tableToModel = array
Photo::$logTransactions = false
Photo::$transactional = false
Photo::$cacheQueries = false
Photo::$hasOne = array
Photo::$hasAndBelongsToMany = array
Photo::$Behaviors = BehaviorCollection object
Photo::$whitelist = array
Photo::$cacheSources = true
Photo::$findQueryType = "first"
Photo::$recursive = 3
Photo::$order = NULL
Photo::$__exists = NULL
Photo::$__associationKeys = array
Photo::$__associations = array
Photo::$__backAssociation = array
Photo::$__insertID = NULL
Photo::$__numRows = NULL
Photo::$__affectedRows = NULL
Photo::$_findMethods = array
Photo::$_log = NULL
Photo::$Scoop = Scoop object
Photo::$PhotoAlbum = PhotoAlbum object
Photo::$Comment = Comment object
Photo::$Rating = Rating object
Photo::$FriendTag = FriendTag object
Photo::$__backContainableAssociation = array
$alias = "Photo"
$fields = null
$quote = true
array_values - [internal], line ??
DboSource::fields() - CORE/cake/libs/model/datasources/dbo_source.php, line 1656
DboSource::read() - CORE/cake/libs/model/datasources/dbo_source.php, line 618
Model::find() - CORE/cake/libs/model/model.php, line 1822
Photo::findForView() - APP/models/photo.php, line 57
PhotosController::view() - APP/controllers/photos_controller.php, line 41
Object::dispatchMethod() - CORE/cake/libs/object.php, line 116
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 259
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 213
[main] - APP/webroot/index.php, line 90
Warning (2): array_unique() [function.array-unique]: The argument should be an array [CORE/cake/libs/model/datasources/dbo_source.php, line 1712]
Code |
Context$this = DboMysql
DboMysql::$description = "MySQL DBO Driver"
DboMysql::$startQuote = "`"
DboMysql::$endQuote = "`"
DboMysql::$_commands = array
DboMysql::$_baseConfig = array
DboMysql::$columns = array
DboMysql::$__useAlias = true
DboMysql::$index = array
DboMysql::$alias = "AS "
DboMysql::$fieldCache = array
DboMysql::$__bypass = false
DboMysql::$__sqlOps = array
DboMysql::$connected = true
DboMysql::$fullDebug = true
DboMysql::$error = "1030: Got error 122 from storage engine"
DboMysql::$affected = NULL
DboMysql::$numRows = NULL
DboMysql::$took = 0
DboMysql::$_result = false
DboMysql::$_queriesCnt = 135
DboMysql::$_queriesTime = 1
DboMysql::$_queriesLog = array
DboMysql::$_queriesLogMax = 200
DboMysql::$_queryCache = array
DboMysql::$__descriptions = array
DboMysql::$_sources = array
DboMysql::$connection = resource
DboMysql::$config = array
DboMysql::$configKeyName = "default"
DboMysql::$_transactionStarted = false
DboMysql::$cacheSources = true
DboMysql::$_log = NULL
DboMysql::$__booleans = array
$model = Photo
Photo::$name = "Photo"
Photo::$belongsTo = array
Photo::$hasMany = array
Photo::$actsAs = array
Photo::$useDbConfig = "default"
Photo::$useTable = "photos"
Photo::$displayField = false
Photo::$id = "191"
Photo::$data = array
Photo::$table = "photos"
Photo::$primaryKey = "id"
Photo::$_schema = false
Photo::$validate = array
Photo::$validationErrors = array
Photo::$tablePrefix = ""
Photo::$alias = "Photo"
Photo::$tableToModel = array
Photo::$logTransactions = false
Photo::$transactional = false
Photo::$cacheQueries = false
Photo::$hasOne = array
Photo::$hasAndBelongsToMany = array
Photo::$Behaviors = BehaviorCollection object
Photo::$whitelist = array
Photo::$cacheSources = true
Photo::$findQueryType = "first"
Photo::$recursive = 3
Photo::$order = NULL
Photo::$__exists = NULL
Photo::$__associationKeys = array
Photo::$__associations = array
Photo::$__backAssociation = array
Photo::$__insertID = NULL
Photo::$__numRows = NULL
Photo::$__affectedRows = NULL
Photo::$_findMethods = array
Photo::$_log = NULL
Photo::$Scoop = Scoop object
Photo::$PhotoAlbum = PhotoAlbum object
Photo::$Comment = Comment object
Photo::$Rating = Rating object
Photo::$FriendTag = FriendTag object
Photo::$__backContainableAssociation = array
$alias = "Photo"
$fields = null
$quote = true
$count = 0
array_unique - [internal], line ??
DboSource::fields() - CORE/cake/libs/model/datasources/dbo_source.php, line 1712
DboSource::read() - CORE/cake/libs/model/datasources/dbo_source.php, line 618
Model::find() - CORE/cake/libs/model/model.php, line 1822
Photo::findForView() - APP/models/photo.php, line 57
PhotosController::view() - APP/controllers/photos_controller.php, line 41
Object::dispatchMethod() - CORE/cake/libs/object.php, line 116
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 259
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 213
[main] - APP/webroot/index.php, line 90
Query: DESCRIBE `photos`
Query: DESCRIBE `scoops`
Warning (2): array_merge() [function.array-merge]: Argument #1 is not an array [CORE/cake/libs/model/datasources/dbo_source.php, line 1109]
Code |
Context$model = Photo
Photo::$name = "Photo"
Photo::$belongsTo = array
Photo::$hasMany = array
Photo::$actsAs = array
Photo::$useDbConfig = "default"
Photo::$useTable = "photos"
Photo::$displayField = false
Photo::$id = "191"
Photo::$data = array
Photo::$table = "photos"
Photo::$primaryKey = "id"
Photo::$_schema = false
Photo::$validate = array
Photo::$validationErrors = array
Photo::$tablePrefix = ""
Photo::$alias = "Photo"
Photo::$tableToModel = array
Photo::$logTransactions = false
Photo::$transactional = false
Photo::$cacheQueries = false
Photo::$hasOne = array
Photo::$hasAndBelongsToMany = array
Photo::$Behaviors = BehaviorCollection object
Photo::$whitelist = array
Photo::$cacheSources = true
Photo::$findQueryType = "first"
Photo::$recursive = 3
Photo::$order = NULL
Photo::$__exists = NULL
Photo::$__associationKeys = array
Photo::$__associations = array
Photo::$__backAssociation = array
Photo::$__insertID = NULL
Photo::$__numRows = NULL
Photo::$__affectedRows = NULL
Photo::$_findMethods = array
Photo::$_log = NULL
Photo::$Scoop = Scoop object
Photo::$PhotoAlbum = PhotoAlbum object
Photo::$Comment = Comment object
Photo::$Rating = Rating object
Photo::$FriendTag = FriendTag object
Photo::$__backContainableAssociation = array
$linkModel = Scoop
Scoop::$name = "Scoop"
Scoop::$actsAs = array
Scoop::$belongsTo = array
Scoop::$hasOne = array
Scoop::$validate = array
Scoop::$useDbConfig = "default"
Scoop::$useTable = "scoops"
Scoop::$displayField = false
Scoop::$id = false
Scoop::$data = array
Scoop::$table = "scoops"
Scoop::$primaryKey = "id"
Scoop::$_schema = false
Scoop::$validationErrors = array
Scoop::$tablePrefix = ""
Scoop::$alias = "Scoop"
Scoop::$tableToModel = array
Scoop::$logTransactions = false
Scoop::$transactional = false
Scoop::$cacheQueries = false
Scoop::$hasMany = array
Scoop::$hasAndBelongsToMany = array
Scoop::$Behaviors = BehaviorCollection object
Scoop::$whitelist = array
Scoop::$cacheSources = true
Scoop::$findQueryType = NULL
Scoop::$recursive = 1
Scoop::$order = NULL
Scoop::$__exists = NULL
Scoop::$__associationKeys = array
Scoop::$__associations = array
Scoop::$__backAssociation = array
Scoop::$__insertID = NULL
Scoop::$__numRows = NULL
Scoop::$__affectedRows = NULL
Scoop::$_findMethods = array
Scoop::$_log = NULL
Scoop::$Account = Account object
Scoop::$Trip = Trip object
Scoop::$TripDestination = TripDestination object
Scoop::$Blog = Blog object
Scoop::$PhotoAlbum = PhotoAlbum object
Scoop::$Video = Video object
Scoop::$__backContainableAssociation = array
$type = "belongsTo"
$association = "Scoop"
$assocData = array(
"dependent" => true,
"className" => "Scoop",
"foreignKey" => "scoop_id",
"conditions" => array(),
"fields" => array(),
"order" => array(),
"counterCache" => "",
"joins" => array(),
"limit" => null,
"offset" => array(),
"group" => array()
)
$queryData = array(
"conditions" => array(
"`Photo`.`id`" => "191"
),
"fields" => false,
"joins" => array(),
"limit" => 1,
"offset" => array(),
"order" => array(
null
),
"page" => 1,
"group" => array(),
"callbacks" => true,
"id" => "191",
"recursive" => 3
)
$external = false
$resultSet = null
$alias = "Scoop"
$self = false
$fields = false
$conditions = array(
"Photo.scoop_id" => stdClass
stdClass::$type = "identifier"
stdClass::$value = "Scoop.id"
)
$join = array(
"table" => "`scoops`",
"alias" => "Scoop",
"type" => "LEFT",
"conditions" => "`Photo`.`scoop_id` = `Scoop`.`id`"
)
array_merge - [internal], line ??
DboSource::generateAssociationQuery() - CORE/cake/libs/model/datasources/dbo_source.php, line 1109
DboSource::read() - CORE/cake/libs/model/datasources/dbo_source.php, line 628
Model::find() - CORE/cake/libs/model/model.php, line 1822
Photo::findForView() - APP/models/photo.php, line 57
PhotosController::view() - APP/controllers/photos_controller.php, line 41
Object::dispatchMethod() - CORE/cake/libs/object.php, line 116
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 259
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 213
[main] - APP/webroot/index.php, line 90
Warning (2): array_merge() [function.array-merge]: Argument #2 is not an array [CORE/cake/libs/model/datasources/dbo_source.php, line 1109]
Code |
Context$model = Photo
Photo::$name = "Photo"
Photo::$belongsTo = array
Photo::$hasMany = array
Photo::$actsAs = array
Photo::$useDbConfig = "default"
Photo::$useTable = "photos"
Photo::$displayField = false
Photo::$id = "191"
Photo::$data = array
Photo::$table = "photos"
Photo::$primaryKey = "id"
Photo::$_schema = false
Photo::$validate = array
Photo::$validationErrors = array
Photo::$tablePrefix = ""
Photo::$alias = "Photo"
Photo::$tableToModel = array
Photo::$logTransactions = false
Photo::$transactional = false
Photo::$cacheQueries = false
Photo::$hasOne = array
Photo::$hasAndBelongsToMany = array
Photo::$Behaviors = BehaviorCollection object
Photo::$whitelist = array
Photo::$cacheSources = true
Photo::$findQueryType = "first"
Photo::$recursive = 3
Photo::$order = NULL
Photo::$__exists = NULL
Photo::$__associationKeys = array
Photo::$__associations = array
Photo::$__backAssociation = array
Photo::$__insertID = NULL
Photo::$__numRows = NULL
Photo::$__affectedRows = NULL
Photo::$_findMethods = array
Photo::$_log = NULL
Photo::$Scoop = Scoop object
Photo::$PhotoAlbum = PhotoAlbum object
Photo::$Comment = Comment object
Photo::$Rating = Rating object
Photo::$FriendTag = FriendTag object
Photo::$__backContainableAssociation = array
$linkModel = Scoop
Scoop::$name = "Scoop"
Scoop::$actsAs = array
Scoop::$belongsTo = array
Scoop::$hasOne = array
Scoop::$validate = array
Scoop::$useDbConfig = "default"
Scoop::$useTable = "scoops"
Scoop::$displayField = false
Scoop::$id = false
Scoop::$data = array
Scoop::$table = "scoops"
Scoop::$primaryKey = "id"
Scoop::$_schema = false
Scoop::$validationErrors = array
Scoop::$tablePrefix = ""
Scoop::$alias = "Scoop"
Scoop::$tableToModel = array
Scoop::$logTransactions = false
Scoop::$transactional = false
Scoop::$cacheQueries = false
Scoop::$hasMany = array
Scoop::$hasAndBelongsToMany = array
Scoop::$Behaviors = BehaviorCollection object
Scoop::$whitelist = array
Scoop::$cacheSources = true
Scoop::$findQueryType = NULL
Scoop::$recursive = 1
Scoop::$order = NULL
Scoop::$__exists = NULL
Scoop::$__associationKeys = array
Scoop::$__associations = array
Scoop::$__backAssociation = array
Scoop::$__insertID = NULL
Scoop::$__numRows = NULL
Scoop::$__affectedRows = NULL
Scoop::$_findMethods = array
Scoop::$_log = NULL
Scoop::$Account = Account object
Scoop::$Trip = Trip object
Scoop::$TripDestination = TripDestination object
Scoop::$Blog = Blog object
Scoop::$PhotoAlbum = PhotoAlbum object
Scoop::$Video = Video object
Scoop::$__backContainableAssociation = array
$type = "belongsTo"
$association = "Scoop"
$assocData = array(
"dependent" => true,
"className" => "Scoop",
"foreignKey" => "scoop_id",
"conditions" => array(),
"fields" => array(),
"order" => array(),
"counterCache" => "",
"joins" => array(),
"limit" => null,
"offset" => array(),
"group" => array()
)
$queryData = array(
"conditions" => array(
"`Photo`.`id`" => "191"
),
"fields" => false,
"joins" => array(),
"limit" => 1,
"offset" => array(),
"order" => array(
null
),
"page" => 1,
"group" => array(),
"callbacks" => true,
"id" => "191",
"recursive" => 3
)
$external = false
$resultSet = null
$alias = "Scoop"
$self = false
$fields = false
$conditions = array(
"Photo.scoop_id" => stdClass
stdClass::$type = "identifier"
stdClass::$value = "Scoop.id"
)
$join = array(
"table" => "`scoops`",
"alias" => "Scoop",
"type" => "LEFT",
"conditions" => "`Photo`.`scoop_id` = `Scoop`.`id`"
)
array_merge - [internal], line ??
DboSource::generateAssociationQuery() - CORE/cake/libs/model/datasources/dbo_source.php, line 1109
DboSource::read() - CORE/cake/libs/model/datasources/dbo_source.php, line 628
Model::find() - CORE/cake/libs/model/model.php, line 1822
Photo::findForView() - APP/models/photo.php, line 57
PhotosController::view() - APP/controllers/photos_controller.php, line 41
Object::dispatchMethod() - CORE/cake/libs/object.php, line 116
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 259
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 213
[main] - APP/webroot/index.php, line 90
Query: DESCRIBE `photos`
Query: DESCRIBE `photo_albums`
Query: DESCRIBE `photos`
Query: DESCRIBE `comments`
Warning (2): array_merge() [function.array-merge]: Argument #1 is not an array [CORE/cake/libs/model/datasources/dbo_source.php, line 1123]
Code |
Context$model = Photo
Photo::$name = "Photo"
Photo::$belongsTo = array
Photo::$hasMany = array
Photo::$actsAs = array
Photo::$useDbConfig = "default"
Photo::$useTable = "photos"
Photo::$displayField = false
Photo::$id = "191"
Photo::$data = array
Photo::$table = "photos"
Photo::$primaryKey = "id"
Photo::$_schema = false
Photo::$validate = array
Photo::$validationErrors = array
Photo::$tablePrefix = ""
Photo::$alias = "Photo"
Photo::$tableToModel = array
Photo::$logTransactions = false
Photo::$transactional = false
Photo::$cacheQueries = false
Photo::$hasOne = array
Photo::$hasAndBelongsToMany = array
Photo::$Behaviors = BehaviorCollection object
Photo::$whitelist = array
Photo::$cacheSources = true
Photo::$findQueryType = "first"
Photo::$recursive = 3
Photo::$order = NULL
Photo::$__exists = NULL
Photo::$__associationKeys = array
Photo::$__associations = array
Photo::$__backAssociation = array
Photo::$__insertID = NULL
Photo::$__numRows = NULL
Photo::$__affectedRows = NULL
Photo::$_findMethods = array
Photo::$_log = NULL
Photo::$Scoop = Scoop object
Photo::$PhotoAlbum = PhotoAlbum object
Photo::$Comment = Comment object
Photo::$Rating = Rating object
Photo::$FriendTag = FriendTag object
Photo::$__backContainableAssociation = array
$linkModel = Comment
Comment::$actsAs = array
Comment::$name = "Comment"
Comment::$belongsTo = array
Comment::$useDbConfig = "default"
Comment::$useTable = "comments"
Comment::$displayField = false
Comment::$id = false
Comment::$data = array
Comment::$table = "comments"
Comment::$primaryKey = "id"
Comment::$_schema = false
Comment::$validate = array
Comment::$validationErrors = array
Comment::$tablePrefix = ""
Comment::$alias = "Comment"
Comment::$tableToModel = array
Comment::$logTransactions = false
Comment::$transactional = false
Comment::$cacheQueries = false
Comment::$hasOne = array
Comment::$hasMany = array
Comment::$hasAndBelongsToMany = array
Comment::$Behaviors = BehaviorCollection object
Comment::$whitelist = array
Comment::$cacheSources = true
Comment::$findQueryType = NULL
Comment::$recursive = 1
Comment::$order = NULL
Comment::$__exists = NULL
Comment::$__associationKeys = array
Comment::$__associations = array
Comment::$__backAssociation = array
Comment::$__insertID = NULL
Comment::$__numRows = NULL
Comment::$__affectedRows = NULL
Comment::$_findMethods = array
Comment::$_log = NULL
Comment::$Account = Account object
$type = "hasMany"
$association = "Comment"
$assocData = array(
"className" => "Comment",
"foreignKey" => "foreign_id",
"conditions" => array(
"Comment.class" => "Photo"
),
"dependent" => true,
"fields" => false,
"order" => array(),
"limit" => null,
"offset" => array(),
"exclusive" => "",
"finderQuery" => "",
"counterQuery" => "",
"joins" => array(),
"group" => array()
)
$queryData = array(
"conditions" => array(
"`Photo`.`id`" => "191"
),
"fields" => false,
"joins" => array(
array(),
array()
),
"limit" => 1,
"offset" => array(),
"order" => array(
null
),
"page" => 1,
"group" => array(),
"callbacks" => true,
"id" => "191",
"recursive" => 3
)
$external = false
$resultSet = null
$alias = "Comment"
$self = false
$fields = array()
array_merge - [internal], line ??
DboSource::generateAssociationQuery() - CORE/cake/libs/model/datasources/dbo_source.php, line 1123
DboSource::read() - CORE/cake/libs/model/datasources/dbo_source.php, line 628
Model::find() - CORE/cake/libs/model/model.php, line 1822
Photo::findForView() - APP/models/photo.php, line 57
PhotosController::view() - APP/controllers/photos_controller.php, line 41
Object::dispatchMethod() - CORE/cake/libs/object.php, line 116
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 259
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 213
[main] - APP/webroot/index.php, line 90
Warning (2): array_unique() [function.array-unique]: The argument should be an array [CORE/cake/libs/model/datasources/dbo_source.php, line 1127]
Code |
Context$model = Photo
Photo::$name = "Photo"
Photo::$belongsTo = array
Photo::$hasMany = array
Photo::$actsAs = array
Photo::$useDbConfig = "default"
Photo::$useTable = "photos"
Photo::$displayField = false
Photo::$id = "191"
Photo::$data = array
Photo::$table = "photos"
Photo::$primaryKey = "id"
Photo::$_schema = false
Photo::$validate = array
Photo::$validationErrors = array
Photo::$tablePrefix = ""
Photo::$alias = "Photo"
Photo::$tableToModel = array
Photo::$logTransactions = false
Photo::$transactional = false
Photo::$cacheQueries = false
Photo::$hasOne = array
Photo::$hasAndBelongsToMany = array
Photo::$Behaviors = BehaviorCollection object
Photo::$whitelist = array
Photo::$cacheSources = true
Photo::$findQueryType = "first"
Photo::$recursive = 3
Photo::$order = NULL
Photo::$__exists = NULL
Photo::$__associationKeys = array
Photo::$__associations = array
Photo::$__backAssociation = array
Photo::$__insertID = NULL
Photo::$__numRows = NULL
Photo::$__affectedRows = NULL
Photo::$_findMethods = array
Photo::$_log = NULL
Photo::$Scoop = Scoop object
Photo::$PhotoAlbum = PhotoAlbum object
Photo::$Comment = Comment object
Photo::$Rating = Rating object
Photo::$FriendTag = FriendTag object
Photo::$__backContainableAssociation = array
$linkModel = Comment
Comment::$actsAs = array
Comment::$name = "Comment"
Comment::$belongsTo = array
Comment::$useDbConfig = "default"
Comment::$useTable = "comments"
Comment::$displayField = false
Comment::$id = false
Comment::$data = array
Comment::$table = "comments"
Comment::$primaryKey = "id"
Comment::$_schema = false
Comment::$validate = array
Comment::$validationErrors = array
Comment::$tablePrefix = ""
Comment::$alias = "Comment"
Comment::$tableToModel = array
Comment::$logTransactions = false
Comment::$transactional = false
Comment::$cacheQueries = false
Comment::$hasOne = array
Comment::$hasMany = array
Comment::$hasAndBelongsToMany = array
Comment::$Behaviors = BehaviorCollection object
Comment::$whitelist = array
Comment::$cacheSources = true
Comment::$findQueryType = NULL
Comment::$recursive = 1
Comment::$order = NULL
Comment::$__exists = NULL
Comment::$__associationKeys = array
Comment::$__associations = array
Comment::$__backAssociation = array
Comment::$__insertID = NULL
Comment::$__numRows = NULL
Comment::$__affectedRows = NULL
Comment::$_findMethods = array
Comment::$_log = NULL
Comment::$Account = Account object
$type = "hasMany"
$association = "Comment"
$assocData = array(
"className" => "Comment",
"foreignKey" => "foreign_id",
"conditions" => array(
"Comment.class" => "Photo"
),
"dependent" => true,
"fields" => null,
"order" => array(),
"limit" => null,
"offset" => array(),
"exclusive" => "",
"finderQuery" => "",
"counterQuery" => "",
"joins" => array(),
"group" => array()
)
$queryData = array(
"conditions" => array(
"`Photo`.`id`" => "191"
),
"fields" => false,
"joins" => array(
array(),
array()
),
"limit" => 1,
"offset" => array(),
"order" => array(
null
),
"page" => 1,
"group" => array(),
"callbacks" => true,
"id" => "191",
"recursive" => 3
)
$external = false
$resultSet = null
$alias = "Comment"
$self = false
$fields = array()
array_unique - [internal], line ??
DboSource::generateAssociationQuery() - CORE/cake/libs/model/datasources/dbo_source.php, line 1127
DboSource::read() - CORE/cake/libs/model/datasources/dbo_source.php, line 628
Model::find() - CORE/cake/libs/model/model.php, line 1822
Photo::findForView() - APP/models/photo.php, line 57
PhotosController::view() - APP/controllers/photos_controller.php, line 41
Object::dispatchMethod() - CORE/cake/libs/object.php, line 116
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 259
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 213
[main] - APP/webroot/index.php, line 90
Query: DESCRIBE `photos`
Query: DESCRIBE `comments`
Query: DESCRIBE `photos`
Query: DESCRIBE `comments`
Warning (2): join() [function.join]: Bad arguments. [CORE/cake/libs/model/datasources/dbo_source.php, line 1261]
Code |
Context$query = array(
"offset" => null,
"joins" => array(),
"conditions" => array(
"Comment.class" => "Photo",
"Comment.foreign_id" => array()
),
"fields" => false,
"table" => "`comments`",
"alias" => "Comment",
"order" => array(),
"limit" => null,
"group" => null
)
$model = Photo
Photo::$name = "Photo"
Photo::$belongsTo = array
Photo::$hasMany = array
Photo::$actsAs = array
Photo::$useDbConfig = "default"
Photo::$useTable = "photos"
Photo::$displayField = false
Photo::$id = "191"
Photo::$data = array
Photo::$table = "photos"
Photo::$primaryKey = "id"
Photo::$_schema = false
Photo::$validate = array
Photo::$validationErrors = array
Photo::$tablePrefix = ""
Photo::$alias = "Photo"
Photo::$tableToModel = array
Photo::$logTransactions = false
Photo::$transactional = false
Photo::$cacheQueries = false
Photo::$hasOne = array
Photo::$hasAndBelongsToMany = array
Photo::$Behaviors = BehaviorCollection object
Photo::$whitelist = array
Photo::$cacheSources = true
Photo::$findQueryType = "first"
Photo::$recursive = 3
Photo::$order = NULL
Photo::$__exists = NULL
Photo::$__associationKeys = array
Photo::$__associations = array
Photo::$__backAssociation = array
Photo::$__insertID = NULL
Photo::$__numRows = NULL
Photo::$__affectedRows = NULL
Photo::$_findMethods = array
Photo::$_log = NULL
Photo::$Scoop = Scoop object
Photo::$PhotoAlbum = PhotoAlbum object
Photo::$Comment = Comment object
Photo::$Rating = Rating object
Photo::$FriendTag = FriendTag object
Photo::$__backContainableAssociation = array
join - [internal], line ??
DboSource::buildStatement() - CORE/cake/libs/model/datasources/dbo_source.php, line 1261
DboSource::generateAssociationQuery() - CORE/cake/libs/model/datasources/dbo_source.php, line 1173
DboSource::read() - CORE/cake/libs/model/datasources/dbo_source.php, line 628
Model::find() - CORE/cake/libs/model/model.php, line 1822
Photo::findForView() - APP/models/photo.php, line 57
PhotosController::view() - APP/controllers/photos_controller.php, line 41
Object::dispatchMethod() - CORE/cake/libs/object.php, line 116
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 259
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 213
[main] - APP/webroot/index.php, line 90
Query: DESCRIBE `photos`
Query: DESCRIBE `friend_tags`
Query: DESCRIBE `photos`
Query: DESCRIBE `friend_tags`
Query: DESCRIBE `photos`
Query: DESCRIBE `friend_tags`
Query: DESCRIBE `photos`
Warning (2): array_unique() [function.array-unique]: The argument should be an array [CORE/cake/libs/model/datasources/dbo_source.php, line 1048]
Code |
Context$model = Photo
Photo::$name = "Photo"
Photo::$belongsTo = array
Photo::$hasMany = array
Photo::$actsAs = array
Photo::$useDbConfig = "default"
Photo::$useTable = "photos"
Photo::$displayField = false
Photo::$id = "191"
Photo::$data = array
Photo::$table = "photos"
Photo::$primaryKey = "id"
Photo::$_schema = false
Photo::$validate = array
Photo::$validationErrors = array
Photo::$tablePrefix = ""
Photo::$alias = "Photo"
Photo::$tableToModel = array
Photo::$logTransactions = false
Photo::$transactional = false
Photo::$cacheQueries = false
Photo::$hasOne = array
Photo::$hasAndBelongsToMany = array
Photo::$Behaviors = BehaviorCollection object
Photo::$whitelist = array
Photo::$cacheSources = true
Photo::$findQueryType = "first"
Photo::$recursive = 3
Photo::$order = NULL
Photo::$__exists = NULL
Photo::$__associationKeys = array
Photo::$__associations = array
Photo::$__backAssociation = array
Photo::$__insertID = NULL
Photo::$__numRows = NULL
Photo::$__affectedRows = NULL
Photo::$_findMethods = array
Photo::$_log = NULL
Photo::$Scoop = Scoop object
Photo::$PhotoAlbum = PhotoAlbum object
Photo::$Comment = Comment object
Photo::$Rating = Rating object
Photo::$FriendTag = FriendTag object
Photo::$__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(
"`Photo`.`id`" => "191"
),
"fields" => false,
"joins" => array(
array(),
array()
),
"limit" => 1,
"offset" => array(),
"order" => array(
null
),
"page" => 1,
"group" => array(),
"callbacks" => true,
"id" => "191",
"recursive" => 3
)
$external = false
$resultSet = null
array_unique - [internal], line ??
DboSource::generateAssociationQuery() - CORE/cake/libs/model/datasources/dbo_source.php, line 1048
DboSource::read() - CORE/cake/libs/model/datasources/dbo_source.php, line 636
Model::find() - CORE/cake/libs/model/model.php, line 1822
Photo::findForView() - APP/models/photo.php, line 57
PhotosController::view() - APP/controllers/photos_controller.php, line 41
Object::dispatchMethod() - CORE/cake/libs/object.php, line 116
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 259
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 213
[main] - APP/webroot/index.php, line 90
Query: DESCRIBE `photos`
Warning (512): SQL Error: 1064: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'FROM `photos` AS `Photo` LEFT JOIN `scoops` AS `Scoop` ON (`Photo`.`scoop_id` = ' at line 1 [CORE/cake/libs/model/datasources/dbo_source.php, line 521]
Code |
Context$sql = "SELECT FROM `photos` AS `Photo` LEFT JOIN `scoops` AS `Scoop` ON (`Photo`.`scoop_id` = `Scoop`.`id`) LEFT JOIN `photo_albums` AS `PhotoAlbum` ON (`Photo`.`photo_album_id` = `PhotoAlbum`.`id`) WHERE `Photo`.`id` = '191' LIMIT 1"
$error = "1064: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'FROM `photos` AS `Photo` LEFT JOIN `scoops` AS `Scoop` ON (`Photo`.`scoop_id` = ' at line 1"
$out = null
$out = null;
if ($error) {
trigger_error("<span style = \"color:Red;text-align:left\"><b>SQL Error:</b> {$this->error}</span>", E_USER_WARNING);
DboSource::showQuery() - CORE/cake/libs/model/datasources/dbo_source.php, line 521
DboSource::execute() - CORE/cake/libs/model/datasources/dbo_source.php, line 208
DboSource::fetchAll() - CORE/cake/libs/model/datasources/dbo_source.php, line 344
DboSource::read() - CORE/cake/libs/model/datasources/dbo_source.php, line 638
Model::find() - CORE/cake/libs/model/model.php, line 1822
Photo::findForView() - APP/models/photo.php, line 57
PhotosController::view() - APP/controllers/photos_controller.php, line 41
Object::dispatchMethod() - CORE/cake/libs/object.php, line 116
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 259
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 213
[main] - APP/webroot/index.php, line 90
Query: SELECT FROM `photos` AS `Photo` LEFT JOIN `scoops` AS `Scoop` ON (`Photo`.`scoop_id` = `Scoop`.`id`) LEFT JOIN `photo_albums` AS `PhotoAlbum` ON (`Photo`.`photo_album_id` = `PhotoAlbum`.`id`) WHERE `Photo`.`id` = '191' LIMIT 1
Warning (2): Cannot modify header information - headers already sent by (output started at /var/www/vhosts/travelscoops.com/httpdocs/cake/basics.php:111) [CORE/cake/libs/controller/controller.php, line 587]
Code |
Context$status = "Location: http://www.travelscoops.com/travel_hub"
header - [internal], line ??
Controller::header() - CORE/cake/libs/controller/controller.php, line 587
Controller::redirect() - CORE/cake/libs/controller/controller.php, line 568
AppController::redirectToHub() - APP/app_controller.php, line 189
PhotosController::view() - APP/controllers/photos_controller.php, line 45
Object::dispatchMethod() - CORE/cake/libs/object.php, line 116
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 259
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 213
[main] - APP/webroot/index.php, line 90
(default) 154 queries took 1 ms
| Nr | Query | Error | Affected | Num. rows | Took (ms) |
| 1 | DESCRIBE `accounts` | 1030: Got error 122 from storage engine | | | 0 |
| 2 | DESCRIBE `trip_destinations` | 1030: Got error 122 from storage engine | | | 0 |
| 3 | DESCRIBE `trips` | 1030: Got error 122 from storage engine | | | 1 |
| 4 | DESCRIBE `featured_trips` | 1030: Got error 122 from storage engine | | | 0 |
| 5 | DESCRIBE `featured_trips` | 1030: Got error 122 from storage engine | | | 0 |
| 6 | DESCRIBE `featured_trips` | 1030: Got error 122 from storage engine | | | 0 |
| 7 | DESCRIBE `featured_trips` | 1030: Got error 122 from storage engine | | | 0 |
| 8 | DESCRIBE `trip_destinations` | 1030: Got error 122 from storage engine | | | 0 |
| 9 | DESCRIBE `scoops` | 1030: Got error 122 from storage engine | | | 0 |
| 10 | DESCRIBE `blogs` | 1030: Got error 122 from storage engine | | | 0 |
| 11 | DESCRIBE `comments` | 1030: Got error 122 from storage engine | | | 0 |
| 12 | DESCRIBE `comments` | 1030: Got error 122 from storage engine | | | 0 |
| 13 | DESCRIBE `comments` | 1030: Got error 122 from storage engine | | | 0 |
| 14 | DESCRIBE `comments` | 1030: Got error 122 from storage engine | | | 0 |
| 15 | DESCRIBE `ratings` | 1030: Got error 122 from storage engine | | | 0 |
| 16 | DESCRIBE `ratings` | 1030: Got error 122 from storage engine | | | 0 |
| 17 | DESCRIBE `ratings` | 1030: Got error 122 from storage engine | | | 0 |
| 18 | DESCRIBE `ratings` | 1030: Got error 122 from storage engine | | | 0 |
| 19 | DESCRIBE `friend_tags` | 1030: Got error 122 from storage engine | | | 0 |
| 20 | DESCRIBE `friend_tags` | 1030: Got error 122 from storage engine | | | 0 |
| 21 | DESCRIBE `friend_tags` | 1030: Got error 122 from storage engine | | | 0 |
| 22 | DESCRIBE `friend_tags` | 1030: Got error 122 from storage engine | | | 0 |
| 23 | DESCRIBE `blogs` | 1030: Got error 122 from storage engine | | | 0 |
| 24 | DESCRIBE `blogs` | 1030: Got error 122 from storage engine | | | 0 |
| 25 | DESCRIBE `blogs` | 1030: Got error 122 from storage engine | | | 0 |
| 26 | DESCRIBE `photo_albums` | 1030: Got error 122 from storage engine | | | 0 |
| 27 | DESCRIBE `photos` | 1030: Got error 122 from storage engine | | | 0 |
| 28 | DESCRIBE `photos` | 1030: Got error 122 from storage engine | | | 0 |
| 29 | DESCRIBE `photos` | 1030: Got error 122 from storage engine | | | 0 |
| 30 | DESCRIBE `photos` | 1030: Got error 122 from storage engine | | | 0 |
| 31 | DESCRIBE `photo_albums` | 1030: Got error 122 from storage engine | | | 0 |
| 32 | DESCRIBE `photo_albums` | 1030: Got error 122 from storage engine | | | 0 |
| 33 | DESCRIBE `photo_albums` | 1030: Got error 122 from storage engine | | | 0 |
| 34 | DESCRIBE `videos` | 1030: Got error 122 from storage engine | | | 0 |
| 35 | DESCRIBE `videos` | 1030: Got error 122 from storage engine | | | 0 |
| 36 | DESCRIBE `videos` | 1030: Got error 122 from storage engine | | | 0 |
| 37 | DESCRIBE `videos` | 1030: Got error 122 from storage engine | | | 0 |
| 38 | DESCRIBE `scoops` | 1030: Got error 122 from storage engine | | | 0 |
| 39 | DESCRIBE `scoops` | 1030: Got error 122 from storage engine | | | 0 |
| 40 | DESCRIBE `scoops` | 1030: Got error 122 from storage engine | | | 0 |
| 41 | DESCRIBE `trip_destinations` | 1030: Got error 122 from storage engine | | | 0 |
| 42 | DESCRIBE `trip_destinations` | 1030: Got error 122 from storage engine | | | 0 |
| 43 | DESCRIBE `trip_destinations` | 1030: Got error 122 from storage engine | | | 0 |
| 44 | DESCRIBE `trip_members` | 1030: Got error 122 from storage engine | | | 0 |
| 45 | DESCRIBE `trip_members` | 1030: Got error 122 from storage engine | | | 0 |
| 46 | DESCRIBE `trip_members` | 1030: Got error 122 from storage engine | | | 0 |
| 47 | DESCRIBE `trip_members` | 1030: Got error 122 from storage engine | | | 0 |
| 48 | DESCRIBE `trip_followers` | 1030: Got error 122 from storage engine | | | 0 |
| 49 | DESCRIBE `trip_followers` | 1030: Got error 122 from storage engine | | | 0 |
| 50 | DESCRIBE `trip_followers` | 1030: Got error 122 from storage engine | | | 0 |
| 51 | DESCRIBE `trip_followers` | 1030: Got error 122 from storage engine | | | 0 |
| 52 | DESCRIBE `trip_invites` | 1030: Got error 122 from storage engine | | | 0 |
| 53 | DESCRIBE `trip_invites` | 1030: Got error 122 from storage engine | | | 0 |
| 54 | DESCRIBE `trip_invites` | 1030: Got error 122 from storage engine | | | 0 |
| 55 | DESCRIBE `trip_invites` | 1030: Got error 122 from storage engine | | | 0 |
| 56 | DESCRIBE `trip_join_requests` | 1030: Got error 122 from storage engine | | | 0 |
| 57 | DESCRIBE `trip_join_requests` | 1030: Got error 122 from storage engine | | | 0 |
| 58 | DESCRIBE `trip_join_requests` | 1030: Got error 122 from storage engine | | | 0 |
| 59 | DESCRIBE `trip_join_requests` | 1030: Got error 122 from storage engine | | | 0 |
| 60 | DESCRIBE `accounts` | 1030: Got error 122 from storage engine | | | 0 |
| 61 | DESCRIBE `user_locations` | 1030: Got error 122 from storage engine | | | 0 |
| 62 | DESCRIBE `user_locations` | 1030: Got error 122 from storage engine | | | 0 |
| 63 | DESCRIBE `user_locations` | 1030: Got error 122 from storage engine | | | 0 |
| 64 | DESCRIBE `user_locations` | 1030: Got error 122 from storage engine | | | 0 |
| 65 | DESCRIBE `friends` | 1030: Got error 122 from storage engine | | | 0 |
| 66 | DESCRIBE `accounts` | 1030: Got error 122 from storage engine | | | 0 |
| 67 | DESCRIBE `friends` | 1030: Got error 122 from storage engine | | | 0 |
| 68 | DESCRIBE `accounts` | 1030: Got error 122 from storage engine | | | 0 |
| 69 | DESCRIBE `friend_invites` | 1030: Got error 122 from storage engine | | | 0 |
| 70 | DESCRIBE `friend_invites` | 1030: Got error 122 from storage engine | | | 0 |
| 71 | DESCRIBE `friend_invites` | 1030: Got error 122 from storage engine | | | 0 |
| 72 | DESCRIBE `friend_invites` | 1030: Got error 122 from storage engine | | | 0 |
| 73 | DESCRIBE `wish_lists` | 1030: Got error 122 from storage engine | | | 0 |
| 74 | DESCRIBE `wish_lists` | 1030: Got error 122 from storage engine | | | 0 |
| 75 | DESCRIBE `wish_lists` | 1030: Got error 122 from storage engine | | | 0 |
| 76 | DESCRIBE `wish_lists` | 1030: Got error 122 from storage engine | | | 0 |
| 77 | DESCRIBE `friend_groups` | 1030: Got error 122 from storage engine | | | 0 |
| 78 | DESCRIBE `friend_group_links` | 1030: Got error 122 from storage engine | | | 0 |
| 79 | DESCRIBE `friend_group_links` | 1030: Got error 122 from storage engine | | | 0 |
| 80 | DESCRIBE `friend_group_links` | 1030: Got error 122 from storage engine | | | 0 |
| 81 | DESCRIBE `friend_group_links` | 1030: Got error 122 from storage engine | | | 0 |
| 82 | DESCRIBE `friend_groups` | 1030: Got error 122 from storage engine | | | 0 |
| 83 | DESCRIBE `friend_groups` | 1030: Got error 122 from storage engine | | | 0 |
| 84 | DESCRIBE `friend_groups` | 1030: Got error 122 from storage engine | | | 0 |
| 85 | DESCRIBE `accounts` | 1030: Got error 122 from storage engine | | | 0 |
| 86 | DESCRIBE `accounts` | 1030: Got error 122 from storage engine | | | 0 |
| 87 | DESCRIBE `accounts` | 1030: Got error 122 from storage engine | | | 0 |
| 88 | DESCRIBE `friends` | 1030: Got error 122 from storage engine | | | 0 |
| 89 | DESCRIBE `friends` | 1030: Got error 122 from storage engine | | | 0 |
| 90 | DESCRIBE `friends` | 1030: Got error 122 from storage engine | | | 0 |
| 91 | DESCRIBE `accounts` | 1030: Got error 122 from storage engine | | | 0 |
| 92 | DESCRIBE `accounts` | 1030: Got error 122 from storage engine | | | 0 |
| 93 | DESCRIBE `accounts` | 1030: Got error 122 from storage engine | | | 0 |
| 94 | DESCRIBE `friends` | 1030: Got error 122 from storage engine | | | 0 |
| 95 | DESCRIBE `friends` | 1030: Got error 122 from storage engine | | | 0 |
| 96 | DESCRIBE `friends` | 1030: Got error 122 from storage engine | | | 0 |
| 97 | DESCRIBE `accounts` | 1030: Got error 122 from storage engine | | | 0 |
| 98 | DESCRIBE `accounts` | 1030: Got error 122 from storage engine | | | 0 |
| 99 | DESCRIBE `accounts` | 1030: Got error 122 from storage engine | | | 0 |
| 100 | DESCRIBE `accounts` | 1030: Got error 122 from storage engine | | | 0 |
| 101 | DESCRIBE `accounts` | 1030: Got error 122 from storage engine | | | 0 |
| 102 | DESCRIBE `accounts` | 1030: Got error 122 from storage engine | | | 0 |
| 103 | DESCRIBE `accounts` | 1030: Got error 122 from storage engine | | | 0 |
| 104 | DESCRIBE `trip_members` | 1030: Got error 122 from storage engine | | | 0 |
| 105 | DESCRIBE `trip_followers` | 1030: Got error 122 from storage engine | | | 0 |
| 106 | DESCRIBE `trips` | 1030: Got error 122 from storage engine | | | 0 |
| 107 | DESCRIBE `trips` | 1030: Got error 122 from storage engine | | | 0 |
| 108 | DESCRIBE `trips` | 1030: Got error 122 from storage engine | | | 0 |
| 109 | DESCRIBE `trip_destinations` | 1030: Got error 122 from storage engine | | | 0 |
| 110 | DESCRIBE `trip_destinations` | 1030: Got error 122 from storage engine | | | 0 |
| 111 | DESCRIBE `trip_destinations` | 1030: Got error 122 from storage engine | | | 0 |
| 112 | DESCRIBE `accounts` | 1030: Got error 122 from storage engine | | | 0 |
| 113 | DESCRIBE `accounts` | 1030: Got error 122 from storage engine | | | 0 |
| 114 | DESCRIBE `accounts` | 1030: Got error 122 from storage engine | | | 0 |
| 115 | DESCRIBE `friends` | 1030: Got error 122 from storage engine | | | 0 |
| 116 | DESCRIBE `friends` | 1030: Got error 122 from storage engine | | | 0 |
| 117 | DESCRIBE `friends` | 1030: Got error 122 from storage engine | | | 0 |
| 118 | DESCRIBE `friends` | 1030: Got error 122 from storage engine | | | 0 |
| 119 | DESCRIBE `temp_table` | 1030: Got error 122 from storage engine | | | 0 |
| 120 | DESCRIBE `temp_table` | 1030: Got error 122 from storage engine | | | 0 |
| 121 | DESCRIBE `temp_table` | 1030: Got error 122 from storage engine | | | 0 |
| 122 | DESCRIBE `temp_table` | 1030: Got error 122 from storage engine | | | 0 |
| 123 | DESCRIBE `messages` | 1030: Got error 122 from storage engine | | | 0 |
| 124 | DESCRIBE `accounts` | 1030: Got error 122 from storage engine | | | 0 |
| 125 | DESCRIBE `accounts` | 1030: Got error 122 from storage engine | | | 0 |
| 126 | DESCRIBE `accounts` | 1030: Got error 122 from storage engine | | | 0 |
| 127 | DESCRIBE `accounts` | 1030: Got error 122 from storage engine | | | 0 |
| 128 | DESCRIBE `accounts` | 1030: Got error 122 from storage engine | | | 0 |
| 129 | DESCRIBE `accounts` | 1030: Got error 122 from storage engine | | | 0 |
| 130 | DESCRIBE `accounts` | 1030: Got error 122 from storage engine | | | 0 |
| 131 | DESCRIBE `accounts` | 1030: Got error 122 from storage engine | | | 0 |
| 132 | DESCRIBE `messages` | 1030: Got error 122 from storage engine | | | 0 |
| 133 | DESCRIBE `messages` | 1030: Got error 122 from storage engine | | | 0 |
| 134 | DESCRIBE `messages` | 1030: Got error 122 from storage engine | | | 0 |
| 135 | DESCRIBE `photos` | 1030: Got error 122 from storage engine | | | 0 |
| 136 | DESCRIBE `photos` | 1030: Got error 122 from storage engine | | | 0 |
| 137 | DESCRIBE `scoops` | 1030: Got error 122 from storage engine | | | 0 |
| 138 | DESCRIBE `photos` | 1030: Got error 122 from storage engine | | | 0 |
| 139 | DESCRIBE `photo_albums` | 1030: Got error 122 from storage engine | | | 0 |
| 140 | DESCRIBE `photos` | 1030: Got error 122 from storage engine | | | 0 |
| 141 | DESCRIBE `comments` | 1030: Got error 122 from storage engine | | | 0 |
| 142 | DESCRIBE `photos` | 1030: Got error 122 from storage engine | | | 0 |
| 143 | DESCRIBE `comments` | 1030: Got error 122 from storage engine | | | 0 |
| 144 | DESCRIBE `photos` | 1030: Got error 122 from storage engine | | | 0 |
| 145 | DESCRIBE `comments` | 1030: Got error 122 from storage engine | | | 0 |
| 146 | DESCRIBE `photos` | 1030: Got error 122 from storage engine | | | 0 |
| 147 | DESCRIBE `friend_tags` | 1030: Got error 122 from storage engine | | | 0 |
| 148 | DESCRIBE `photos` | 1030: Got error 122 from storage engine | | | 0 |
| 149 | DESCRIBE `friend_tags` | 1030: Got error 122 from storage engine | | | 0 |
| 150 | DESCRIBE `photos` | 1030: Got error 122 from storage engine | | | 0 |
| 151 | DESCRIBE `friend_tags` | 1030: Got error 122 from storage engine | | | 0 |
| 152 | DESCRIBE `photos` | 1030: Got error 122 from storage engine | | | 0 |
| 153 | DESCRIBE `photos` | 1030: Got error 122 from storage engine | | | 0 |
| 154 | SELECT FROM `photos` AS `Photo` LEFT JOIN `scoops` AS `Scoop` ON (`Photo`.`scoop_id` = `Scoop`.`id`) LEFT JOIN `photo_albums` AS `PhotoAlbum` ON (`Photo`.`photo_album_id` = `PhotoAlbum`.`id`) WHERE `Photo`.`id` = '191' LIMIT 1 | 1064: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'FROM `photos` AS `Photo` LEFT JOIN `scoops` AS `Scoop` ON (`Photo`.`scoop_id` = ' at line 1 | | | 0 |