Error Message Help

Discussions of bugs found in com_eweather_1.3.x

Error Message Help

Postby Judboy » Tue Jul 07, 2009 9:16 am

Error Description:

Missing XOAP 'link' parameter in request.
Error Code: 14

Note: This error just appeared this morning on both of my sites. Everything has been working great before today. Is this on the Weather Channels end? I am using version 1.1.0 on both sites.

Is it the new &link=xoap deal? If so, how do I fix it?
Judboy
 
Posts: 5
Joined: Tue Jul 07, 2009 9:10 am

Re: Error Message Help

Postby Bob » Tue Jul 07, 2009 11:44 am

Hi Judboy,

Version 1.10 I think needs a fix for the "&link=xoap" if I remember correctly (I don't work with 1.10 much). Let me check William Bell's site... Here are the notes from William's site:

Fix For eWeather "XML Call"
----------------------------------------------

At line 50, in "/components/com_eweather/eweather.main.php", you will see the following line:

$weather_url = "http://xoap.weather.com/weather/local/".$weatherDefaultLocationID."?cc=*&dayf=".$weatherDayForecast."&unit=".$weatherUnits."&par=".$weatherPartnerID."&key=".$weatherPassword.;



Find the part of that line that looks like this:

.$weatherUnits."&par=".$weatherPartnerID.



Add the following, just before the '&' in that line:

&link=xoap&prod=xoap



Your PARTIAL line should look like this:

.$weatherUnits."&link=xoap&prod=xoap&par=".$weatherPartnerID.



Your FULL line should look like this:

$weather_url = "http://xoap.weather.com/weather/local/".$weatherDefaultLocationID."?cc=*&dayf=".$weatherDayForecast."&unit=".$weatherUnits."&link=xoap&prod=xoap&par=".$weatherPartnerID."&key=".$weatherPassword.;



Now, at line 111, you will need to do the same steps above.



Please let me know if that doesn't work for you.

Thanks,
Bob
Bob
 
Posts: 525
Joined: Fri Apr 17, 2009 6:28 pm

Re: Error Message Help

Postby Judboy » Tue Jul 07, 2009 12:15 pm

Thanks, it works!!
Judboy
 
Posts: 5
Joined: Tue Jul 07, 2009 9:10 am

Re: Error Message Help

Postby Bob » Tue Jul 07, 2009 12:55 pm

Super! I'm glad i was able to help.

Bob
Bob
 
Posts: 525
Joined: Fri Apr 17, 2009 6:28 pm

Re: Error Message Help

Postby drystonewall » Tue Jul 07, 2009 1:07 pm

Hi Bob.

Thanks for this, but I tried this (having worked out what the missing bits were). With this solution (which does indeed resolve the XML) the 5/10 day forecast now fails to show in the component. Any more help would be appreciated.
drystonewall
 
Posts: 9
Joined: Tue Jul 07, 2009 11:58 am

Re: Error Message Help

Postby TinkyWinky » Tue Jul 07, 2009 1:57 pm

Same here, now works but I only have current weather, not 5/10 days forecast: http://blokovi.com/vremenska-prognoza/index.php
TinkyWinky
 
Posts: 4
Joined: Tue Jul 07, 2009 1:55 pm

Re: Error Message Help

Postby Bob » Tue Jul 07, 2009 3:27 pm

Real quick... Do you have your forecast days set to 5 or 10? Try 5, if you haven't already. I'll poke around and see if I can figure anything out.

Thanks,
Bob
Bob
 
Posts: 525
Joined: Fri Apr 17, 2009 6:28 pm

Re: Error Message Help

Postby Bob » Tue Jul 07, 2009 3:29 pm

Ah, also from William Bell:

The issue with the 10-day forecast not showing is different than the link issue.

To correct the "Forecast Not Showing" issue, please review the following text file:

http://www.sages.us/belwi/iconpacks/Fix ... howing.txt


I hope that helps.

Thanks,
Bob
Bob
 
Posts: 525
Joined: Fri Apr 17, 2009 6:28 pm

Re: Error Message Help

Postby drystonewall » Tue Jul 07, 2009 4:10 pm

Thank you Bob.

Yes, both 5 & 10 day settings make no difference. The issue here is that things were fine up and until this morning when, by the look of things, TWC decided to change their URL string by including "Link" and "Prod" Not including "Prod" by the way invokes an Error Code 12 (whereas a missing "Link" invokes the Error Code 14).

So, the TWC format has changed? Eweather version 1.1.0 had been working fine until today. So I am a little perplexed to find answers to a problem, which (as far as I can see) only happened today. Very strange. I am inclined to simply install the newest (Joomla 1.0.x) version and to have done with it. Can you confirm that no such issues exist with the latest versions?

Many thanks.

:)
drystonewall
 
Posts: 9
Joined: Tue Jul 07, 2009 11:58 am

Re: Error Message Help

Postby Bob » Tue Jul 07, 2009 4:30 pm

I think eWeather 1.1.0 is the latest version supported on Joomla 1.0.x. All of the eWeather 1.3.x versions are ones that I've worked on, and I ported eWeather 1.3.0 from eWeather 1.1.0 with the only difference being 1.3.0 would run on Joomla 1.5.x in Native mode. I didn't try to make eWeather 1.3.x compatible with Joomla 1.0.x. I don't know that it's not compatible with Joomla 1.0.x, but I didn't do any testing of that configuration.

I am pretty sure I've got this all fixed in eWeather 1.3.x, since I'm not getting complaints from users of that revision. The only suggestion I have for someone running Joomla 1.0.x is to go through the review discussions at http://extensions.joomla.org/extensions/external-contents/weather/3731/details to see if your question is addressed.

I understand your frustration, and I'll be happy to help you get 1.10 working.

Thanks,
Bob
Bob
 
Posts: 525
Joined: Fri Apr 17, 2009 6:28 pm

Next

Return to Bugs

Who is online

Users browsing this forum: No registered users and 1 guest