Uploaded image for project: 'Observium'
  1. Observium
  2. OBS-4531

PHP Parse error: syntax error, unexpected '=' in /opt/observium/includes/observium.inc.php on line 427

Details

    • Bug
    • Resolution: Not A Bug
    • Major
    • None
    • None
    • Default
    • None

    Description

      With update to r12852, we're getting the error shown in the Summary line

      Attachments

        Issue Links

          Activity

            [OBS-4531] PHP Parse error: syntax error, unexpected '=' in /opt/observium/includes/observium.inc.php on line 427

            Confirmed, the PHP update fixes this.

            O Helge Oldach added a comment - Confirmed, the PHP update fixes this.

            Please update your PHP version!

            Mail list announce:
            https://lists.observium.org/hyperkitty/list/observium@lists.observium.org/thread/G2JDYY5TZLSQRCERTKYXORK64XBYMGTC/

            Our next STABLE merge will permanently break compatibility with PHP 
            versions below 7.1.x. Our official minimum is 7.2 (though we strongly 
            recommend 7.4 or 8.1).
             
            Please make sure you're compatible before you next update! :)
             
            We're not yet sure when our minimum will switch to 8.1, but if you can, 
            we'd recommend upgrading to that.
             
            Upgrading on most distributions from the past 8 or so years is not too 
            difficult, but if you're on very old distributions, we might recommend 
            upgrading the entire distro. Newer rrdtool and MySQL is a benefit too.
            

            landy Mike Stupalov added a comment - Please update your PHP version! Mail list announce: https://lists.observium.org/hyperkitty/list/observium@lists.observium.org/thread/G2JDYY5TZLSQRCERTKYXORK64XBYMGTC/ Our next STABLE merge will permanently break compatibility with PHP versions below 7.1.x. Our official minimum is 7.2 (though we strongly recommend 7.4 or 8.1).   Please make sure you're compatible before you next update! :)   We're not yet sure when our minimum will switch to 8.1, but if you can, we'd recommend upgrading to that.   Upgrading on most distributions from the past 8 or so years is not too difficult, but if you're on very old distributions, we might recommend upgrading the entire distro. Newer rrdtool and MySQL is a benefit too.

            General questions and device support can be discussed in our Discord channel, click here to join.


            Please make and attach additional information about the device:

            • full snmp dump from device:

              snmpwalk -v2c -c <community> -t 3 -Cc --hexOutputLength=0 -Ih -ObentxU <hostname> .1 > myagent.snmpwalk
              snmpwalk -v2c -c <community> -t 3 -Cc --hexOutputLength=0 -Ih -ObentxU <hostname> .1.3.6.1.4.1 >> myagent.snmpwalk

              If device not support SNMP version 2c, replace -v2c with -v1.

            • If you have problems with discovery or poller processes, please do and attach these debugs:

              ./discovery.php -d -h <device>
              ./poller.php -d -h <device>

            • additionally attach device and/or vendor specific MIB files

            This comment is added automatically.

            bot Observium Bot added a comment - General questions and device support can be discussed in our Discord channel, click here to join . Please make and attach additional information about the device: full snmp dump from device: snmpwalk -v2c -c <community> -t 3 -Cc --hexOutputLength=0 -Ih -ObentxU <hostname> .1 > myagent.snmpwalk snmpwalk -v2c -c <community> -t 3 -Cc --hexOutputLength=0 -Ih -ObentxU <hostname> .1.3.6.1.4.1 >> myagent.snmpwalk If device not support SNMP version 2c, replace -v2c with -v1. If you have problems with discovery or poller processes, please do and attach these debugs: ./discovery.php -d -h <device> ./poller.php -d -h <device> additionally attach device and/or vendor specific MIB files This comment is added automatically.

            People

              landy Mike Stupalov
              O Helge Oldach
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: