Google Chrome TypeError

View previous topic View next topic Go down

Google Chrome TypeError

Post by Guest on Sat Dec 04, 2010 4:21 pm

Error appears when first accessing the tavern chat, but doesn't "seem" to create any problems, just have to ckick 'ok' to make it go away

TypeError: Object#<an HTMLObjectElement> has no method 'create'

Guest
Guest


Back to top Go down

Re: Google Chrome TypeError

Post by Guest on Sun Dec 05, 2010 2:27 am

It's the sound. there is no sounds :/

Guest
Guest


Back to top Go down

Re: Google Chrome TypeError

Post by Lord Arogandor on Sun Dec 05, 2010 12:38 pm

Seems every chrome user has this problem. No solution has been found yet. Sad

_________________
avatar
Lord Arogandor
Game Master/Owner

Number of posts : 2479
Location : Somewhere around the Grail Monastery
Registration date : 2008-09-19

http://www.thegraillords.net

Back to top Go down

Re: Google Chrome TypeError

Post by Guest on Sun Dec 05, 2010 11:24 pm

looking at some bug report i found this:

went onto a page for chrome issues and found this:

it's not the same issue, but perhaps it could help

Got the same error before but found a worarond for it, here goes how i did it:

var error = "";
var file = root+"/inc/xml/linguas_"+lg+".xml";
try //Internet Explorer
{
xmlDoc=new ActiveXObject("Microsoft.XMLDOM");
xmlDoc.async=false;
xmlDoc.load(file);
}
catch(e)
{
try //Firefox, Mozilla, Opera, etc.
{
xmlDoc=document.implementation.createDocument("","",null);
xmlDoc.async=false;
xmlDoc.load(file);
}
catch(e)
{
try //Google Chrome
{
var xmlhttp = new window.XMLHttpRequest();
xmlhttp.open("GET",file,false);
xmlhttp.send(null);
xmlDoc = xmlhttp.responseXML.documentElement;
}
catch(e)
{
error=e.message;
}
}
}

Hope it helps you

Guest
Guest


Back to top Go down

Re: Google Chrome TypeError

Post by Sponsored content


Sponsored content


Back to top Go down

View previous topic View next topic Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum