Testando o gpweb versão 8.4.24, ap clicar em lista de projetos apresenta o erro:
ERRO: /web/classes/BDConsulta.class.php(630) : SQL falhou(SELECT MAX(tarefa_fim) AS data_fim, tarefa_id FROM (tarefas AS tarefas) WHERE (tarefa_projeto=3) AND (tarefa_projetoex_id IS NULL) GROUP BY tarefa_projeto) Erro era: 'gpweb.tarefas.tarefa_id' isn't in GROUP BY retorno: 0 /web/classes/BDConsulta.class.php:630 dprint('/web/classes/BDConsulta.class.php',630,0,'SQL falhou(SELECT MAX(tarefa_fim) AS data_fim, tarefa_id FROM (tarefas AS tarefas) WHERE (tarefa_projeto=3) AND (tarefa_projetoex_id IS NULL) GROUP BY tarefa_projeto) Erro era: \'gpweb.tarefas.tarefa_id\' isn\'t in GROUP BY') 1 /web/classes/BDConsulta.class.php:717 exec(2) 2 /web/modulos/projetos/projetos.class.php:2661 Linha() 3 /web/modulos/projetos/ver_idx_projetos.php:68 projetos_inicio_data(0,0,0,0,'1','projeto_nome','asc',-1,'','','','','','','','','',NULL,0,'',-1,0,0,0,array ( 'cor' => '1', 'prioridade' => '1', 'cia' => '1', 'depts' => '1', 'inicio' => '1', 'termino' => '1', 'provavel_termino' => '1', 'problema' => '1', 'responsavel' => '1', 'cliente' => '0', 'custo' => '1', 'status' => '1', 'gasto' => '0', 'recursos' => '0', 'supervisor' => '0', 'autoridade' => '0', 'codigo' => '0', 'ano' => '0', 'setor' => '0', 'segmento' => '0', 'intervencao' => '0', 'tipo_intervencao' => '0', 'categoria' => '0', 'url' => '0', 'www' => '0', 'partes' => '0', 'integrantes' => '0', ),false,false,NULL,true,NULL,NULL,'',0,'',NULL,0,0,0,0,0,0,0,array ( )) 4 /web/estilo/rondon/sobrecarga.php:66 require('/web/modulos/projetos/ver_idx_projetos.php') 5 /web/modulos/projetos/index.php:570 mostrar('','','','',true) 6 /web/index.php:341 require('/web/modulos/projetos/index.php')
'gpweb.tarefas.tarefa_id' isn't in GROUP BY
Autor: Dina Porto
1Um comentário