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
Hi guys.
I have noticed that our weathermap has stopped updating, when I run it in debug mode it moans about function check_extension_exists() being missing.
I have had a quick look through the source and can’t see that function anywhere.
Not sure if its been depreciated or renamed (or if it was surplus to requirements and simply removed)
Cheers.
Mike Hyslop Senior Infrastructure Engineer mike.hyslop@theaccesspoint.co.uk
DDI: 020 8102 1121 Office: 020 3189 2645
www.theaccesspoint.co.uk Accesspoint | Unit 7 | Ashton Gate | Ashton Road | Harold Hill | RM3 8UF
Please think of the environment before you print this email
This document should only be read by those persons to whom it is addressed. Accordingly, Accesspoint Group Holdings Ltd and its subsidiary companies disclaim all responsibility and accept no liability (including in negligence) for the consequences of any such persons other than the addressee acting, or refraining from acting, on such information prior to the receipt by those persons of subsequent written confirmation. If you have received this e-mail message in error, please notify us immediately by telephone (0203 189 2645). Please also destroy and delete the message from your computer. Any form of reproduction, dissemination, copying, disclosure, modification, distribution and/or publication of this e-mail message is strictly prohibited. Accesspoint Group Holdings Ltd, Accesspoint Technologies Ltd and Accesspoint Legal Services Ltd are companies registered in England and Wales. www.theaccesspoint.co.uk
The risk of fraud relating to emails and bank account details has increased. We will NOT email you to tell you that our bank account details have changed; any such email is a scam. Please check our bank account details with us in person if you are in any doubt. We will not accept responsibility if you transfer money into an incorrect account.
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.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
Hi guys.
I have noticed that our weathermap has stopped updating, when I run it in debug mode it moans about function check_extension_exists() being missing.
I have had a quick look through the source and can’t see that function anywhere.
Not sure if its been depreciated or renamed (or if it was surplus to requirements and simply removed)
Cheers.
[Accesspoint Logo]
[Roundel Logo]
Mike Hyslop
Senior Infrastructure Engineer
[email icon]
mike.hyslop@theaccesspoint.co.ukmailto:mike.hyslop@theaccesspoint.co.uk
[phone icon]
DDI: 020 8102 1121 Office: 020 3189 2645
[website icon]
www.theaccesspoint.co.ukhttp://www.theaccesspoint.co.uk
[address icon]
Accesspoint | Unit 7 | Ashton Gate | Ashton Road | Harold Hill | RM3 8UF
[group logos]
[website icon] Please think of the environment before you print this email
This document should only be read by those persons to whom it is addressed. Accordingly, Accesspoint Group Holdings Ltd and its subsidiary companies disclaim all responsibility and accept no liability (including in negligence) for the consequences of any such persons other than the addressee acting, or refraining from acting, on such information prior to the receipt by those persons of subsequent written confirmation. If you have received this e-mail message in error, please notify us immediately by telephone (0203 189 2645). Please also destroy and delete the message from your computer. Any form of reproduction, dissemination, copying, disclosure, modification, distribution and/or publication of this e-mail message is strictly prohibited. Accesspoint Group Holdings Ltd, Accesspoint Technologies Ltd and Accesspoint Legal Services Ltd are companies registered in England and Wales. www.theaccesspoint.co.ukhttp://www.theaccesspoint.co.uk/
The risk of fraud relating to emails and bank account details has increased. We will NOT email you to tell you that our bank account details have changed; any such email is a scam. Please check our bank account details with us in person if you are in any doubt. We will not accept responsibility if you transfer money into an incorrect account.
in weathermap code change include order (includes/functions.inc.php before definitions):
includes/functions.inc.php includes/definitions.inc.php
Mike Hyslop mailto: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.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 mailto:mike.hyslop@theaccesspoint.co.uk>
To: "observium@observium.org mailto:observium@observium.org" <observium@observium.org mailto: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 mailto: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.uk mailto:mike.hyslop@theaccesspoint.co.uk> To: "observium@observium.org" <observium@observium.org mailto: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
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
participants (3)
-
Adam Armstrong
-
Mike Hyslop
-
Mike Stupalov