View Attachment For:
Title
Description
Notice (8): Undefined index: EventAttachment [APP/controllers/posts_controller.php, line 178]
$model = EventAttachment EventAttachment::$name = "EventAttachment" EventAttachment::$belongsTo = array EventAttachment::$validate = array EventAttachment::$useDbConfig = "default" EventAttachment::$useTable = "event_attachments" EventAttachment::$displayField = "title" EventAttachment::$id = NULL EventAttachment::$data = array EventAttachment::$table = "event_attachments" EventAttachment::$primaryKey = "id" EventAttachment::$_schema = array EventAttachment::$validationErrors = array EventAttachment::$tablePrefix = "" EventAttachment::$alias = "EventAttachment" EventAttachment::$tableToModel = array EventAttachment::$logTransactions = false EventAttachment::$transactional = false EventAttachment::$cacheQueries = false EventAttachment::$hasOne = array EventAttachment::$hasMany = array EventAttachment::$hasAndBelongsToMany = array EventAttachment::$actsAs = NULL EventAttachment::$Behaviors = BehaviorCollection object EventAttachment::$whitelist = array EventAttachment::$cacheSources = true EventAttachment::$findQueryType = NULL EventAttachment::$recursive = 1 EventAttachment::$order = NULL EventAttachment::$__exists = NULL EventAttachment::$__associationKeys = array EventAttachment::$__associations = array EventAttachment::$__backAssociation = array EventAttachment::$__insertID = NULL EventAttachment::$__numRows = NULL EventAttachment::$__affectedRows = NULL EventAttachment::$__findMethods = array EventAttachment::$_log = NULL EventAttachment::$Event = Event object $modelName = "EventAttachment"
{// Get information about current record$id = $model->data[$modelName]['id'];
PostsController::setNavigatorVariablesChild() - APP/controllers/posts_controller.php, line 178 PostsController::attachmentview() - APP/controllers/posts_controller.php, line 690 Object::dispatchMethod() - CORE/cake/libs/object.php, line 120 Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 256 Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 230 [main] - APP/webroot/index.php, line 85
Notice (8): Undefined index: EventAttachment [APP/controllers/posts_controller.php, line 179]
$model = EventAttachment EventAttachment::$name = "EventAttachment" EventAttachment::$belongsTo = array EventAttachment::$validate = array EventAttachment::$useDbConfig = "default" EventAttachment::$useTable = "event_attachments" EventAttachment::$displayField = "title" EventAttachment::$id = NULL EventAttachment::$data = array EventAttachment::$table = "event_attachments" EventAttachment::$primaryKey = "id" EventAttachment::$_schema = array EventAttachment::$validationErrors = array EventAttachment::$tablePrefix = "" EventAttachment::$alias = "EventAttachment" EventAttachment::$tableToModel = array EventAttachment::$logTransactions = false EventAttachment::$transactional = false EventAttachment::$cacheQueries = false EventAttachment::$hasOne = array EventAttachment::$hasMany = array EventAttachment::$hasAndBelongsToMany = array EventAttachment::$actsAs = NULL EventAttachment::$Behaviors = BehaviorCollection object EventAttachment::$whitelist = array EventAttachment::$cacheSources = true EventAttachment::$findQueryType = NULL EventAttachment::$recursive = 1 EventAttachment::$order = NULL EventAttachment::$__exists = NULL EventAttachment::$__associationKeys = array EventAttachment::$__associations = array EventAttachment::$__backAssociation = array EventAttachment::$__insertID = NULL EventAttachment::$__numRows = NULL EventAttachment::$__affectedRows = NULL EventAttachment::$__findMethods = array EventAttachment::$_log = NULL EventAttachment::$Event = Event object $modelName = "EventAttachment" $id = null
// Get information about current record$id = $model->data[$modelName]['id'];$parentId = $model->data[$modelName]['parent_id'];
PostsController::setNavigatorVariablesChild() - APP/controllers/posts_controller.php, line 179 PostsController::attachmentview() - APP/controllers/posts_controller.php, line 690 Object::dispatchMethod() - CORE/cake/libs/object.php, line 120 Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 256 Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 230 [main] - APP/webroot/index.php, line 85
Notice (8): Undefined index: EventAttachment [APP/controllers/posts_controller.php, line 180]
$model = EventAttachment EventAttachment::$name = "EventAttachment" EventAttachment::$belongsTo = array EventAttachment::$validate = array EventAttachment::$useDbConfig = "default" EventAttachment::$useTable = "event_attachments" EventAttachment::$displayField = "title" EventAttachment::$id = NULL EventAttachment::$data = array EventAttachment::$table = "event_attachments" EventAttachment::$primaryKey = "id" EventAttachment::$_schema = array EventAttachment::$validationErrors = array EventAttachment::$tablePrefix = "" EventAttachment::$alias = "EventAttachment" EventAttachment::$tableToModel = array EventAttachment::$logTransactions = false EventAttachment::$transactional = false EventAttachment::$cacheQueries = false EventAttachment::$hasOne = array EventAttachment::$hasMany = array EventAttachment::$hasAndBelongsToMany = array EventAttachment::$actsAs = NULL EventAttachment::$Behaviors = BehaviorCollection object EventAttachment::$whitelist = array EventAttachment::$cacheSources = true EventAttachment::$findQueryType = NULL EventAttachment::$recursive = 1 EventAttachment::$order = NULL EventAttachment::$__exists = NULL EventAttachment::$__associationKeys = array EventAttachment::$__associations = array EventAttachment::$__backAssociation = array EventAttachment::$__insertID = NULL EventAttachment::$__numRows = NULL EventAttachment::$__affectedRows = NULL EventAttachment::$__findMethods = array EventAttachment::$_log = NULL EventAttachment::$Event = Event object $modelName = "EventAttachment" $id = null $parentId = null
$id = $model->data[$modelName]['id'];$parentId = $model->data[$modelName]['parent_id'];$seq = $model->data[$modelName]['seq'];
PostsController::setNavigatorVariablesChild() - APP/controllers/posts_controller.php, line 180 PostsController::attachmentview() - APP/controllers/posts_controller.php, line 690 Object::dispatchMethod() - CORE/cake/libs/object.php, line 120 Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 256 Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 230 [main] - APP/webroot/index.php, line 85
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 'ORDER BY `EventAttachment`.`seq` ASC' at line 1 [CORE/cake/libs/model/datasources/dbo_source.php, line 512]
$sql = "SELECT `EventAttachment`.`id`, `EventAttachment`.`title` FROM `event_attachments` AS `EventAttachment` WHERE parent_id= ORDER BY `EventAttachment`.`seq` ASC " $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 'ORDER BY `EventAttachment`.`seq` ASC' 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 512 DboSource::execute() - CORE/cake/libs/model/datasources/dbo_source.php, line 202 DboSource::fetchAll() - CORE/cake/libs/model/datasources/dbo_source.php, line 338 DboSource::read() - CORE/cake/libs/model/datasources/dbo_source.php, line 627 Model::find() - CORE/cake/libs/model/model.php, line 1795 PostsController::setNavigatorVariablesChild() - APP/controllers/posts_controller.php, line 183 PostsController::attachmentview() - APP/controllers/posts_controller.php, line 690 Object::dispatchMethod() - CORE/cake/libs/object.php, line 120 Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 256 Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 230 [main] - APP/webroot/index.php, line 85
Query: SELECT `EventAttachment`.`id`, `EventAttachment`.`title` FROM `event_attachments` AS `EventAttachment` WHERE parent_id= ORDER BY `EventAttachment`.`seq` ASC