Support Forums

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

Your Time: Our Time:

SP Weather stopped working

Featured Lock Resolved Bug
Hi!

SP Weather stopped working today, we are getting error messages no matter what city we put in:
Cannot get London location id in module mod_sp_weather. Please also make sure that you have inserted city name.

You demo is doing the same thing too....Can you look into this please?

Thank you,

Catherine

18 Answers

Rifat Wahid Alif - Staff

More than a month ago #Permalink
Hi,
Please open the following file from the location: /modules/mod_sp_weather/helper.php on 40 no line you will get:

$this->location = str_replace(' ', '', $this->params->get('location', 'Dhaka,BD'));

Replace it by:

$this->location = str_replace(', ', ',', $this->params->get('location', 'Dhaka,BD'));


- Thanks

Simon

More than a month ago #Permalink
Hi,

I noticed the same issue - a fix would be great!

Thank you
Simon

Aubrey

More than a month ago #Permalink
I have quite a few sites using SP Weather and it is not working on any of them.

Gonzalo Lapenna

More than a month ago #Permalink
Same issue. a fix would be great!

Attachments (1)

  • Captura de pantalla 2018-10-03 a las 3.55.41 p.m..png
    Captura de pantalla 2018-10-03 a las 3.55.41 p.m..png 506.1 KB

Rifat Wahid Alif - Staff

More than a month ago #Permalink
Hi,
Thanks for your query, Yahoo weather API sometimes makes trouble due to their development purpose. In this case, you will need to clear the cache. We also used this same module in our latest template here: http://demo.joomshaper.com/2018/gazette/index.php/en/ it's working perfectly.

- Thanks for being with us

Piccini da Todi

More than a month ago #Permalink
No it's not, same issue here with... indeed, Gazette...

Piccini da Todi

More than a month ago #Permalink
and impossible to change language

Piccini da Todi

More than a month ago #Permalink
Is there any fix in this matter ?

Rifat Wahid Alif - Staff

More than a month ago #Permalink
HI,
As of Thursday, Jan. 3, 2019, the weather.yahooapis.com and query.yahooapis.com for Yahoo Weather API are retired. We are fixing these issues and will update it soon.

- Thanks

Panosgr

More than a month ago #Permalink
Is there any news on this?

Simon

More than a month ago #Permalink
Hi, I also would highly appreciate a fix as soon as possible! Thanks!!

Paul Frankowski - Staff

More than a month ago #Permalink
The new version was published today:
https://www.joomshaper.com/joomla-extensions/sp-weather

Gonzalo Lapenna

More than a month ago #Permalink
Now it's all ok ... api work ... just one thing: cities with 2 or more words do not work ... in my case I need the city of "Las Rosas, AR" ... OpenWeatherMap recommends using the ID of the city ... could you tell me how to place a city of 2 names ???


{
"id": 3847836,
"name": "Las Rosas",
"country": "AR",
"coord": {
"lon": -61.58041,
"lat": -32.476608
}
},


Thanks, Gonzalo

Paul Frankowski - Staff

More than a month ago #Permalink
I will ask our developer. Please wait.

Gonzalo Lapenna

More than a month ago #Permalink
Perfect!!!! Thanks

Piccini da Todi

More than a month ago #Permalink
It doesn't working either... Diego





Hi,
Please open the following file from the location: /modules/mod_sp_weather/helper.php on 40 no line you will get:

$this->location = str_replace(' ', '', $this->params->get('location', 'Dhaka,BD'));

Replace it by:

$this->location = str_replace(', ', ',', $this->params->get('location', 'Dhaka,BD'));


- Thanks

Gonzalo Lapenna

More than a month ago #Permalink
it´s work for me

Attachments (1)

  • Captura de pantalla 2019-02-06 a la(s) 19.49.25.png
    Captura de pantalla 2019-02-06 a la(s) 19.49.25.png 16.7 KB


There are no replies made for this post yet.
However, you are not allowed to reply to this post.

Leaderboard (30 days)

Sifat

Sifat

Total Accepted Answers: 121
Paul Frankowski

Paul Frankowski

Total Accepted Answers: 101
Toufiq

Toufiq

Total Accepted Answers: 36
J

johnny

Total Accepted Answers: 3
Pavel

Pavel

Total Accepted Answers: 3

100+

Templates

200,000+

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