Twitter Facebook
Entrar o Registrarse
desc

Si no tienes cuenta Regístrate.

Database Error

Error: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'Book.created' in 'order clause'

SQL Query: SELECT `Book3`.*, concat( if(saga="","",saga), if(orden=0,"", concat (" - ",orden)) ) as ssaga FROM `books` AS `Book3` WHERE 1 = 1 and Book3.relato='1' group by Book3.id ORDER BY Book.created desc limit 110, 10;

Notice: If you want to customize this error message, create app/View/Errors/pdo_error.ctp

Stack Trace

  • CORE/Cake/Model/Datasource/DboSource.php line 461PDOStatement->execute(array)
  • CORE/Cake/Model/Datasource/DboSource.php line 427DboSource->_execute(string, array)
  • CORE/Cake/Model/Datasource/DboSource.php line 671DboSource->execute(string, array, array)
  • CORE/Cake/Model/Datasource/DboSource.php line 540DboSource->fetchAll(string)
  • [internal function]DboSource->query(string)
  • CORE/Cake/Model/Model.php line 2997call_user_func_array(array, array)
  • APP/Model/Book3.php line 88Model->query(string)
  • CORE/Cake/Controller/Component/PaginatorComponent.php line 167Book3->paginate(array, null, array, integer, integer, integer, array)
  • APP/Controller/BooksController.php line 120PaginatorComponent->paginate(string)
  • [internal function]BooksController->relatos()
  • CORE/Cake/Controller/Controller.php line 485ReflectionMethod->invokeArgs(BooksController, array)
  • CORE/Cake/Routing/Dispatcher.php line 186Controller->invokeAction(CakeRequest)
  • CORE/Cake/Routing/Dispatcher.php line 161Dispatcher->_invoke(BooksController, CakeRequest, CakeResponse)
  • APP/webroot/index.php line 92Dispatcher->dispatch(CakeRequest, CakeResponse)