This is because the alien code hasn't been updated to include the correct files as observium code has changed.
Probably you just need to look at the includes at the top of observium base files and replicate that in the map-poller.
I don't think we can include this code, since the licenses are probably incompatible.
Adam.
Sent from BlueMail
On 31 Jul 2017, 12:18, at 12:18, Serghei Golipad s.golipad@uk.cdw.com wrote:
Guys,
Anyone encountered this:
./map-poller.php PHP Fatal error: Uncaught Error: Call to undefined function is_cli() in /opt/observium/includes/definitions.inc.php:183 Stack trace: #0 /opt/observium/html/weathermap/map-poller.php(55): include() #1 {main} thrown in /opt/observium/includes/definitions.inc.php on line 183
map-poller.php line 55:
55 include("../../includes/definitions.inc.php");
definitions.inc.php line 183:
182 // Overwrite the autogenerated base_url with external_url when we're on CLI. 183 if(is_cli()) 184 { 185 $config['base_url'] = $config['external_url']; 186 }
I'm guessing this is to do with base_url but unsure what exactly?
Cheers
PLEASE CONSIDER THE ENVIRONMENT BEFORE PRINTING THIS EMAIL.
CDW Limited is a Company registered in England and Wales. This email is sent for and on behalf of CDW Finance Holdings Limited. CDW Finance Holdings Limited is the UK holding company for CDW Limited trading as CDW. The registered office for CDW Finance Holdings Limited (Company Number 05872067) and its UK group undertakings is 10 Fleet Place, London, EC4M 7RB. VAT Registration 902 1949 39. Confidentiality: This e-mail contains proprietary information, some or all of which may be confidential and/or legally privileged. It is for the intended recipient only. If an addressing or transmission error has misdirected this e-mail, please notify the author by replying to this e-mail and then delete the original. If you are not the intended recipient you may not use, disclose, distribute, copy, print or rely on any information contained in this e-mail. You must not inform any other person other than CDW or the sender of its existence.
For more information about CDW please visit www.uk.cdw.com
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium