Ad Widget

Collapse

Installation wizard zabbix-1.3 and php 5.1.2

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Arthur
    Member
    • May 2006
    • 31

    #1

    Installation wizard zabbix-1.3 and php 5.1.2

    Running on php 5.1.2 the following warning are show'n:

    var: Deprecated.
    is_a(): Deprecated.
    Non-static method COpt:rofiling_start() should not be called statically (and more functions)

    on page 3: Check of pre-requisites
    it fail's on: PHP max execution time: 30 sec Fail
    and the tool tip say's max is 300 sec

    Is the test wrong or should the tool tip say "Minumum time" ??
  • Arthur
    Member
    • May 2006
    • 31

    #2
    Mesg to my self :-)

    include/setup.inc.php line 225
    test should be : ini_get('max_execution_time') < 300,

    Comment

    • beavrz1
      Junior Member
      • Aug 2006
      • 6

      #3
      getting the same results myself

      I get a ton of this and more on the very first page:


      var: Deprecated. Please use the public/private/protected modifiers[/var/www/html/zabbix13/include/setup.inc.php:33]
      var: Deprecated. Please use the public/private/protected modifiers[/var/www/html/zabbix13/include/setup.inc.php:34]
      var: Deprecated. Please use the public/private/protected modifiers[/var/www/html/zabbix13/include/setup.inc.php:35]
      Non-static method COpt:rofiling_start() should not be called statically[/var/www/html/zabbix13/include/page_header.php:30]


      were you able to find a solution? PHP version incompatability?

      Comment

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

        #4
        Please check php.ini and give me settings of variable error_reporting.
        Alexei Vladishev
        Creator of Zabbix, Product manager
        New York | Tokyo | Riga
        My Twitter

        Comment

        • Arthur
          Member
          • May 2006
          • 31

          #5
          Configure WEB interface

          Alexei,

          1: please make clear in the "Configure WEB interface"
          what will happen if you do a update from 1.1.3 to 1.3.

          2: The mysql user which I use for monitoring (server) and
          for the web interface has restricted rights.
          Only Insert / Update / Select is alawed.
          This makes the test_create_table fail.

          3: In a save webserver configuration user apache does not
          has write access to the htdocs directory tree

          So I think there should be a test and a warning if the conf dir
          is not writeable from the web config interface.
          and maybe then only show the name and content of the config
          file with instructions to manualy create the config file

          if the hosts table already exists, a insert/delete test there
          will also work.
          or
          You should ask in the web config also the dba username / password
          and use that for test and (future) updates.

          rgds
          /Arthur

          Comment

          • Arthur
            Member
            • May 2006
            • 31

            #6
            Oops

            Alexei,

            I did a clean install this time on a non-production machine.
            and i got to the end of the install screens.
            The download of the file worked OK
            In my FireFox the download name is conf-zabbix.conf.php

            rgds
            /Arthur

            Comment

            • beavrz1
              Junior Member
              • Aug 2006
              • 6

              #7
              Alexei,

              error_reporting = E_ALL
              display_errors = off

              Same settings as my other system that is running php4.3, which works fine. However php5 thows errors and doens't get past the license screen.

              Comment

              • Palmertree
                Senior Member
                • Sep 2005
                • 746

                #8
                I was running into the same problem. I would go through all the steps of the wizard, put the config in the conf directory, pressed finished and the wizard would restart again.

                Comment

                • jean
                  Member
                  • Apr 2006
                  • 85

                  #9
                  Same problem for me. This a new installation and my version of php is the 5.2.

                  Comment

                  • krelac
                    Junior Member
                    • Oct 2006
                    • 24

                    #10
                    Originally posted by Palmertree
                    I was running into the same problem. I would go through all the steps of the wizard, put the config in the conf directory, pressed finished and the wizard would restart again.

                    same here...

                    httpd-2.0.52-28.ent.centos4
                    httpd-suexec-2.0.52-28.ent.centos4
                    php-mbstring-4.3.9-3.18
                    php-4.3.9-3.18
                    php-snmp-4.3.9-3.18
                    php-adodb-4.52-1
                    php-gd-4.3.9-3.18
                    php-mysql-4.3.9-3.18
                    php-pear-4.3.9-3.18
                    php-rrdtool-1.0.49-4.el4.kb
                    mysql-devel-4.1.20-1.RHEL4.1
                    mysql-server-4.1.20-1.RHEL4.1
                    mysqlclient10-3.23.58-4.RHEL4.1
                    php-mysql-4.3.9-3.18
                    mysql-4.1.20-1.RHEL4.1


                    k.

                    Comment

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

                      #11
                      Thanks for all these reports! Please continue in case of any new issues.
                      Alexei Vladishev
                      Creator of Zabbix, Product manager
                      New York | Tokyo | Riga
                      My Twitter

                      Comment

                      • LEM
                        Senior Member
                        Zabbix Certified Specialist
                        • Sep 2004
                        • 112

                        #12
                        same issues (tons of php warnings) with the following env on Ubunut 6.06LTS:
                        libapache2-mod-php5 5.1.2-1ubuntu3.4
                        php5-cgi 5.1.2-1ubuntu3.4
                        php5-common 5.1.2-1ubuntu3.4
                        php5-gd 5.1.2-1ubuntu3.4
                        php5-mysql 5.1.2-1ubuntu3.4
                        php5-mysqli 5.1.2-1ubuntu3.4
                        libdbd-mysql-perl 3.0002-2build1
                        libmysqlclient15-dev 5.0.22-0ubuntu6.06.2
                        libmysqlclient15off 5.0.22-0ubuntu6.06.2
                        mysql-client-5.0 5.0.22-0ubuntu6.06.2
                        mysql-common 5.0.22-0ubuntu6.06.2
                        mysql-server-5.0 5.0.22-0ubuntu6.06.2
                        --
                        LEM

                        Comment

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

                          #13
                          As a quick workaround to eliminate warnings, remove E_STRICT from variable error_reporting in php.ini.
                          Alexei Vladishev
                          Creator of Zabbix, Product manager
                          New York | Tokyo | Riga
                          My Twitter

                          Comment

                          • LEM
                            Senior Member
                            Zabbix Certified Specialist
                            • Sep 2004
                            • 112

                            #14
                            Even with error_reporting set to E_ERROR and display_errors set to Off, there is some error messages that are still been displayed:
                            Non-static method COpt:rofiling_start() should not be called statically[/var/www/zabbix/include/page_header.php:30]
                            Non-static method COpt::savesqlrequest() should not be called statically[/var/www/zabbix/include/db.inc.php:167]
                            Non-static method COpt::savesqlrequest() should not be called statically[/var/www/zabbix/include/db.inc.php:167]
                            Non-static method COpt::counter_up() should not be called statically[/var/www/zabbix/include/perm.inc.php:303]
                            Non-static method COpt::counter_up() should not be called statically[/var/www/zabbix/include/perm.inc.php:304]
                            Non-static method COpt::savesqlrequest() should not be called statically[/var/www/zabbix/include/db.inc.php:167]
                            Cannot modify header information - headers already sent by (output started at /var/www/zabbix/include/config.inc.php:536)[/var/www/zabbix/include/page_header.php:66]
                            Non-static method COpt::savesqlrequest() should not be called statically[/var/www/zabbix/include/db.inc.php:167]
                            Non-static method COpt::counter_up() should not be called statically[/var/www/zabbix/include/perm.inc.php:303]
                            Non-static method COpt::counter_up() should not be called statically[/var/www/zabbix/include/perm.inc.php:304]
                            Non-static method COpt::savesqlrequest() should not be called statically[/var/www/zabbix/include/db.inc.php:167]
                            Non-static method COpt::counter_up() should not be called statically[/var/www/zabbix/include/perm.inc.php:303]
                            Non-static method COpt::counter_up() should not be called statically[/var/www/zabbix/include/perm.inc.php:304]
                            Non-static method COpt::savesqlrequest() should not be called statically[/var/www/zabbix/include/db.inc.php:167]
                            Non-static method COpt::counter_up() should not be called statically[/var/www/zabbix/include/perm.inc.php:303]
                            Non-static method COpt::counter_up() should not be called statically[/var/www/zabbix/include/perm.inc.php:304]
                            Non-static method COpt::savesqlrequest() should not be called statically[/var/www/zabbix/include/db.inc.php:167]
                            Non-static method COpt::counter_up() should not be called statically[/var/www/zabbix/include/perm.inc.php:303]
                            Non-static method COpt::counter_up() should not be called statically[/var/www/zabbix/include/perm.inc.php:304]
                            Non-static method COpt::savesqlrequest() should not be called statically[/var/www/zabbix/include/db.inc.php:167]
                            Non-static method COpt::compare_files_with_menu() should not be called statically[/var/www/zabbix/include/page_header.php:344]
                            is_a(): Deprecated. Please use the instanceof operator[/var/www/zabbix/include/classes/ctable.inc.php:139]
                            is_a(): Deprecated. Please use the instanceof operator[/var/www/zabbix/include/classes/ctable.inc.php:146]
                            is_a(): Deprecated. Please use the instanceof operator[/var/www/zabbix/include/classes/ctable.inc.php:60]
                            is_a(): Deprecated. Please use the instanceof operator[/var/www/zabbix/include/classes/ctable.inc.php:68]
                            is_a(): Deprecated. Please use the instanceof operator[/var/www/zabbix/include/classes/ctable.inc.php:68]
                            is_a(): Deprecated. Please use the instanceof operator[/var/www/zabbix/include/classes/ctable.inc.php:139]
                            is_a(): Deprecated. Please use the instanceof operator[/var/www/zabbix/include/classes/ctable.inc.php:146]
                            is_a(): Deprecated. Please use the instanceof operator[/var/www/zabbix/include/classes/ctable.inc.php:60]
                            is_a(): Deprecated. Please use the instanceof operator[/var/www/zabbix/include/classes/ctable.inc.php:68]
                            is_a(): Deprecated. Please use the instanceof operator[/var/www/zabbix/include/classes/ctable.inc.php:68]
                            is_a(): Deprecated. Please use the instanceof operator[/var/www/zabbix/include/classes/ctable.inc.php:68]
                            is_a(): Deprecated. Please use the instanceof operator[/var/www/zabbix/include/classes/ctable.inc.php:68]
                            Non-static method COpt::counter_up() should not be called statically[/var/www/zabbix/include/perm.inc.php:303]
                            Non-static method COpt::counter_up() should not be called statically[/var/www/zabbix/include/perm.inc.php:304]
                            Non-static method COpt::savesqlrequest() should not be called statically[/var/www/zabbix/include/db.inc.php:167]
                            Non-static method COpt::savesqlrequest() should not be called statically[/var/www/zabbix/include/db.inc.php:167]
                            is_a(): Deprecated. Please use the instanceof operator[/var/www/zabbix/include/classes/ctable.inc.php:139]
                            is_a(): Deprecated. Please use the instanceof operator[/var/www/zabbix/include/classes/ctable.inc.php:146]
                            is_a(): Deprecated. Please use the instanceof operator[/var/www/zabbix/include/classes/ctable.inc.php:60]
                            is_a(): Deprecated. Please use the instanceof operator[/var/www/zabbix/include/classes/ctable.inc.php:68]
                            is_a(): Deprecated. Please use the instanceof operator[/var/www/zabbix/include/classes/ctable.inc.php:68]
                            is_a(): Deprecated. Please use the instanceof operator[/var/www/zabbix/include/classes/ctable.inc.php:139]
                            is_a(): Deprecated. Please use the instanceof operator[/var/www/zabbix/include/classes/ctable.inc.php:60]
                            is_a(): Deprecated. Please use the instanceof operator[/var/www/zabbix/include/classes/cformtable.inc.php:105]
                            is_a(): Deprecated. Please use the instanceof operator[/var/www/zabbix/include/classes/ctable.inc.php:60]
                            is_a(): Deprecated. Please use the instanceof operator[/var/www/zabbix/include/classes/ctable.inc.php:68]
                            is_a(): Deprecated. Please use the instanceof operator[/var/www/zabbix/include/classes/ctable.inc.php:68]
                            is_a(): Deprecated. Please use the instanceof operator[/var/www/zabbix/include/classes/ctable.inc.php:60]
                            is_a(): Deprecated. Please use the instanceof operator[/var/www/zabbix/include/classes/ctable.inc.php:68]
                            is_a(): Deprecated. Please use the instanceof operator[/var/www/zabbix/include/classes/ctable.inc.php:68]
                            is_a(): Deprecated. Please use the instanceof operator[/var/www/zabbix/include/classes/ctable.inc.php:167]
                            is_a(): Deprecated. Please use the instanceof operator[/var/www/zabbix/include/classes/ctable.inc.php:60]
                            is_a(): Deprecated. Please use the instanceof operator[/var/www/zabbix/include/classes/ctable.inc.php:139]
                            is_a(): Deprecated. Please use the instanceof operator[/var/www/zabbix/include/classes/ctable.inc.php:60]
                            is_a(): Deprecated. Please use the instanceof operator[/var/www/zabbix/include/classes/ctable.inc.php:139]
                            is_a(): Deprecated. Please use the instanceof operator[/var/www/zabbix/include/classes/ctable.inc.php:146]
                            is_a(): Deprecated. Please use the instanceof operator[/var/www/zabbix/include/classes/ctable.inc.php:139]
                            is_a(): Deprecated. Please use the instanceof operator[/var/www/zabbix/include/classes/ctable.inc.php:146]
                            --
                            LEM

                            Comment

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

                              #15
                              I already spent lots of time digging PHP resources, it seems that all these warnings are generated only in case if either E_STRICT is defined or some interesting compile time parameter was used building PHP 5.x.

                              Anyway please be informed that the problem is already fixed in the latest code. Nothing to worry about.
                              Alexei Vladishev
                              Creator of Zabbix, Product manager
                              New York | Tokyo | Riga
                              My Twitter

                              Comment

                              Working...