Kayako logo
SupportSuite, eSupport and LiveResponse Discussion, troubleshooting and feedback related to Kayako's flagship support desk products SupportSuite, eSupport and LiveResponse.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  (#1) Old
JustinCarmony Offline
New Member
 
Posts: 15
Join Date: May 2007
JavaScript Errors in WinApp? - 29-05-2007, 11:22 PM

My staff keeps reporting JavaScript errors while using the Live Response portion of our website. We have a very fresh install of Kayako with little modifications to anything. I've attached a screenshot of one of the errors.

This happens when they go to accept a chat. They'll get 2 JavaScript errors in a row, and then they'll not be able to see anything in the text area where your chat text will appear. They are still able to type and send messages, but they can't see any responses or anything. A lot of my staff are reporting this, which is making this module almost useless to us. Any clues what could be causing this? Thanks!
Attached Images
File Type: jpg error1.JPG (177.3 KB, 15 views)
   
Reply With Quote
  (#2) Old
JustinCarmony Offline
New Member
 
Posts: 15
Join Date: May 2007
More Screenshots - 30-05-2007, 12:08 AM

Here are some more screenshots. I can't replicate these errors with any type of logic. I can't figure out what sequence of settings/events/etc is causing it.
Attached Images
File Type: png my_error1.png (37.9 KB, 7 views)
File Type: png my_error2.png (47.3 KB, 7 views)
   
Reply With Quote
  (#3) Old
craigbrass Offline
Senior Member
 
Posts: 5,740
Join Date: Jun 2005
Location: Cumbria, UK
30-05-2007, 08:07 AM

Please try the latest version of the WinApp (http://hotfix.kayako.com/winapp/Kaya...E-3.1.1.33.exe) and let us know if you still have the problem with that.


Craig Brass - Kayako Forum Squatter (Note: I am NOT a staff member)

Icon Headquarters - Its Elixir - Web2Messenger
   
Reply With Quote
  (#4) Old
JustinCarmony Offline
New Member
 
Posts: 15
Join Date: May 2007
30-05-2007, 03:43 PM

I'm having my staff use it. The thing is I think it might be a server configuration issue, since so many people are having the same error across the board. But I'm not sure where to look in the code to see what is generating that JavaScript.
   
Reply With Quote
  (#5) Old
Siora Offline
Member
 
Siora's Avatar
 
Posts: 1,316
Join Date: Apr 2007
Location: Toronto Canada
30-05-2007, 03:51 PM

Roger has noticed this as well and said that he is looking into a fix. He said that it is not winapp related but support suite related. My errors were not exactly the same however I do get multiple run-time errors and one javascript error when trying to add a troubleshooter category using winapp.


Siora Solutions Inc.
www.sioraIT.com
   
Reply With Quote
  (#6) Old
JustinCarmony Offline
New Member
 
Posts: 15
Join Date: May 2007
30-05-2007, 09:35 PM

I'd say 99% chance that there is an odd character or something strange thing malformating (is that a word? gettin my english and spanish mixed up) the JavaScript. Something like a quote or odd character, but I don't have any tools to really troubleshoot it. I'm willing to help in any way possible, but having a chat fail due to error about every 1 in 6 is terrible for Customer Service for us.

Any advice? Oh! Also, we did update to the latest hot fix, and there is still problems.
   
Reply With Quote
  (#7) Old
JustinCarmony Offline
New Member
 
Posts: 15
Join Date: May 2007
31-05-2007, 09:15 PM

I guess the question is what should I do? I'm having a small percentage of javascript errors being caused, but enough to make the Support Suite unreliable for our customers to use. Should I submit a support ticket?
   
Reply With Quote
  (#8) Old
Jamie Edwards Online
Operations Manager
 
Jamie Edwards's Avatar
 
Posts: 5,420
Join Date: Jan 2006
Location: United Kingdom
31-05-2007, 09:33 PM

Hi Justin,

Yes - please do. There is a time zone delay between our PHP developers and application developers, so this will help keep thins localized (in a support ticket). Could you also link to this thread, and post your ticket ID here so I can ensure the correct people look at it.

Thanks,


Jamie Edwards (jamie.edwards ]at[ kayako.com)
----------------------------------------------------------------
---
   
Reply With Quote
  (#9) Old
JustinCarmony Offline
New Member
 
Posts: 15
Join Date: May 2007
01-06-2007, 01:18 AM

I've submitted a ticket: AGH-461225

Thank you
   
Reply With Quote
  (#10) Old
JustinCarmony Offline
New Member
 
Posts: 15
Join Date: May 2007
06-06-2007, 07:15 AM

I've found out the reason why I'm getting errors all over and issues with javascript:

There is a line break (i.e. "\r\n") after some of my email addresses stored in the database. How that is happening, I'm still not sure and I'm trying to track it down. I am using my own home brewed LoginShare, so there could be issues there, but I need more time to investigate.

My immediate fix was to add the following php code wherever it was outputing the email address in javascript:

$email = str_replace("\r\n", " ", $email);

It is a pain in the but, and it will have to be reapplied when I upgrade, but we were getting so many JavaScript errors it was unbelievable and made it near impossible to use. Hope this helps anyone else out with this issue.

Justin Carmony
   
Reply With Quote
Reply

Tags
errors, javascript, winapp

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
vBulletin Skin developed by: vBStyles.com


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46