Search Form and Social Buttons

HotThemes Logo and Top Menu

To request a forum account, please login here and open support ticket. Only customers with active order(s) can open forum account!

× Discussion about Hot Weather free Joomla module.

Topic-icon Error Code in IE

More
6 years 4 months ago #6438 by Joomlamerica
Joomlamerica created the topic: Error Code in IE
Although it doesn't interfere with the module working, I see an error code in the lower left corner of IE8, and see it in your demo site as well as my own:
Webpage error details

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0; Trident/4.0; SLCC1; .NET CLR 2.0.50727; Media Center PC 5.0; .NET CLR 3.5.30729; .NET CLR 3.0.30729; OfficeLiveConnector.1.5; OfficeLivePatch.1.3; .NET4.0C; BRI/2)
Timestamp: Mon, 21 Mar 2011 13:46:02 UTC


Message: Object doesn't support this property or method
Line: 452
Char: 19
Code: 0
URI: demo.hotjoomlatemplates.com/test/modules...wfobject_modified.js

Please Log in to join the conversation.

More
6 years 4 months ago #6446 by ivan.milic
ivan.milic replied the topic: Re: Error Code in IE
Thats normal thing, but if you are determined to clan all of your code here is solution. In js file find this:

function hasPlayerVersion(rv) {
var pv = ua.pv, v = rv.split(".");
v[0] = parseInt(v[0], 10);
v[1] = parseInt(v[1], 10);
v[2] = parseInt(v[2], 10);
return (pv[0] > v[0] || (pv[0] == v[0] && pv[1] > v[1]) || (pv[0] == v[0] && pv[1] == v[1] && pv[2] >= v[2])) ? true : false;
}

and surround statements with try...catch so it look's like this:

function hasPlayerVersion(rv) {
try{
var pv = ua.pv, v = rv.split(".");
v[0] = parseInt(v[0], 10);
v[1] = parseInt(v[1], 10);
v[2] = parseInt(v[2], 10);
return (pv[0] > v[0] || (pv[0] == v[0] && pv[1] > v[1]) || (pv[0] == v[0] && pv[1] == v[1] && pv[2] >= v[2])) ? true : false;
}catch(Excep)
{
return false;
}

}

Please Log in to join the conversation.

Time to create page: 0.143 seconds

Links, Partners and Social Media