Ad Widget

Collapse

Version 1.1.4, errors with postgres

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • mruk
    Junior Member
    • Apr 2006
    • 10

    #1

    Version 1.1.4, errors with postgres

    Hi,

    I think it may be a bug report, but maybe something is wrong with my configuration.

    I get
    Code:
    Warning: pg_fetch_array() expects parameter 1 to be resource, boolean given in htdocs/zabbix/include/db.inc.php on line 179
    5 times before the login field, but can login.

    While trying to add a graph to a screen I get
    Code:
    Warning: pg_exec() [function.pg-exec]: Query failed: ERROR: column "h.host" must appear in the GROUP BY clause or be used in an aggregate function in htdocs/zabbix/include/db.inc.php on line 108
    
    Warning: pg_fetch_array() expects parameter 1 to be resource, boolean given in htdocs/zabbix/include/db.inc.php on line 179
    and the graph cannot be added.

    Please help.

    mruk
  • root_master
    Junior Member
    • Dec 2005
    • 18

    #2
    Ich hab ne Patch beigefügt

    gehe ins verzeichnis wo dein zabbix frontend installiert ist und schreibe

    patch -p1 < patch.diff

    dannach müsste es gehen.

    viel spass

    Marcel
    Attached Files

    Comment

    • mruk
      Junior Member
      • Apr 2006
      • 10

      #3
      There is no need of patching -> the file is ok, even turning to the longer option does not resolve the problem ;(

      Comment

      Working...