PDA

View Full Version : Error at Host and Group insertion


dam-jp
09-02-2006, 15:18
Hi,

When i insert a group, this message is shown:

Warning: pg_exec(): Query failed: ERROR: syntax error at end of input at character 38 . in /var/www/html/zabbix-1.0/include/db.inc.php on line 64

Warning: pg_fetch_row(): supplied argument is not a valid PostgreSQL result resource in /var/www/html/zabbix-1.0/include/db.inc.php on line 120
Error getting row

Despite the success on insertion.

The same happens with the hosts insertion:


Warning: pg_exec(): Query failed: ERROR: syntax error at end of input at character 36 . in /var/www/html/zabbix-1.0/include/db.inc.php on line 64

Warning: pg_fetch_row(): supplied argument is not a valid PostgreSQL result resource in /var/www/html/zabbix-1.0/include/db.inc.php on line 120
Error getting row

I'm using Postgresql 8.1 and zabbix-1.0

Thanks in advance.

elkor
10-02-2006, 15:26
I'm not running postgres or zab 1.0 anymore so I don't have a testbed anywhere, but if it's working anyway I would suspect a typo in those files at or near the lines mentioned. perhaps a comment block that wasn't closed or something.

I'd be more specific but I don't have the files on hand to help out.