Yeah, no.

You're not blaming your local PHP install's lack of standard functions on us.

Nope.

adma.

On 2017-09-13 13:06:08, Shon Elliott <selliott@getunwired.com> wrote:

Hi Mike/Adam,

It was working just fine before the upgrade, though. I don't understand how it could have stopped working. Everything is pretty recent.

I checked everything again and it seems to be running fine, now.

Thanks.


Output of discovery.php -VV + installed php modules:

Observium 17.9.8841

##### Software versions #####

o OS FreeBSD GENERIC [amd64] ( 10.3-RELEASE-p20)
o Apache 2.4.27
o PHP 5.6.31 (OPcache: ENABLED)
o Python 2.7.13
o MySQL 5.6.37 (extension: mysqli 5.0.11-dev)
o SNMP NET-SNMP 5.7.3
o RRDtool 1.6.0

##### Memory Limit #####

o PHP 1kB

##### MySQL mode #####

o MySQL NO_ENGINE_SUBSTITUTION

##### Charset info #####

o PHP UTF-8
o MySQL utf8

##### Timezones info #####

o Date Wednesday, 13-Sep-17 05:03:32 PDT
o PHP -07:00
o MySQL -07:00

mod_php56-5.6.31 PHP Scripting Language
php56-5.6.31 PHP Scripting Language
php56-bz2-5.6.31 The bz2 shared extension for php
php56-ctype-5.6.31 The ctype shared extension for php
php56-filter-5.6.31 The filter shared extension for php
php56-gd-5.6.31 The gd shared extension for php
php56-hash-5.6.31 The hash shared extension for php
php56-iconv-5.6.31 The iconv shared extension for php
php56-json-5.6.31 The json shared extension for php
php56-mbstring-5.6.31 The mbstring shared extension for php
php56-mcrypt-5.6.31 The mcrypt shared extension for php
php56-mysql-5.6.31 The mysql shared extension for php
php56-mysqli-5.6.31 The mysqli shared extension for php
php56-opcache-5.6.31 The opcache shared extension for php
php56-openssl-5.6.31 The openssl shared extension for php
php56-posix-5.6.31 The posix shared extension for php
php56-session-5.6.31 The session shared extension for php
php56-snmp-5.6.31 The snmp shared extension for php
php56-tokenizer-5.6.31 The tokenizer shared extension for php
php56-xml-5.6.31 The xml shared extension for php
php56-zip-5.6.31 The zip shared extension for php
php56-zlib-5.6.31 The zlib shared extension for php



-----Original Message-----
From: observium [mailto:observium-bounces@observium.org] On Behalf Of Mike Stupalov
Sent: Tuesday, September 12, 2017 10:34 PM
To: Observium
Subject: Re: [Observium] New error after update to latest SVN (stable branch)

Hi,

show your versions:

./discovery.php -VV

and yes, this function should be in php since 5.6, but for older php versions used compat library with this function..

Shon Elliott wrote:
>
> Hi Observium List,
>
>
>
> We updated Observium to the latest svn stable branch today. I made
> sure we had ran the update, so it shows that everything is up to date,
> including the database.
>
>
>
> We found that we ran into a snag when adding new users to the system
> via the web interface. I was able to add the user via the adduser.php
> script, but it’s missing some data. When I went to go edit it, it
> logged the same error. Here are the excerpts of the errors below, one
> for adding the user, and one for editing the user added via adduser.php.
>
>
>
> [Tue Sep 12 14:23:32.609888 2017] [:error] [pid 42518] [client
> 1.2.3.4:51614] PHP Fatal error: Call to undefined function
> hash_equals() in
> /usr/local/www/observium/html/includes/functions.inc.php on line 313,
> referer: http://xxx/adduser/
>
> [Tue Sep 12 14:26:36.631482 2017] [:error] [pid 42518] [client
> 1.2.3.4:10867] PHP Fatal error: Call to undefined function
> hash_equals() in /usr/local/www/observium/html/pages/edituser.inc.php
> on line 125, referer: http://xxx/edituser/user_id=13/
>
>
>
>
>
> Any ideas?
>
>
>
>
>
> Kind Regards,
>
> Shon Elliott, KK6TOO
>
> Level 3 IP/Routing/Security Network Engineer
>
> unwired-new-logo
>
> (559) 476-9463 – Cell
>
> (559) 261-4444 x 129 – Office
>
> (559) 943-1025 – Direct
>
> selliott@getunwired.com
>
> www.getunwired.com
>
>
>
>
>
>
>
> _______________________________________________
> observium mailing list
> observium@observium.org
> http://postman.memetic.org/cgi-bin/mailman/listinfo/observium

--
Mike Stupalov
Observium Limited, http://observium.org

_______________________________________________
observium mailing list
observium@observium.org
http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
_______________________________________________
observium mailing list
observium@observium.org
http://postman.memetic.org/cgi-bin/mailman/listinfo/observium