Ad Widget

Collapse

Strange Message during add hosts and etc.

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • predatorz
    Senior Member
    • Mar 2007
    • 109

    #1

    Strange Message during add hosts and etc.

    Hi!
    I am currently using Zabbix v1.4. It works and run okay.
    But when during the time i add hosts, update/add new triggers or items, i would get the below msg(a few types).. Anyone knows why? Thanks!
    xxx - the value of message changes..

    Only variable references should be returned by reference[/var/www/html/include/xxx.inc.php:xxx]
    Only variable references should be returned by reference[/var/www/html/include/xxx.inc.php:xxx]
    Only variable references should be returned by reference[/var/www/html/include/xxx.inc.php:xxx]
  • Eugene
    Member
    • Feb 2006
    • 57

    #2
    Originally posted by predatorz
    Hi!
    xxx - the value of message changes..
    Can you show us the xxx numbers?
    Last edited by Alexei; 22-06-2007, 11:42.

    Comment

    • predatorz
      Senior Member
      • Mar 2007
      • 109

      #3
      Sorry for the later reply, below are some of the erros i see in frontend when i add a host, i link the host to my Ping_Template(which has icmpping and icmppingsec as items and triggers)
      • Only variable references should be returned by reference[/var/www/html/include/items.inc.php:622]
      • Only variable references should be returned by reference[/var/www/html/include/hosts.inc.php:817]
      • Only variable references should be returned by reference[/var/www/html/include/hosts.inc.php:817]
      • Only variable references should be returned by reference[/var/www/html/include/items.inc.php:622]
      Only variable references should be returned by reference[/var/www/html/include/hosts.inc.php:432]
      Only variable references should be returned by reference[/var/www/html/include/hosts.inc.php:432]

      I imported & update the database from zabbix 1.1.7 into zabbix 1.4.

      Comment

      • predatorz
        Senior Member
        • Mar 2007
        • 109

        #4
        Same message in zabbix 1.4.1 from 1.4
        Messae appears when add/delete new host/item/trigger.

        Does it have anything to do with the php.ini file?

        Comment

        • predatorz
          Senior Member
          • Mar 2007
          • 109

          #5
          Some Screen shots of the message.
          Happens when i add/del hosts, add/modify/del items/triggers. Problem since Zabbix 1.4 to the build 1.4.2, What causes it?


          Last edited by predatorz; 06-07-2007, 16:51.

          Comment

          • predatorz
            Senior Member
            • Mar 2007
            • 109

            #6
            Is this due to the upgrade from v1.1.7 to v1.4?
            It is also the same when i upgrade from v1.4 to 1.4.1/1.4.2
            I use the database from v1.1.7. did not encounter any upgrade problem of db when upgrade from 1.1.7 to 1.4.

            Anyone have similar problem?

            Comment

            • predatorz
              Senior Member
              • Mar 2007
              • 109

              #7
              Still not sure how to resolve this.. Any ideas?

              Comment

              • Alexei
                Founder, CEO
                Zabbix Certified Trainer
                Zabbix Certified SpecialistZabbix Certified Professional
                • Sep 2004
                • 5654

                #8
                It seems that you're using very latest release of PHP. You may decrease level of debug/warning/error reporting in php.ini to get rid of the messages.
                Alexei Vladishev
                Creator of Zabbix, Product manager
                New York | Tokyo | Riga
                My Twitter

                Comment

                • predatorz
                  Senior Member
                  • Mar 2007
                  • 109

                  #9
                  Noted. Thanks. Will try doing so.

                  Comment

                  • Alexei
                    Founder, CEO
                    Zabbix Certified Trainer
                    Zabbix Certified SpecialistZabbix Certified Professional
                    • Sep 2004
                    • 5654

                    #10
                    It seems to be a PHP bug:

                    Alexei Vladishev
                    Creator of Zabbix, Product manager
                    New York | Tokyo | Riga
                    My Twitter

                    Comment

                    • sebelk
                      Member
                      • Nov 2007
                      • 72

                      #11
                      Is a bug or not?


                      I am using php5 and shouldn't has this error, should it?

                      I mean is right change level of php logs in order to omit these errors?

                      Thanks in advance

                      Comment

                      Working...