Advertisement
Guest User

Untitled

a guest
Aug 18th, 2017
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 1.15 KB | None | 0 0
  1. Warning (512): SQL Error: 1054: Unknown column 'Book.photo_dir' in 'field list' [CORE/cake/libs/model/datasources/dbo_source.php, line 684]
  2. Code | Context
  3. DboSource::showQuery() - CORE/cake/libs/model/datasources/dbo_source.php, line 684
  4. DboSource::execute() - CORE/cake/libs/model/datasources/dbo_source.php, line 266
  5. DboMysqlBase::update() - CORE/cake/libs/model/datasources/dbo/dbo_mysql.php, line 196
  6. Model::updateAll() - CORE/cake/libs/model/model.php, line 1796
  7. UploadBehavior::afterSave() - APP/models/behaviors/upload.php, line 155
  8. ModelBehavior::dispatchMethod() - CORE/cake/libs/model/model_behavior.php, line 171
  9. BehaviorCollection::trigger() - CORE/cake/libs/model/model_behavior.php, line 494
  10. Model::save() - CORE/cake/libs/model/model.php, line 1363
  11. BooksController::add() - APP/controllers/books_controller.php, line 22
  12. Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 204
  13. Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 171
  14. [main] - APP/webroot/index.php, line 83
  15. Query: UPDATE `books` AS `Book` LEFT JOIN `publishers` AS `Publisher` ON (`Book`.`publisher_id` = `Publisher`.`id`) SET `Book`.`photo_dir` = "18"  WHERE `Book`.`id` = 18
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement