Ad Widget

Collapse

No styles and images in web GUI

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • MichalP
    Junior Member
    • Dec 2012
    • 4

    #1

    No styles and images in web GUI

    Hi,

    I installed zabbix server and web GUI via yum (zabbix20-server... ver 2.0.3). I'm using Mysql. Database was created, server starts without any problems. But GUI has no styles and images. I reinstall packages, but it didn't help. What can be wrong? Please see attached image.

    Best regards,
    Michal
    Attached Files
  • blazergst
    Junior Member
    • Nov 2007
    • 10

    #2
    Without knowing more about your distro etc. looks like you might be missing some files.

    Download the source file from here http://sourceforge.net/projects/zabb...test%20Stable/

    make a backup of your frontends folder and copy in the new folder frontends folder from source. For more see http://www.zabbix.com/documentation/..._web_interface

    Comment

    • mrcustard
      Junior Member
      • Dec 2012
      • 1

      #3
      Make sure frontend files has the correct owner. I believe all files should be the same owner as your web server user, with the exception of the "conf" directory, that should be owned by the zabbix user/group you've created.

      Comment

      • MichalP
        Junior Member
        • Dec 2012
        • 4

        #4
        Thanks for replies.

        It's probably not the matter of permissions.
        I'm using rhel6. In /etc/httpd/conf.d/zabbix.conf I have:
        Alias /zabbix /usr/share/zabbix

        I changed owner of that whole directory to apache:apache, but it didn't help.

        I'll try to install zabbix-web from sources.

        Cheers,
        Michal

        Comment

        • chris1234
          Junior Member
          • Dec 2012
          • 1

          #5
          Hi there,

          I just bumped into the exact same issue. After fiddling a bit with the generated HTML I figured out that the culprit seemed to be the DOCTYPE declaration on line 117 in /usr/share/zabbix/include/page_header.php.

          <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

          Just comment out or remove that line and the site displays fine. Don't ask me why, I do not have the slighest idea. There must be something weird with the generated HTML...

          I feel this deserves a bug report. If anybody's able to confirm the issue and the workaround I'll do that.

          Thanks,
          Chris

          Comment

          • MichalP
            Junior Member
            • Dec 2012
            • 4

            #6
            Hi,

            Thanks chris1234, I removed the line #143 in /usr/share/zabbix/include/page_header.php
            Code:
            <!doctype html>
            and the page seems to be ok.

            Michal

            Comment

            Working...