Ad Widget

Collapse

Pictures cannot be displayed. The path is pointing somewhere else.

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • kanour
    Senior Member
    • May 2006
    • 105

    #1

    Pictures cannot be displayed. The path is pointing somewhere else.

    I am getting a lots of these errors from apache log for different pictures.

    File does not exist: /usr/share/images/gradients/table_head.gif

    I compile the sources with preffix /usr.

    But why should pictures be located in /usr/images ? I thought the path should point to the web directory?

    Is there any fix for this or should I create that image directory in /usr and move the pictures there?
  • just2blue4u
    Senior Member
    • Apr 2006
    • 347

    #2
    where did you move the frontend to?
    I just moved the whole data from folder frontend/php (located in zabbix tar.gz) to /var/www/html/zabbix/ . this works for me...
    Big ZABBIX is watching you!
    (... and my 48 hosts, 4513 items, 1280 triggers via zabbix v1.6 on CentOS 5.0)

    Comment

    • kanour
      Senior Member
      • May 2006
      • 105

      #3
      Because I run virtual hosts I have in ~/www

      Comment

      • just2blue4u
        Senior Member
        • Apr 2006
        • 347

        #4
        then copy all data from frontends/php to ~/www/ ... that should do it.
        Big ZABBIX is watching you!
        (... and my 48 hosts, 4513 items, 1280 triggers via zabbix v1.6 on CentOS 5.0)

        Comment

        • kanour
          Senior Member
          • May 2006
          • 105

          #5
          But I have it all there. Even the image folder.
          Should I do copy and rewrite it all??? Can I damage something? Will it help?

          Comment

          • just2blue4u
            Senior Member
            • Apr 2006
            • 347

            #6
            which version do you use?
            which php-files contain the image path string ?
            Big ZABBIX is watching you!
            (... and my 48 hosts, 4513 items, 1280 triggers via zabbix v1.6 on CentOS 5.0)

            Comment

            • kanour
              Senior Member
              • May 2006
              • 105

              #7
              I use version 1.1beta9

              I don't know which files the path is defined in?

              Comment

              • just2blue4u
                Senior Member
                • Apr 2006
                • 347

                #8
                the image table_head.gif is defined in css.css .
                If your css differs to the one supplied in tar.gz, copy the css from archive into ~/www/
                or try to insert full (absolute) path in css.css (line 845 & 3296)...
                Big ZABBIX is watching you!
                (... and my 48 hosts, 4513 items, 1280 triggers via zabbix v1.6 on CentOS 5.0)

                Comment

                • kanour
                  Senior Member
                  • May 2006
                  • 105

                  #9
                  I think that everythink is fine:
                  url(images/gradients/table_head.gif)

                  That should work.
                  The only posibility then is config file for apache. Could be the error somewhere there?

                  Comment

                  • kanour
                    Senior Member
                    • May 2006
                    • 105

                    #10
                    Still nothing so I created the folder in /usr/share/images and it works now.
                    I dont know where is the problem.

                    Comment

                    Working...