Olá Prezados,
Consegui fazer a instalação do ieducar, no entanto quando tento fazer alguns cadastros me aparece erros como:
cadastro de funcionários
Warning: pg_query() [function.pg-query]: Query failed: ERROR: function pg_catalog.btrim(date) does not exist LINE 1: SELECT TRIM( $1 )='' OR $1 IS NULL ^ HINT: No function matches the given name and argument types. You might need to add explicit type casts. QUERY: SELECT TRIM( $1 )='' OR $1 IS NULL CONTEXT: PL/pgSQL function "fcn_fisica_historico_campo" line 233 at IF /intranet/include/clsBancoPgSql.inc.phpon line 236SQL invalido: INSERT INTO cadastro.fisica (idpes, origem_gravacao, idsis_cad, data_cad, operacao, idpes_cad , data_nasc, sexo, cpf) VALUES ( '7', 'M', 17, NOW(), 'I', '1' , '1985-12-17', 'M' , 6296964625 )
e trocar os dados do admin
Warning: pg_query() [function.pg-query]: Query failed: ERROR: function pg_catalog.btrim(date) does not exist LINE 1: SELECT TRIM( $1 )='' OR $1 IS NULL ^ HINT: No function matches the given name and argument types. You might need to add explicit type casts. QUERY: SELECT TRIM( $1 )='' OR $1 IS NULL CONTEXT: PL/pgSQL function "fcn_fisica_historico_campo" line 233 at IF /intranet/include/clsBancoPgSql.inc.php on line 236SQL invalido: UPDATE cadastro.fisica SET sexo = 'M', idpes_rev = '1' WHERE idpes = '1'
Alguém tem alguma ideia do que seja esse erro e o que pode estar acontecendo.
Obrigado
Atenciosamente
Autor: Renan Oliveira

22 comentários