Someone can help me to form the EWN-forecast and EWN-map http://meteogerena.es
Error forescat: http://meteogerena.es/forecast.php
Error map: http://meteogerena.es/map_only.php
My from is Spain (Sevilla)
Tkanhs
Which version are you running? The latest download is "NEW! EWN-Forecast! Size: 258.46 KB Updated: 25.04.2015"
The error for
forecast.phpFatal error: Call to undefined function defcountries() in /homepages/40/d503283795/htdocs/ewn_frc/ewn_frc.php on line 16
When using the latest download
lines 13-17 of the
ewn_frc.php script look like this:
<option value="AD" data-co="Andorra">'.defcountries("Andorra").'</option>
<option value="AL" data-co="Albania">'.defcountries("Albania").'</option>
<option value="AT" data-co="Austria">'.defcountries("Austria").'</option>
<option value="AX" data-co="Aland Islands">'.defcountries("Aland Islands").'</option>
<option value="BA" data-co="Bosnia and Herzegovina">'.defcountries("Bosnia & Herzegovina").'</option>
So the error should have had line number 13, or you changed the script??
===
The errors for
map_only.php can be seen using "inspect" (in Chrome or FF):
Uncaught ReferenceError: jQuery is not defined ui_autocomplete.min.js:6
Uncaught ReferenceError: jQuery is not defined ui_slider.min.js:6
Uncaught ReferenceError: jQuery is not defined map_only.php:743
Uncaught ReferenceError: Modernizr is not defined ewn_frc.js:19
Uncaught ReferenceError: $ is not defined
So I think the setting in ewn_frc/ewn_frc_config.php
$jqueryload = false; # Should we load JQuery? (Set to false if your site loads it by default)
Should be set to true for that.
Succes, Wim