FreiChat related discussions
IE 8 Problems

Hi,
I installed FreiChat and it works fine on FF and Chrome, but users with IE 8 & 9 is raising a JS exception.

Msg: Identifier, sequence or expected number) (pt-br msg Identificador, seqüência ou número esperado)
Line: 1567
Caracter: 562
Código: 0
URI: http://www.xxxxxxxxx/freichat/client/main.php?id=1&xhash=

I can provide a link for tests...;..

tks in advance.

Hi, I installed FreiChat and it works fine on FF and Chrome, but users with IE 8 & 9 is raising a JS exception. Msg: Identifier, sequence or expected number) (pt-br msg Identificador, seqüência ou número esperado) Line: 1567 Caracter: 562 Código: 0 URI: http://www.xxxxxxxxx/freichat/client/main.php?id=1&xhash= I can provide a link for tests...;.. tks in advance.

Changed the file freichat.js at line 493
{xhash:freidefines.xhash,id:freidefines.GEN.getid,},function(data){window[obj].room_array=data.rooms;window
to
{xhash:freidefines.xhash,id:freidefines.GEN.getid},function(data){window[obj].room_array=data.rooms;window

and the error changes to JSON is undefined on line 47.

Changed the file freichat.js at line 493 {xhash:freidefines.xhash,id:freidefines.GEN.getid,},function(data){window[obj].room_array=data.rooms;window to {xhash:freidefines.xhash,id:freidefines.GEN.getid},function(data){window[obj].room_array=data.rooms;window and the error changes to JSON is undefined on line 47.

Make sure you're actually in IE 8 mode

by using the standards doctype



or by putting the following in head tag
<meta http-equiv="X-UA-Compatible" content="IE=EDGE">

Make sure you&#039;re actually in IE 8 mode by using the standards doctype &amp;lt;code&amp;gt; &amp;lt;!DOCTYPE html&amp;gt; &amp;lt;/code&amp;gt; or by putting the following in head tag &amp;lt;code&amp;gt; &amp;lt;meta http-equiv=&quot;X-UA-Compatible&quot; content=&quot;IE=EDGE&quot; /&amp;gt; &amp;lt;/code&amp;gt;
Necessity is the mother of all inventions!

i added the tag , the chat user list is ok.
But now when i send a message there is another JS exception

At line 1067
if (FreiChat.jscrollers.indexOf(ele_id) != -1) {

"object doesn't support this property or method"

Any help?

Tks!!!!

i added the tag &amp;lt;!DOCTYPE html&amp;gt; , the chat user list is ok. But now when i send a message there is another JS exception At line 1067 if (FreiChat.jscrollers.indexOf(ele_id) != -1) { &quot;object doesn&#039;t support this property or method&quot; Any help? Tks!!!!

-I tested with a fresh install of XP with IE8 and with all versions of apache and php
and the error still remain.

-I tested with a fresh install of XP with IE8 and with all versions of apache and php and the error still remain.

Can you provide us with your website address and two test accounts ?

Can you provide us with your website address and two test accounts ?
Necessity is the mother of all inventions!

Removed
client/freichat.js -> console.log(in_room);
and
client/plugins.js ->
if (FreiChat.jscrollers.indexOf(ele_id) != -1) {
div.nanoScroller().nanoScroller({scroll: 'bottom'});
//console.log(ele_id);
}


Probably working fine now...

Removed client/freichat.js -&amp;gt; console.log(in_room); and client/plugins.js -&amp;gt; if (FreiChat.jscrollers.indexOf(ele_id) != -1) { div.nanoScroller().nanoScroller({scroll: &#039;bottom&#039;}); //console.log(ele_id); } Probably working fine now...
202
9
0
live preview
enter atleast 10 characters
WARNING: You mentioned %MENTIONS%, but they cannot see this message and will not be notified
Saving...
Saved
With selected deselect posts show selected posts
All posts under this topic will be deleted ?
Pending draft ... Click to resume editing
Discard draft