Warning (512): SQL Error: 1146: Table 'greenluxury.group_posts' doesn't exist [CORE/cake/libs/model/datasources/dbo_source.php, line 525]
Code |
Context$sql = "DESCRIBE `group_posts`"
$error = "1146: Table 'greenluxury.group_posts' doesn't exist"
$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 525
DboSource::execute() - CORE/cake/libs/model/datasources/dbo_source.php, line 201
DboSource::fetchAll() - CORE/cake/libs/model/datasources/dbo_source.php, line 337
DboSource::query() - CORE/cake/libs/model/datasources/dbo_source.php, line 221
DboMysql::describe() - CORE/cake/libs/model/datasources/dbo/dbo_mysql.php, line 449
Model::schema() - CORE/cake/libs/model/model.php, line 873
Model::setSource() - CORE/cake/libs/model/model.php, line 753
Model::__construct() - CORE/cake/libs/model/model.php, line 410
ClassRegistry::init() - CORE/cake/libs/class_registry.php, line 140
Model::__constructLinkedModel() - CORE/cake/libs/model/model.php, line 637
Model::__createLinks() - CORE/cake/libs/model/model.php, line 609
Model::__construct() - CORE/cake/libs/model/model.php, line 418
ClassRegistry::init() - CORE/cake/libs/class_registry.php, line 140
Model::__constructLinkedModel() - CORE/cake/libs/model/model.php, line 637
Model::__createLinks() - CORE/cake/libs/model/model.php, line 609
Model::__construct() - CORE/cake/libs/model/model.php, line 418
ClassRegistry::init() - CORE/cake/libs/class_registry.php, line 140
Warning: 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 'lookup' at line 1 in /home/borderlessdesign/domains/greenluxury.com/public_html/cake/libs/model/datasources/dbo_source.php on line 525
Query: lookup
Notice (8): Undefined index: foreignKey [CORE/cake/libs/model/datasources/dbo_source.php, line 1209]
Code |
Context$type = "hasOne"
$model = Post
Post::$actsAs = array
Post::$belongsTo = array
Post::$hasMany = array
Post::$hasAndBelongsToMany = array
Post::$hasOne = array
Post::$validate = array
Post::$useDbConfig = "default"
Post::$useTable = "posts"
Post::$displayField = "title"
Post::$id = false
Post::$data = array
Post::$table = "posts"
Post::$primaryKey = "id"
Post::$_schema = array
Post::$validationErrors = array
Post::$tablePrefix = ""
Post::$name = "Post"
Post::$alias = "Post"
Post::$tableToModel = array
Post::$logTransactions = false
Post::$transactional = false
Post::$cacheQueries = false
Post::$Behaviors = BehaviorCollection object
Post::$whitelist = array
Post::$cacheSources = true
Post::$findQueryType = "all"
Post::$recursive = 1
Post::$order = NULL
Post::$__exists = NULL
Post::$__associationKeys = array
Post::$__associations = array
Post::$__backAssociation = array
Post::$__insertID = NULL
Post::$__numRows = NULL
Post::$__affectedRows = NULL
Post::$_findMethods = array
Post::$_log = NULL
Post::$User = User object
Post::$Cover = PostMedia object
$linkModel = PostMedia
PostMedia::$useTable = "post_media"
PostMedia::$belongsTo = array
PostMedia::$actsAs = array
PostMedia::$useDbConfig = "default"
PostMedia::$displayField = "id"
PostMedia::$id = false
PostMedia::$data = array
PostMedia::$table = "post_media"
PostMedia::$primaryKey = "id"
PostMedia::$_schema = array
PostMedia::$validate = array
PostMedia::$validationErrors = array
PostMedia::$tablePrefix = ""
PostMedia::$name = "PostMedia"
PostMedia::$alias = "Cover"
PostMedia::$tableToModel = array
PostMedia::$logTransactions = false
PostMedia::$transactional = false
PostMedia::$cacheQueries = false
PostMedia::$hasOne = array
PostMedia::$hasMany = array
PostMedia::$hasAndBelongsToMany = array
PostMedia::$Behaviors = BehaviorCollection object
PostMedia::$whitelist = array
PostMedia::$cacheSources = true
PostMedia::$findQueryType = NULL
PostMedia::$recursive = 1
PostMedia::$order = NULL
PostMedia::$__exists = NULL
PostMedia::$__associationKeys = array
PostMedia::$__associations = array
PostMedia::$__backAssociation = array
PostMedia::$__insertID = NULL
PostMedia::$__numRows = NULL
PostMedia::$__affectedRows = NULL
PostMedia::$_findMethods = array
PostMedia::$_log = NULL
PostMedia::$Post = Post object
PostMedia::$Media = Media object
$alias = "Cover"
$assoc = array(
"external" => false,
"self" => false,
"className" => "PostMedia",
"order" => array(
"Cover.created" => "desc"
),
"conditions" => array(),
"fields" => array(),
"joins" => array(),
"limit" => null,
"offset" => array(),
"group" => array()
)
$alias2 = null
break;
case (!$assoc['external'] && $type == 'hasOne'):
return array("{$alias}.{$assoc['foreignKey']}" => $this->identifier("{$model->alias}.{$model->primaryKey}"));
DboSource::getConstraint() - CORE/cake/libs/model/datasources/dbo_source.php, line 1209
DboSource::generateAssociationQuery() - CORE/cake/libs/model/datasources/dbo_source.php, line 1091
DboSource::read() - CORE/cake/libs/model/datasources/dbo_source.php, line 637
Model::find() - CORE/cake/libs/model/model.php, line 1963
Post::find() - APP/models/post.php, line 266
Post::find() - APP/models/post.php, line 214
AppController::beforeRender() - APP/app_controller.php, line 174
AppException::render() - APP/error.php, line 134
AppError::handleException() - APP/error.php, line 32
[main] - [internal], line ??
Warning: 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 'lookup' at line 1 in /home/borderlessdesign/domains/greenluxury.com/public_html/cake/libs/model/datasources/dbo_source.php on line 525
Query: lookup
Fatal error: Exception thrown without a stack frame in Unknown on line 0