![](https://secure.gravatar.com/avatar/d1b4592d2bf56fccb5a3c11dce523a0a.jpg?s=120&d=mm&r=g)
Legend, that’s got it.
For others interested, in map-poller.php in the weathermap directory, alter the order as specified and the functions line will reference a functions.php, change that to functions.inc.php and all is well again.
Thanks.
From: Mike Stupalov mike@stupalov.ru On Behalf Of Mike Stupalov Sent: 06 April 2018 08:16 To: Observium observium@observium.org; Mike Hyslop mike.hyslop@theaccesspoint.co.uk Subject: Re: [Observium] Function gone missing
in weathermap code change include order (includes/functions.inc.php before definitions):
includes/functions.inc.php includes/definitions.inc.php
Mike Hyslopmailto:mike.hyslop@theaccesspoint.co.uk 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.orgmailto:observium-bounces@observium.org On Behalf Of Adam Armstrong Sent: 05 April 2018 19:24 To: Observium observium@observium.orgmailto: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.ukmailto:mike.hyslop@theaccesspoint.co.uk> To: "observium@observium.orgmailto:observium@observium.org" <observium@observium.orgmailto:observium@observium.org> Sent: 2018-04-04 07:08:28 Subject: [Observium] Function gone missing
_______________________________________________ observium mailing list observium@observium.orgmailto:observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observiumhttp://postman.memetic.org/cgi-bin/mailman/listinfo/observium Adam Armstrongmailto:adama@memetic.org 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.ukmailto:mike.hyslop@theaccesspoint.co.uk> To: "observium@observium.org"mailto:observium@observium.org <observium@observium.orgmailto:observium@observium.org> Sent: 2018-04-04 07:08:28 Subject: [Observium] Function gone missing
_______________________________________________ observium mailing list observium@observium.orgmailto:observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observiumhttp://postman.memetic.org/cgi-bin/mailman/listinfo/observium
-- Mike Stupalov Observium Limited, http://observium.orghttp://observium.org