Ad Widget

Collapse

Error at Host and Group insertion

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • dam-jp
    Junior Member
    • Feb 2006
    • 1

    #1

    Error at Host and Group insertion

    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
    Senior Member
    • Jul 2005
    • 299

    #2
    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.

    Comment

    Working...