Error in helper.php

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
Wed Sep 09, 2009 7:33 pm
How to solve this error on my webpage?

Notice: Trying to get property of non-object in C:UsbWebserverRootjoomla1modulesmod_gk_weatherhelper.php on line 216

Notice: Trying to get property of non-object in C:UsbWebserverRootjoomla1modulesmod_gk_weatherhelper.php on line 216

Notice: Trying to get property of non-object in C:UsbWebserverRootjoomla1modulesmod_gk_weatherhelper.php on line 217

Notice: Trying to get property of non-object in C:UsbWebserverRootjoomla1modulesmod_gk_weatherhelper.php on line 217

Notice: Trying to get property of non-object in C:UsbWebserverRootjoomla1modulesmod_gk_weatherhelper.php on line 219

Fatal error: Call to a member function attributes() on a non-object in C:UsbWebserverRootjoomla1modulesmod_gk_weatherhelper.php on line 219
User avatar
Fresh Boarder

GK User
Thu Sep 10, 2009 5:12 am
Could you publish here content of file cache/mod_gk_weather.xml ?
User avatar
Administrator

GK User
Thu Sep 10, 2009 4:08 pm
I checked with one of the programmers and we´ll test soon in one of our servers. We note that because we are still in development for the new webpage, tests won´t take effect immediately because it has performed locally on the cpu. Soon we will contact again if appear any problem.

Thanks for attention.

Anyway follows the mod_gk_weather.xml:

<?xml version="1.0" encoding="utf-8" ?>
- <install type="module" version="1.5.0">
<name>GK Weather</name>
<creationDate>09/09/2009</creationDate>
<author>Gavick.com</author>
<copyright>(C) 2009 Gavick.com</copyright>
<license>http://www.gnu.org/copyleft/gpl.html GNU/GPL</license>
<authorEmail>[email protected]</authorEmail>
<authorUrl>www.gavick.com</authorUrl>
<version>1.0.0</version>
<description>GK_WEATHER</description>
- <files>
<filename module="mod_gk_weather">mod_gk_weather.php</filename>
<filename module="mod_gk_weather">helper.php</filename>
<filename module="mod_gk_weather">units.php</filename>
<filename module="mod_gk_weather">index.html</filename>
<filename module="mod_gk_weather">cache/index.html</filename>
<filename module="mod_gk_weather">cache/mod_gk_weather.xml</filename>
<folder>icons/</folder>
<folder>style/</folder>
<folder>tmpl/</folder>
</files>
- <languages>
<language tag="en-GB">language/en-GB.mod_gk_weather.ini</language>
</languages>
- <params>
<param type="spacer" />
<param name="moduleclass_sfx" type="text" default="" label="MODCLASSSUFFIX" description="MODCLASSSUFFIX_DESC" />
<param name="module_unique_id" type="text" default="weather1" label="MODID" description="MODID_DESC" />
<param type="spacer" />
<param name="city" type="text" default="" label="CITY" description="CITY_DESC" />
<param name="fullcity" type="text" default="" label="FCITY" description="FCITY_DESC" />
<param name="language" type="text" default="en" label="LANG" description="LANG_DESC" />
<param name="lat" type="text" default="null" label="LATITUDE" description="LATITUDE_DESC" />
<param name="lon" type="text" default="null" label="LONGITUDE" description="LONGITUDE_DESC" />
<param name="timezone" type="text" default="0" label="TIMEZONE" description="TIMEZONE_DESC" />
- <param name="showCity" type="list" default="1" label="SHOWCITY" description="SHOWCITY_DESC">
<option value="1">ENABLED</option>
<option value="0">DISABLED</option>
</param>
- <param name="showHum" type="list" default="1" label="SHOWHUM" description="SHOWHUM_DESC">
<option value="1">ENABLED</option>
<option value="0">DISABLED</option>
</param>
- <param name="showWind" type="list" default="1" label="SHOWWIND" description="SHOWWIND_DESC">
<option value="1">ENABLED</option>
<option value="0">DISABLED</option>
</param>
- <param name="tempUnit" type="list" default="c" label="UNIT" description="UNIT_DESC">
<option value="c">Celsius</option>
<option value="f">Farhenheit</option>
</param>
- <param name="nextDays" type="list" default="1" label="NEXTDAYS" description="NEXTDAYS_DESC">
<option value="1">ENABLED</option>
<option value="0">DISABLED</option>
</param>
- <param name="current_icon_size" type="list" default="64" label="CICONSIZE" description="CICONSIZE_DESC">
<option value="128">128px x 128px</option>
<option value="64">64px x 64px</option>
<option value="32">32px x 32px</option>
</param>
- <param name="forecast_icon_size" type="list" default="32" label="FICONSIZE" description="FICONSIZE_DESC">
<option value="128">128px x 128px</option>
<option value="64">64px x 64px</option>
<option value="32">32px x 32px</option>
</param>
</params>
- <params group="advanced">
<param type="spacer" />
- <param name="useCSS" type="list" default="1" label="USECSS" description="USECSS_DESC">
<option value="1">ENABLED</option>
<option value="0">DISABLED</option>
</param>
- <param name="useCache" type="list" default="1" label="USECACHE" description="USECACHE_DESC">
<option value="1">ENABLED</option>
<option value="0">DISABLED</option>
</param>
<param name="cacheTime" type="text" default="5" label="CACHETIME" description="CACHETIME_DESC" />
</params>
</install>
User avatar
Fresh Boarder

GK User
Fri Sep 11, 2009 3:18 pm
Sorry but I need content from CACHE/mod_gk_weather.xml file ;) You showed me module XML file ;)
User avatar
Administrator

GK User
Fri Sep 11, 2009 3:39 pm
I didn´t find that one in CACHE directory.

But we solve the problem... We had problems with proxy, but now its ok.

Congratulations! The plugin is really nice! Good design and well done. GREAT!
User avatar
Fresh Boarder


cron