SP Weather Problem - Question | JoomShaper

SP Weather Problem

Joachim

Joachim

SP Page Builder 1 year ago

I have obtained an API key from the openweathermap site: 86d1dfaxyz also the location ID 3028637 as well as the coordinates Geo coords [43.4763, 6.1831]

None of the settings show me weather data

Joomla 5.1.2 SP Pagebuilder 5.3.5

![]http://185.163.118.44/upload/Wetterstation-der-Provence-83570-Carces.png http://185.163.118.44/upload/Wetterstation-der-Provence-83570-Carces(1).png

0
11 Answers
Ofi Khan
Ofi Khan
Accepted Answer
Support Agent 1 year ago #165057

Hello Joachim

You have to check 2 things.

  1. allow_url_fopen and cURL are enabled. Please talk to your hosting provider for this.
  2. Use Latitude and Logitude on SP Weather module settings.

Best regards

0
Joachim
Joachim
Accepted Answer
1 year ago #165106

Hello Ofi, I myself am the webmaster and operate the root server. ![]http://185.163.118.44/upload/sp_weather.png

allow_url_fopen = On curl is installed

and Get Data By Latitude and Longitude is choosen

Unfortunately no weather data

Joachim

0
Ofi Khan
Ofi Khan
Accepted Answer
Support Agent 1 year ago #165345

Apology for the inconvenience. Please share your administrator access here to check the issue. Use the Hidden Content box to share the credentials. Make sure that you have a full site backup with you before sharing.

0
Joachim
Joachim
Accepted Answer
1 year ago #165634

Hi Ofi, thank you for helping.

0
Ofi Khan
Ofi Khan
Accepted Answer
Support Agent 1 year ago #165643

I have tried with my API Key. It works fine with it. Please check your API Key.

0
Joachim
Joachim
Accepted Answer
1 year ago #165645

I have generate a new API Key xyz... without success

0
Ofi Khan
Ofi Khan
Accepted Answer
Support Agent 1 year ago #165658

Please contact with Openweather. Your API key is not correct. I have checked your key in my local site. But it does not work there too.

0
Joachim
Joachim
Accepted Answer
1 year ago #165726

The answer from OpenWeatherMap

Hello, thank you for contacting us.

It looks like the problem is on their side, as the API key works fine with no issues in the browser: https://api.openweathermap.org/data/2.5/weather?q=Carces&units=metric&appid=4fb7163d47464b4f0cfd051ab447446b

If you have any other questions, please don’t hesitate and contact us.

Kind regards, Artūras Rosliakas Technical Support Specialist


https://api.openweathermap.org/data/2.5/weather?q=Carces&units=metric&appid=4fb7163d47464b4f0cfd051ab447446b

{"coord":{"lon":6.1831,"lat":43.4763},"weather":[{"id":800,"main":"Clear","description":"clear sky","icon":"01d"}],"base":"stations","main":{"temp":31.93,"feels_like":34.24,"temp_min":27.03,"temp_max":32.79,"pressure":1013,"humidity":50,"sea_level":1013,"grnd_level":980},"visibility":10000,"wind":{"speed":0.89,"deg":144,"gust":3.58},"clouds":{"all":0},"dt":1724426810,"sys":{"type":2,"id":2006427,"country":"FR","sunrise":1724388574,"sunset":1724437589},"timezone":7200,"id":3028637,"name":"Carcès","cod":200}

0
Ofi Khan
Ofi Khan
Accepted Answer
Support Agent 1 year ago #165782

Okay, will you please take another API Key and check it. As I know, it is free to take another API Key.

0
Joachim
Joachim
Accepted Answer
1 year ago #166052

I have created several new keys, but none of them work. I have deactivated the weather module because it does not display any data for me.

0
Ofi Khan
Ofi Khan
Accepted Answer
Support Agent 1 year ago #166143

That's unfortunate. I do not have any clue. I have tested my API Key. It works fine on localhost and server. You may try the API with another account. I am not sure but it seems to be problem with your Openweather account.

Please accept the answer to close the post if you are satisfied. There is a button to accept answer after each comment.

0