WXforum.net
Web Weather => Weather Website PHP/AJAX scripting => Topic started by: Forever on March 19, 2023, 08:07:57 PM
-
I tried to update the Regional Mesonet Map scrip and get the error below when I make the new_strftime changes. What did I do wrong?
http://www.weathercat.net/wxmesonetmap.php
PHP Fatal error: Uncaught Error: Call to undefined function locale_get_default() in C:\inetpub\weathercat\mesonet-map-common.php:921
Stack trace:
#0 C:\inetpub\weathercat\mesonet-map-genhtml-inc.php(202): new_strftime()
#1 C:\inetpub\weathercat\mesonet-map-inc.php(168): include_once('...')
#2 C:\inetpub\weathercat\wxmesonetmap.php(75): include_once('...')
#3 {main}
thrown in C:\inetpub\weathercat\mesonet-map-common.php on line 921
-
Looks like your PHP doesn't have the intl extension enabled.
Try to uncomment extension=intl in the php.ini to enable it.
-
Thanks Ken, that fixed it. :)