Ad Widget

Collapse

Admin Login

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • mkaser
    Junior Member
    • Sep 2006
    • 7

    #1

    Admin Login

    Fresh install on debian4. Can't login with IE7 or IE6 with user admin. Firefox works fine. Can anyone assist?
  • Alexei
    Founder, CEO
    Zabbix Certified Trainer
    Zabbix Certified SpecialistZabbix Certified Professional
    • Sep 2004
    • 5654

    #2
    Perhaps you have cookies disabled under IE?
    Alexei Vladishev
    Creator of Zabbix, Product manager
    New York | Tokyo | Riga
    My Twitter

    Comment

    • VeryNewbie
      Member
      • Feb 2007
      • 40

      #3
      I have the same problem... I tried in Mozilla and IE6 but in both it doesn't work. Does anybody know how to fix it? what do I have to do? First I though it was a problem with the linkage, but it seems to be something else...

      TIA
      Last edited by VeryNewbie; 11-06-2007, 13:02.

      Comment

      • VeryNewbie
        Member
        • Feb 2007
        • 40

        #4
        If I try to login, nothing works... but if I'm as guest I can "surf" on my zabbix, so I'm able to look at the triggers and it doesn't look good...

        Error in query [select * from events where objectid=12001 and object=0 order by clock desc limit 1] [Unknown column 'objectid' in 'where clause']
        mysql_fetch_array(): supplied argument is not a valid MySQL result resource[/.../apache/htdocs/zabbix/include/db.inc.php:398]
        Error in query [select * from events where objectid=12002 and object=0 order by clock desc limit 1] [Unknown column 'objectid' in 'where clause']
        mysql_fetch_array(): supplied argument is not a valid MySQL result resource[/.../apache/htdocs/zabbix/include/db.inc.php:398]

        I get this error for every single trigger I guess...

        Comment

        • treyh
          Member
          • May 2007
          • 64

          #5
          ie7

          I can't login with ie7 either

          Comment

          • Coder
            Member
            • Mar 2007
            • 38

            #6
            Guys anybody resolve this problem?

            Comment

            • VeryNewbie
              Member
              • Feb 2007
              • 40

              #7
              no, I tought the problem was the .sql files, so I created the database again and ran the scripts, but I become the same error again...

              I have no Idea how to solve it

              Comment

              • Coder
                Member
                • Mar 2007
                • 38

                #8
                Basically for this reason I had to return on version Zabbix 1.1.6

                I will wait, can be in version 1.4.1 will earn normally.

                Comment

                • VeryNewbie
                  Member
                  • Feb 2007
                  • 40

                  #9
                  I could solve it... in my case the problem was here:

                  I put the values right here (in db.inc.php) :

                  <?php

                  global $DB, $DB_TYPE, $DB_SERVER, $DB_DATABASE, $DB_USER, $DB_PASSWORD;

                  $DB_TYPE = "MYSQL";
                  $DB_SERVER = "blabla:1234";
                  $DB_DATABASE = "zabbix";
                  $DB_USER = "zabbix";
                  $DB_PASSWORD = "test123";



                  function DBconnect(&$error)
                  {
                  $result = true;

                  global $DB, $DB_TYPE, $DB_SERVER, $DB_DATABASE, $DB_USER, $DB_PASSWORD

                  $DB = null;


                  but it doesn't worked... so I changed it to here:


                  <?php

                  global $DB, $DB_TYPE, $DB_SERVER, $DB_DATABASE, $DB_USER, $DB_PASSWORD;



                  function DBconnect(&$error)
                  {
                  $result = true;

                  global $DB, $DB_TYPE, $DB_SERVER, $DB_DATABASE, $DB_USER, $DB_PASSWORD

                  $DB_TYPE = "MYSQL";
                  $DB_SERVER = "blabla:1234";
                  $DB_DATABASE = "zabbix";
                  $DB_USER = "zabbix";
                  $DB_PASSWORD = "test123";


                  $DB = null;

                  if(!isset($DB_TYPE))


                  and it works now

                  Comment

                  • treyh
                    Member
                    • May 2007
                    • 64

                    #10
                    fix

                    didn't work for me......zabbix 1.4

                    Comment

                    • Coder
                      Member
                      • Mar 2007
                      • 38

                      #11
                      Originally posted by treyh
                      didn't work for me......zabbix 1.4
                      What Db you use?
                      for Oracle need other changes!

                      Comment

                      • Mondo1287
                        Junior Member
                        • Jul 2007
                        • 2

                        #12
                        I'm running a fresh install of 1.4 on gentoo x86 with mysql. I cannot log in as Admin on Firefox 2.0.0.5 (linux), or Konqueror, or IE7 on Vista. It just takes me right back to the login page. I can only log in with Firefox 2.0.0.3 on Vista. If I type garbage into the login I do get an error, typing the correct username Admin with a blank password results in no error and a redirect back to the login page.

                        Comment

                        • treyh
                          Member
                          • May 2007
                          • 64

                          #13
                          login on 1.4

                          there are login problems with 1.4, you need to install or upgrade to 1.4.1

                          Comment

                          • Mondo1287
                            Junior Member
                            • Jul 2007
                            • 2

                            #14
                            Thanks, the new version did the trick.

                            Comment

                            Working...