Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Notice (8): Undefined index: photo [APP/models/behaviors/upload.php, line 106]
- Code | Context
- function beforeSave(&$model) {
- foreach ($this->settings[$model->alias] as $field => $options) {
- if (!is_array($model->data[$model->alias][$field])) continue;
- UploadBehavior::beforeSave() - APP/models/behaviors/upload.php, line 106
- ModelBehavior::dispatchMethod() - CORE/cake/libs/model/model_behavior.php, line 169
- BehaviorCollection::trigger() - CORE/cake/libs/model/model_behavior.php, line 494
- Model::save() - CORE/cake/libs/model/model.php, line 1281
- BooksController::add() - APP/controllers/books_controller.php, line 22
- Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 204
- Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 171
- [main] - APP/webroot/index.php, line 83
- Notice (8): Array to string conversion [CORE/cake/libs/model/datasources/dbo_source.php, line 749]
- Code | Context
- implode - [internal], line ??
- DboSource::create() - CORE/cake/libs/model/datasources/dbo_source.php, line 749
- Model::save() - CORE/cake/libs/model/model.php, line 1342
- BooksController::add() - APP/controllers/books_controller.php, line 22
- Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 204
- Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 171
- [main] - APP/webroot/index.php, line 83
- Warning (512): SQL Error: 1054: Unknown column 'Array' in 'field list' [CORE/cake/libs/model/datasources/dbo_source.php, line 684]
- Code | Context
- DboSource::showQuery() - CORE/cake/libs/model/datasources/dbo_source.php, line 684
- DboSource::execute() - CORE/cake/libs/model/datasources/dbo_source.php, line 266
- DboSource::create() - CORE/cake/libs/model/datasources/dbo_source.php, line 752
- Model::save() - CORE/cake/libs/model/model.php, line 1342
- BooksController::add() - APP/controllers/books_controller.php, line 22
- Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 204
- Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 171
- [main] - APP/webroot/index.php, line 83
- Query: INSERT INTO `books` (`title`, `picture_dir`, `publisher_id`, `author`, `genre`, `description`, `format`, `price`, `pages`, `isbn`, `status`, `created_at`, `updated_at`, `picture`) VALUES ('teste', '', 1, 'sadf', 'asdfsadfa', 'sadfsdf', 'asdfasdf', 333, 333, 'asdfsadf', 'approved', '2011-05-18', '2011-05-18', Array)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement