Weather Icons showing Question Marks

Easy to use and free Joomla module to display weather with forecast from Yahoo.
Rate this topic: Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.
GK User
Thu May 26, 2011 12:49 pm
Hello - The GK weather module that I have on a site is showing question marks in place of the icons. How do I fix. Its really urgent. Thanks.

John
User avatar
Junior Boarder

GK User
Thu May 26, 2011 1:35 pm
Having same problem. Just started today.

Here is the site: http://www.lakecumberlandtourism.com
The weather module is at the bottom of every page.
User avatar
Junior Boarder

GK User
Thu May 26, 2011 4:47 pm
Same problem here too, on 4 websites just now... ??????????? is it maybe this fast changing weather that bugged the module?


JA
User avatar
Fresh Boarder

GK User
Thu May 26, 2011 5:19 pm
Same problem. I believe it may have to do with a change to the Google weather API.

I did a test on a 1.6 installation and it only worked when the Yahoo weather API was selected.
User avatar
Fresh Boarder

GK User
Thu May 26, 2011 6:24 pm
wonton wrote:Same problem. I believe it may have to do with a change to the Google weather API.

I did a test on a 1.6 installation and it only worked when the Yahoo weather API was selected.


Ah, thanks, I switched to Yahoo and the icon's are back. Only two day option with Yahoo, but a temporary fix until they get Google figured out.
User avatar
Junior Boarder

GK User
Thu May 26, 2011 7:51 pm
I've figured out that the reason for icons not showing up is because of a change to the naming convention used by google weather.

I've edited the icons array with the url of the icons and I am having some luck with it. Once i've got it done I'll post what I have.
User avatar
Fresh Boarder

GK User
Thu May 26, 2011 7:52 pm
That's great! Thank you!
User avatar
Junior Boarder

GK User
Thu May 26, 2011 8:21 pm
This if working on my sites right now, the code may need to be cleaned up as it directly linking to the icons, but i needed a quick fix. Not all icons are functional, but most of them should be.

In your helper.php look for the icons array and replace with

Code: Select all
      $this->icons = array(

         "http://g0.gstatic.com/images/icons/onebox/weather_scatteredsnow-40.gif"  => array('chance_of_snow.png', 'chance_of_snow_night.png'),
         "http://g0.gstatic.com/images/icons/onebox/weather_snowflurries-40.gif"        => array('flurries.png'),
         "http://g0.gstatic.com/images/icons/onebox/weather_snow-40.gif"            => array('snow.png'),
         "http://g0.gstatic.com/images/icons/onebox/weather_sleet-40.gif"           => array('sleet.png'),
         "http://g0.gstatic.com/images/icons/onebox/weather_scatteredshowers-40.gif"  => array('chance_of_rain.png','chance_of_rain_night.png'),
         "http://g0.gstatic.com/images/icons/onebox/weather_scatteredthunderstorms-40.gif" => array('chance_of_storm.png','chance_of_storm_night.png'),
         "http://g0.gstatic.com/images/icons/onebox/weather_mist-40.gif"            => array('mist.png','mist_night.png'),
         "http://g0.gstatic.com/images/icons/onebox/weather_rain-40.gif"         => array('showers.png','showers_night.png'),
         "http://g0.gstatic.com/images/icons/onebox/weather_rain-40.gif"            => array('rain.png'),
         "http://g0.gstatic.com/images/icons/onebox/weather_storm-40.gif"           => array('storm.png','storm_night.png'),
         "http://g0.gstatic.com/images/icons/onebox/weather_thunderstorms-40.gif"    => array('thunderstorm.png'),
         "http://g0.gstatic.com/images/icons/onebox/weather_rain_snow-40.gif"       => array('rain_and_snow.png'),
         "http://g0.gstatic.com/images/icons/onebox/weather_sunny-40.gif"           => array('sunny.png','sunny_night.png'),
         "http://g0.gstatic.com/images/icons/onebox/weather_mostly_sunny-40.gif"    => array('sunny.png','sunny_night.png'),
         "http://g0.gstatic.com/images/icons/onebox/weather_partlycloudy-40.gif"         => array('partly_cloudy.png','partly_cloudy_night.png'),
         "http://g0.gstatic.com/images/icons/onebox/weather_mostlycloudy-40.gif"   => array('mostly_cloudy.png','mostly_cloudy_night.png'),
         "http://g0.gstatic.com/images/icons/onebox/weather_cloudy-40.gif"          => array('cloudy.png'),
         "http://g0.gstatic.com/images/icons/onebox/weather_fog-40.gif"             => array('foggy.png','foggy_night.png'),
         "http://g0.gstatic.com/images/icons/onebox/weather_smoke-40.gif"           => array('smoke.png','smoke_night.png'),
         "http://g0.gstatic.com/images/icons/onebox/weather_haze-40.gif"            => array('hazy.png','hazy_night.png'),
         "http://g0.gstatic.com/images/icons/onebox/weather_dust-40.gif"           => array('dusty.png','dusty_night.png'),
         "http://g0.gstatic.com/images/icons/onebox/weather_icy-40.gif"             => array('icy.png','icy_night.png')

       );
User avatar
Fresh Boarder

GK User
Fri May 27, 2011 2:37 am
Hello friend. How do you switch to Yahoo? I'm using the 1.5 version of GK4. Thanks for your help.
User avatar
Fresh Boarder

GK User
Fri May 27, 2011 2:43 am
When do you think Gavick Team will update the module?
User avatar
Senior Boarder

GK User
Fri May 27, 2011 9:09 am
Hi

We are aware of this problem with Google Weather icons.
Soon it will be available a update to fix it.
Meanwhile, please use Yahoo source.

Cheers ;)
User avatar
Platinum Boarder

GK User
Fri May 27, 2011 10:46 am
I am also curious how to use Yahoo since I am running 1.5? Can you install the 1.6 mod into 1.5? Is it compatible?
User avatar
Junior Boarder

GK User
Tue May 31, 2011 11:09 am
Need help on this as mentioned in another post. Questionmark is showing up (at light rain), having GK Weather J 1.5 (V 1.2) installed.

I've check the current Google API data. Weather condition is:

<icon data="http://g0.gstatic.com/images/icons/onebox/weather_drizzle-40.gif"/>

I've checked the modules image folder. I haven't an image "Weather-Drizzle-40.gif) I've plenty of different .png's, but not this one.

Need urgent help please...
User avatar
Senior Boarder

GK User
Tue May 31, 2011 1:03 pm
Update Please........... :ohmy:
User avatar
Fresh Boarder

GK User
Wed Jun 01, 2011 7:53 am
Andyman wrote:I've checked the modules image folder. I haven't an image "Weather-Drizzle-40.gif) I've plenty of different .png's, but not this one.

Need urgent help please...


You don't have this icons because we parse the image to different, when you check the helper.php file you will see the match array. Please update module to the new version, where you fix this issue for all icons that we find in google feed.
User avatar
Platinum Boarder

GK User
Wed Jun 01, 2011 11:01 am
I've updated the module already.
User avatar
Senior Boarder

GK User
Wed Jun 01, 2011 11:09 am
The date is showing: Last update (Tuesday, 25 January 2011) ?
https://www.gavick.com/download/extensi ... k-gk1.html
User avatar
Senior Boarder

teitbite
Wed Jun 01, 2011 1:26 pm
Hi

This is an information about when the page was updated, not the file with module. The updates can be checked here https://www.gavick.com/support/updates. ... ate&id=355
User avatar
Moderator


cron