in weathermap code change include order (includes/functions.inc.php before definitions):

includes/functions.inc.php
includes/definitions.inc.php

Mike Hyslop
6 April 2018 at 09:59

Ok.

 

Done some more digging, it’s observium that’s getting upset.

 

Fatal error: Uncaught Error: Call to undefined function check_extension_exists() in /opt/observium/includes/definitions.inc.php:87

Stack trace:

#0 /opt/observium/html/weathermap/map-poller.php(55): include()

#1 {main}

  thrown in /opt/observium/includes/definitions.inc.php on line 87

 

I’ve had a look in the defintions.inc.php file and its referred to twice near that location (checking for encryption bits and pieces).

 

I first spotted the issue in 18.4.9172 and its still present in 18.4.9175

 

Cheers

 

From: observium <observium-bounces@observium.org> On Behalf Of Adam Armstrong
Sent: 05 April 2018 19:24
To: Observium <observium@observium.org>
Subject: Re: [Observium] Function gone missing

 

I had a look at that function the other day, and nothing has changed with it for quite a while.

 

Probably the weathermap script isn't including the correct files, though this stuff hasn't changed for quite some time.

 

adam.

 

------ Original Message ------

From: "Mike Hyslop" <mike.hyslop@theaccesspoint.co.uk>

To: "observium@observium.org" <observium@observium.org>

Sent: 2018-04-04 07:08:28

Subject: [Observium] Function gone missing

 



_______________________________________________
observium mailing list
observium@observium.org
http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
Adam Armstrong
5 April 2018 at 21:23
I had a look at that function the other day, and nothing has changed with it for quite a while.

Probably the weathermap script isn't including the correct files, though this stuff hasn't changed for quite some time.

adam.

------ Original Message ------
From: "Mike Hyslop" <mike.hyslop@theaccesspoint.co.uk>
To: "observium@observium.org" <observium@observium.org>
Sent: 2018-04-04 07:08:28
Subject: [Observium] Function gone missing

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

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