Got this working with the Alt-Dashboard as well - slightly changed the settings in the warnings.css - the initial warning now appears over the page banner and when you click on the show the actual warning is displayed a bit further down the page.
Hi guys,
i’ve installed the latest version but it doens’t show anything on my Homepage.
I’ve choiced an actual warning to test but here is the results: http://www.meteocarmignano.it/meteo.php
Have you made sure the cache location is correct - with mine I had to add ./ to the front of cache setting. Also it takes about 15 mins or so to populate the two text files
# create a cache-folder and chmod it to 0777.
$EUAcacheName = "./cache/meteoalarm.txt"; // prototype for path/filename for cache file
$Sea_EUAcacheName = "cache/sea-meteoalarm.txt";
# note: $EUAcacheName will be changed to -$Lang.txt (like -en.txt) to allow languages to have unique cache files.
#
$EUArefetchSeconds = 60; // refresh every hour
I had it without dot before…i’ll wait 15 minutes…
Thanks,
Noted one thing when looked around n MA’s site. There may come more changes as not all warnings works even on their site yet.
For example Estonian warnings shows up on European/country map but no data on area-page, and theese worked before the changes.
Also ex. Sweden, whats on map seems to have coastal warnings, do not show up yet when compared with their SMHI-warnings.
Is there anyone who got the latest meteoalarm.zip files working within the
are of Ken True’s World Template? I’m struckling in getting the warning box at the top of this area: http://www.montauroux.info/meteoalarm.php and can use some expert guidance.
Noted that others are referring to $frontpage=true, which I can’t locate in the latest meteo.php. Are we mixing different versions on the current forum?
rgds
Dick
Probably doesn’t help but if you have a quick look at my website (www.carrowhawny.com) I have the metro.php working - the warning is valid until 21:00hrs so it may disappear. The formatting may be out (I use Safari ) but it is defiantly working (albeit with the wrong area of Ireland active). The only changes made to the script were the ones I have identified above.
First @ Henkka thanks for sharing another beautiful script with us.
However I have a problem to get working it. When I open the onpage.php for the first time I get 2 errors:
Warning: curl_setopt() [function.curl-setopt]: CURLOPT_FOLLOWLOCATION cannot be activated when in safe_mode or an open_basedir is set in /sites/leudalweer.nl/www/meteo.php on line 295
Warning: curl_setopt() [function.curl-setopt]: CURLOPT_FOLLOWLOCATION cannot be activated when in safe_mode or an open_basedir is set in /sites/leudalweer.nl/www/meteo.php on line 295
Looking in the cache dir (permission also set to 0777) seen the 2 files: meteoalarm-.txt & sea-meteoalarm-.txt ( both size 1kb)
Text in the meteoalarm-.txt
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>404 Not Found</title>
</head><body>
<h1>Not Found</h1>
<p>The requested URL /0/0/FI032-Varsinais-Suomi.html was not found on this server.</p>
<hr>
<address>Apache/2.2.3 (CentOS) Server at www.meteoalarm.eu Port 80</address>
</body></html>
And for sea-meteoalarm.txt
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>404 Not Found</title>
</head><body>
<h1>Not Found</h1>
<p>The requested URL /0/0/FI811-Sea_of_Archipelago.html was not found on this server.</p>
<hr>
<address>Apache/2.2.3 (CentOS) Server at www.meteoalarm.eu Port 80</address>
</body></html>
Then when I refresh the onpage.php the above warnings does
are you working on new version?
Because this version doesn't work......i've tried all configurations but without success!
Why should I??
Because it deffinitely works as it is!
Have been in action with active warnings on my site since release and works perfect.
As i mentonied in my last post, there are areas what shows up with active warnings on MeteoAlarm map but has no data on area-page so it seems still be bugs/work in progress on meteoalarm.eu and those can’t we do anything about!
Warning: curl_setopt() [function.curl-setopt]: CURLOPT_FOLLOWLOCATION cannot be activated when in safe_mode or an open_basedir is set in /sites/leudalweer.nl/www/meteo.php on line 295