Ad Widget

Collapse

No Permissions on Maps

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • kyi
    Member
    • Jun 2005
    • 64

    #16
    k, it looks like a bad query.
    whats next to find the problem?

    Comment

    • Aly
      ZABBIX developer
      • May 2007
      • 1126

      #17
      The code is written properly, you must be copied it wrongly.
      Zabbix | ex GUI developer

      Comment

      • kyi
        Member
        • Jun 2005
        • 64

        #18
        yep, your right it was a copy-paste problem. my fault.

        here is the new debug info:
        Code:
        DEBUG INFO: string(95) "SELECT sysmapid,name FROM sysmaps WHERE (sysmapid div 100000000000000) in (0) ORDER BY name"
        i think it looks good. i have all maps n the drop-down-box but i get

        ERROR: No Permissions !

        hmpf

        Comment

        • Aly
          ZABBIX developer
          • May 2007
          • 1126

          #19
          So the problem in permissions. That is weard, as you sad you are connected as super admin?!

          in map.php at line ~44 comment line:
          Code:
          	access_deny();
          like that:
          Code:
          //	access_deny();
          So there won't be any permissions checks for maps...
          Zabbix | ex GUI developer

          Comment

          • kyi
            Member
            • Jun 2005
            • 64

            #20
            thxs, that works.
            now i can see all maps with the super-admin-account

            strange problem .....

            Comment

            • tighep
              Senior Member
              • Dec 2007
              • 124

              #21
              Sorry to bring up an old thread, but I experienced the same behavior today, and it turns out that one of my elements was put into the DB with an elementid of 0. I set the elementid to the next available number, and all is well again.

              Comment

              • Aly
                ZABBIX developer
                • May 2007
                • 1126

                #22
                You must be saved it without choosing proper element. See this thread http://www.zabbix.com/forum/showthread.php?t=11904
                Zabbix | ex GUI developer

                Comment

                Working...