exception 'ADODB_Exception' with message 'postgres7 error: [-1: ERRO: erro de sintaxe em ou próximo a "." LINHA 10: .noticias nt ^] in EXECUTE(" SELECT nt.id_noticia, nt.titulo, nt.data_publicacao, nt.home, nt.ativo, nt.texto FROM .noticias nt WHERE nt.ativo = 1 ORDER BY nt.data_publicacao,nt.id_noticia DESC LIMIT 10 OFFSET 0") ' in /var/includes/vcl/adodb/adodb-exceptions.inc.php:78 Stack trace: #0 /var/includes/vcl/adodb/adodb.inc.php(918): adodb_throw('postgres7', 'EXECUTE', -1, 'ERRO: erro de ...', '?? S...', false, Object(ADODB_postgres7)) #1 /var/includes/vcl/adodb/adodb.inc.php(893): ADOConnection->_Execute('?? S...', false) #2 /var/includes/vcl/adodb/drivers/adodb-postgres7.inc.php(44): ADOConnection->Execute('?? S...', Array) #3 /var/includes/vcl/dbtables.inc.php(251): ADODB_postgres7->SelectLimit('?? S...', '10', '0', Array) #4 /var/includes/vcl/dbtables.inc.php(640): Database->executelimit('?? S...', '10', '0', Array) #5 /var/includes/vcl/db.inc.php(1837): DBDataSet->InternalOpen() #6 /var/includes/vcl/db.inc.php(1856): DataSet->doInternalOpen() #7 /var/includes/vcl/db.inc.php(2338): DataSet->openCursor() #8 /var/includes/vcl/dbtables.inc.php(1372): DataSet->writeActive(true) #9 /var/includes/vcl/system.inc.php(330): Query->setActive(true) #10 /var/includes/vcl/dbtables.inc.php(783): Object->__set('Active', true) #11 /var/includes/vcl/db.inc.php(2158): DBDataSet->__set('Active', true) #12 /home/pagina/nfse/noticias/tm_noticias.php(245): DataSet->open() #13 /home/pagina/nfse/noticias/untlsttodasnoticias.php(33): tm_noticias->ListarNoticiaPortal() #14 /home/pagina/nfse/noticias/untlsttodasnoticias.php(28): untlsttodasnoticias->Pesquisar() #15 /var/includes/vcl/classes.inc.php(1411): untlsttodasnoticias->untlsttodasnoticiasBeforeShow(Object(untlsttodasnoticias), Array) #16 /var/includes/vcl/controls.inc.php(1105): Component->callEvent('onbeforeshow', Array) #17 /home/pagina/nfse/noticias/untlsttodasnoticias.php(56): Control->show() #18 {main}
Application raised an exception class EDatabaseError with message 'QUE_psqNoticia: Cannot perform this operation on a closed dataset'
Click for detailed information