After I upgraded to SPChat 0.8.2.9 the chat is not working for people using Firefox, but only Explorer. In Firefox you can only see what you writes yourself, but not what other people chat. I have Googled and found a Spanish site that seems to have the identical problem.
When I go in the chat with Explorer I get this error message: parent.window.wIn.documents.forms.form1.elements is null or not an object.
Are there any other good chat modules for PHP-Nuke? SPChat don't seems supported anylonger and the site is hacked.
Slackervaara Captain
Joined: Sep 13, 2003
Posts: 314
Posted:
Wed Oct 01, 2008 9:28 am
I have looked more into this problem and it seems that Firefox works, if you chat in English, but not if the chat name or the chat name contains 8-bit characters, which are common in Swedish. It seems to be a problem with language coding in Firefox of chat messages received.
Slackervaara Captain
Joined: Sep 13, 2003
Posts: 314
Posted:
Sat Oct 25, 2008 9:58 pm
I think I have found a fix. In modules/SPChat/receive.php
At the top of this file and immediately after <?
I added this line:
header("Content-Type: text/html; charset=iso-8859-1");
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum