$mainURL = 'data.blitzortung.org';
and it's still not receiving data.#!/bin/bash
# generic bash script for gen-BO-maps.php. K. True - saratoga-weather.org
# Version 1.00 - 18-Apr-2015 - initial release
#
# --- begin settings
# set HDIR to full file path to BOmaps directory on your website
HDIR=/kunden/homepages/9/d141952417/htdocs/wx/BOmaps
# set PHPcmd to full path to PHP V5+ on your host
PHPcmd=/usr/bin/php
# --- end settings
#
cd $HDIR
$PHPcmd -q gen-BO-maps.php > status.txt 2>&1
#
Hmmm... Mine shows no strikes either...Frustrating problem this morning, eh?
Greg H.
Thanks, Greg, but the relevant configuration in 'BO-mapgen.inc' is already set toCode: [Select]$mainURL = 'data.blitzortung.org';
and it's still not receiving data.
There has been a server IP change recently, and I wonder if it hasn't propagated through the DNS servers yet.
BOmapgen - V1.04 - 29-Sep-2017and yours:
BOmapgen - V1.00 - 18-Apr-2015
$T_begin = microtime(true);
$lines = @file($filename,0,$context);
to $T_begin = microtime(true);
$lines = file($filename,0,$context);
so you can see the PHP error messages about the connection.
Warning: file(http://...@data.blitzortung.org/Data_3/Protected/Strikes/2019/02/19/13/50.json): failed to open stream: operation failed in /home/climaso1/domains/climason.com/public_html/BOmaps/BOmapgen-inc.php on line 195don't provide any additional info to point to what might be failing. Grrrr...
BOmapgen - V1.05 - 30-Oct-2018it appears that data.blitzortung.org is maybe refusing the connection due to improper credentials.
BO MOTD: 'Blitzortung.org message: Network for Lightning and Thunderstorms in Real Time'
BO MOTD written to cache/BOmotd.txt with 94 bytes.