Ad Widget

Collapse

Problems in generating/displaying PNG/JPEG graphic

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • angrox
    Junior Member
    • Jun 2005
    • 6

    #1

    Problems in generating/displaying PNG/JPEG graphic

    Hi

    I have read a lot of problems regarding missing graphs. Unfortunately all the solutions did not help me.

    I have the following Problem: All graphs are broken with the error message
    "The image xy cannot be displayed, because it contains errors". The generated file itself is not a valid graphic file because it has one empty line at the beginning of the file. I have not found the source of this empty line but removing it shows the graph.

    So, my first question is: How can I prevent that each generated image file has an empty line at its beginning.

    Secondly, the debugged graph show another error "Error: no permissions!". I have checked the user rights (Administration -> User -> User rights) - they show read/write to every item listed. All other tabs have "xx" in it.

    The mysql user has full access to the zabbix database.

    Second question: Why do I get a "no permisson" error. How can I change this permission for i cannot see how to grant this permission (even the Admin is affected).

    My System Config:

    f7, php-gd-5.2.2-3, php-5.2.2-3, phpinfo() shows gd module support enabled.

    thanks in advance

    Martin
Working...