Escolha uma opção da oferta


Warning: Missing argument 1 for DAO::__construct(), called in /home/comgru/public_html/sys/inc/dao/LogDAO.php on line 21 and defined in /home/comgru/public_html/sys/inc/dao/DAO.php on line 21

Warning: Missing argument 2 for DAO::__construct(), called in /home/comgru/public_html/sys/inc/dao/LogDAO.php on line 21 and defined in /home/comgru/public_html/sys/inc/dao/DAO.php on line 21
Mensagem: SQLSTATE[42000]: Syntax error or access violation: 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 IdOferta' at line 1

Arquivo: /home/comgru/public_html/sys/inc/PU.php

Linha: 157

Fluxo do Erro:
exception 'PDOException' with message 'SQLSTATE[42000]: Syntax error or access violation: 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 IdOferta' at line 1' in /home/comgru/public_html/sys/inc/PU.php:157
Stack trace:
#0 /home/comgru/public_html/sys/inc/PU.php(157): PDO->query('SELECT * FROM O...')
#1 /home/comgru/public_html/sys/inc/dao/OfertaDAO.php(622): PU->select('Oferta', 'IdMultDeal = ', 'IdOferta')
#2 /home/comgru/public_html/sys/inc/class/ClassOferta.php(717): OfertaDAO->selecionarOfertasPorIdIdMultDeal(NULL)
#3 /home/comgru/public_html/MultDeal.php(24): Oferta->selecionarOfertasPorIdIdMultDeal(NULL)
#4 {main}


PDO ErrorInfo:
array (
  0 => '42000',
  1 => 1064,
  2 => '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 IdOferta\' at line 1',
)

SQL:
POST:
array (
)

GET:
array (
)

SESSION:
array (
)


Fatal error: Call to undefined method DAO::insert() in /home/comgru/public_html/sys/inc/dao/LogDAO.php on line 45