Jump to content

Saturday 20th April 2024:  kick-off 12.30pm

Scottish Cup Semi-Final - Aberdeen v Celtic

🔴⚪️ Stand Free! ⚪🔴

chat system in testing


Reekie_Red

Recommended Posts

This is the error i'm getting

 

XML Parsing Error: not well-formed

Location: http://www.donstalk.co.uk/messageboard/chat/

Line Number 228, Column 340:return text.replace(arguments.callee.regExp,this.decodeSpecialCharsCallback);},decodeSpecialCharsCallback:function(str){switch(str){case '&':return '&';case '<':return '<';case '>':return '>';case ''':return '\'';case '"':return '"';default:return str;}},inArray:function(haystack,needle){var i=haystack.length;while(i--){if(haystack===needle){return true;}}

--------------------------------------------------------------------------------------------------

 

I've only tried my laptop, shall check at uni tomorrow.

Link to comment
Share on other sites

This is the error i'm getting

 

I've only tried my laptop, shall check at uni tomorrow.

 

Looks like an encoding issue but I can't see that being the problem. Can't assume the XML is the problem if its working fine for everyone else, perhaps its the way your machine is translating the XML?

Link to comment
Share on other sites

This is the error i'm getting

 

I've only tried my laptop, shall check at uni tomorrow.

 

You installed any Virtual Machines for Developing software? I remember you mentioning you were programming a while back.

 

Also, what browser you using? We may need to re-set something...

 

XML Parsing Error: not well-formed
Location: http://www.donstalk.co.uk/messageboard/chat/
LineNumber 228, Column 340:returntext.replace(arguments.callee.regExp,this.decodeSpecialCharsCallback);},decodeSpecialCharsCallback:function(str){switch(str){case'&':return '&';case '<':return '<';case'>':return '>';case ''':return '\'';case '"':return'"';default:return str;}},inArray:function(haystack,needle){vari=haystack.length;while(i--){if(haystack===needle){return true;}}

 

Also, Admin, delete the bold character in the code, might just be that dave_min's browser is bullet proof.

 

EDIT: That being said, it Validates perfectly. I can't even locate that code in any of the source. Maybe your config JavaScript files are being stored in cache and not being read again?

 

@admins, is there any more source files that I can't find apart from the ones below. You'd think I'd done enough debugging today *_*:

 

[pre]<script src="js/chat.js" type="text/javascript" charset="UTF-8"></script>

<script src="js/custom.js" type="text/javascript" charset="UTF-8"></script>

<script src="js/lang/en.js" type="text/javascript" charset="UTF-8"></script>

<script src="js/config.js" type="text/javascript" charset="UTF-8"></script>

<script src="js/FABridge.js" type="text/javascript" charset="UTF-8"></script>

<script type="text/javascript">

 

[/pre]

Link to comment
Share on other sites

You installed any Virtual Machines for Developing software? I remember you mentioning you were programming a while back.

 

Also, what browser you using? We may need to re-set something...

 

I re-installed XP at the Weekend, I updated it to the newest version, and i've got the newest version of Firefox running right now.

 

I tried it on same Laptop in IE and it worked first time  :-\

Link to comment
Share on other sites

  • 4 months later...
  • 8 months later...
  • 2 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...