Support Forums

Support Offline : Mon - Fri / 10am - 6pm (GMT +6)

Your Time: Our Time:

Weather Setup Error

Featured Lock Resolved Bug
I am struggling with Weather Module.
I have updated to a new version of Module and replaced 2 files, changed coding for the space issue. But sill get Warning.
Can you have a look?
https://www.aoitori.be/demo/index.php/en/https://www.aoitori.be/demo/index.php/en/

Attachments (1)

  • weather_error.png
    weather_error.png 56.3 KB

9 Answers

Sifat - Staff

More than a month ago #Permalink
i have the same

Warning: count(): Parameter must be an array or an object that implements Countable in /home/www/http://appbooking.dk/modules/mod_sp_weather/helper.php on line 63
MOD_SPWEATHER_ERROR_CANNOT_FIND_FORECAST_DATA Also make sure your location is current. Verify your location from here https://openweathermap.org/find problem

even i do everythenk som needed after your site but nopoe


Would you please check this api 554348026706259352d167e514b815a1

Sifat - Staff

More than a month ago #Permalink
Hi,
Thanks for your query. Would you please PM me your super admin access. I need to check that.
click on my avatar to get that option

-Best Regards

icedk

More than a month ago #Permalink
i have the same

Warning: count(): Parameter must be an array or an object that implements Countable in /home/www/http://appbooking.dk/modules/mod_sp_weather/helper.php on line 63
MOD_SPWEATHER_ERROR_CANNOT_FIND_FORECAST_DATA Also make sure your location is current. Verify your location from here https://openweathermap.org/find problem

even i do everythenk som needed after your site but nopoe

Hiro

More than a month ago #Permalink
Sifat (Staff) gave me an new api key and the weather started to appear.
(I don't know how he could generate that key, anyway thanks!)

Now the issue is more about translation. (should I write under another title?)

I am creating a multilingual site with Japanese, French, Dutch and English.
(Japanese is the main language)

The English version works relatively without any problem.
But you might get this appear on the front page even in English.

SP_WEATHER_LIGHT_INTENSITY_DRIZZLE_RAIN
Wind: WSW at 10.3 METER/SEC

When it's switched to other language, the weekly forecast shows things like this. (Lundi is the French word for Monday)
SP_WEATHER_LUN

Then I found Héctor Ortiz's brilliant solution to implant a language file to each language. (It worked nicely with Days and some weather terms)
https://www.joomshaper.com/forums/how-to-install-a-new-language-on-sp-weather

The most tricky part is that in the language file, it seems the dictionary is not complete. For example, when the front end says "SP_WEATHER_LIGHT_INTENSITY_DRIZZLE_RAIN", I can not find this particular word in the language file.

When this happens, I have no other options but override those unknown phrases. I found this trick to translate those unexpected words.
https://www.joomshaper.com/forums/sometimes-it-works-sometimes-error?start=0#reply-168122

So, that's how I have been managing this issue. I hope it's helpful for everyone.

icedk

More than a month ago #Permalink
i have the same

Warning: count(): Parameter must be an array or an object that implements Countable in /home/www/http://appbooking.dk/modules/mod_sp_weather/helper.php on line 63
MOD_SPWEATHER_ERROR_CANNOT_FIND_FORECAST_DATA Also make sure your location is current. Verify your location from here https://openweathermap.org/find problem

even i do everythenk som needed after your site but nopoe


Would you please check this api 554348026706259352d167e514b815a1




Your api works perfekt...
what it is problem.. what i doing wrong......

best regards

icedk

Sifat - Staff

More than a month ago #Permalink
May be the api took some time to get activated

travisb

More than a month ago #Permalink
Having a problem with SP weather

Warning: file_get_contents(http://api.openweathermap.org/data/2.5/weather?q=Miami,Florida&units=metric&&appid=fefc141c967b0cdef92ce2e537703558): failed to open stream: HTTP request failed! HTTP/1.1 401 Unauthorized in /home1/travisb/public_html/http://lakaymagazin.com/modules/mod_sp_weather/helper.php on line 102

I tried using your api and that have me an error as well.

Sifat - Staff

More than a month ago #Permalink
Please use this api 554348026706259352d167e514b815a1 and make sure you've cleared your caches. I've double checked it and it works here. Please recheck again.

Note: Make sure you're using latest SP weather.

-Thanks


There are no replies made for this post yet.
Be one of the first to reply to this post!

Leaderboard (30 days)

Sifat

Sifat

Total Accepted Answers: 132
Paul Frankowski

Paul Frankowski

Total Accepted Answers: 98
Toufiq

Toufiq

Total Accepted Answers: 26
Pavel

Pavel

Total Accepted Answers: 4
Al Mamun

Al Mamun

Total Accepted Answers: 3

113

Templates

289847

Community Users

Newsletter

Don’t miss any updates of our new templates and extensions and all the astonishing offers we bring for you.
We never spam

Joomla! ® name is used under a limited license from Open Source Matters in the United States and other countries. JoomShaper.com is not affiliated with or endorsed by Open Source Matters or the Joomla! Project.

Connect Us