Live Helper Chat support forum.. Forum is locked. New place for questions - Github Discussions

You are not logged in.

Announcement

#1 2014-08-05 19:49:34

Kenyon Haliwell
Member
Registered: 2014-08-05
Posts: 5

Consistent Bug Within LHC

I get these errors regularly. I have no idea if they cause the chat to misbehave in anyway, I simply get reports about them when my users get the error.
=== Error ===QuotaExceededError: DOM Exception 22: An attempt was made to add something to storage that exceeded the quota.
https://moveyourmountain.org/lc/index.php/chat/getstatus/(position)/bottom_right/(top)/350/(units)/pixels/(disable_pro_active)/true:16

=== Device ===Mobile Safari 7.0.0
iOS 7.1

=== Error ===Uncaught TypeError: undefined is not a function
https://moveyourmountain.org/lc/index.php/chat/getstatus/(position)/bottom_right/(top)/350/(units)/pixels/(disable_pro_active)/true:19:69

=== Device ===Chrome 36.0.1985Mac OS X 10.9

Those seem to be the only 2 I get. However, I get them a lot. They also happen on a different page pretty much every time. The shared code between them is this:
var LHCChatOptions = {};LHCChatOptions.opt = {widget_height:340,widget_width:300,popup_height:520,popup_width:500};(function() {var po = document.createElement('script'); po.type = 'text/javascript'; po.async = true;var refferer = (document.referrer) ? encodeURIComponent(document.referrer) : '';var location  = (document.location) ? encodeURIComponent(document.location) : '';po.src = '//moveyourmountain.org/lc/index.php/chat/getstatus/(position)/bottom_right/(top)/350/(units)/pixels/(disable_pro_active)/true?r='+refferer+'&l='+location;var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(po, s);})();
try{Typekit.load();}catch(e){}

https://groups.google.com/forum/#!topic … 5es2jjOFbI

Offline

#2 2014-08-05 20:05:04

Remigijus Kiminas
Administrator
From: Lithuania
Registered: 2012-09-23
Posts: 3,661
Website

Re: Consistent Bug Within LHC

1. Your sites works so slow, that it even almoust does not load here...
2. cannot reproduce in general with my phone. iPhone 5s, mobile or safari, i never seen this error on our demo site.
3. Fix your site JS errors first
4. You can try to disable HTM5 storage in LHC back office.5. I also have found something there. http://stackoverflow.com/questions/21159301/quotaexceedederror-dom-exception-22-an-attempt-was-made-to-add-something-to-st

So in general try disabling HTML5 storage.



Offline

#3 2014-08-05 20:18:29

Kenyon Haliwell
Member
Registered: 2014-08-05
Posts: 5

Re: Consistent Bug Within LHC

HTML5 storage is already disabled.
My site response times in Google Analytics are consistently fast, so not sure why it loaded slow for you.
As for the JS errors, the 2nd one should be fixed. Not sure about the first one, however, those errors have nothing to do with the problems I'm having with your plugin. The code with those errors is only on the home page, and as I said in the first post I get this error on pretty much every page.
Any more help is appreciated. Thanks!

Offline

#4 2014-08-05 20:32:38

Remigijus Kiminas
Administrator
From: Lithuania
Registered: 2012-09-23
Posts: 3,661
Website

Re: Consistent Bug Within LHC

Try to apply this update.
https://github.com/LiveHelperChat/livehelperchat/commit/92bb80fc5ed56dc7415a4137679c4f020e06eb00

Don't forget to clear cache after you update smile

In any case it's something related with iOS stuff smile

Offline

#5 2014-08-05 20:37:08

Kenyon Haliwell
Member
Registered: 2014-08-05
Posts: 5

Re: Consistent Bug Within LHC

Awesome, thanks! I just pulled the change, and clicked "Clean cache" under system configuration (which is I assume what you meant by clear the cache).
Thanks for the help!

Offline

#6 2014-08-05 20:37:36

Remigijus Kiminas
Administrator
From: Lithuania
Registered: 2012-09-23
Posts: 3,661
Website

Re: Consistent Bug Within LHC

Does it helped?

On 5 August 2014 21:37, Kenyon Haliwell <ken...***.org> wrote:


Awesome, thanks! I just pulled the change, and clicked "Clean cache" under system configuration (which is I assume what you meant by clear the cache).
Thanks for the help!




--

Offline

#7 2014-08-05 20:39:50

Kenyon Haliwell
Member
Registered: 2014-08-05
Posts: 5

Re: Consistent Bug Within LHC

I have no idea, I don't have an iOS device, I'll have to wait and see if it comes up again in my error log.

Offline

#8 2014-08-05 20:40:46

Remigijus Kiminas
Administrator
From: Lithuania
Registered: 2012-09-23
Posts: 3,661
Website

Re: Consistent Bug Within LHC

You blindly reported I blindly fixed, will see what's gona happen big_smile

Offline

#9 2014-08-06 18:50:41

Kenyon Haliwell
Member
Registered: 2014-08-05
Posts: 5

Re: Consistent Bug Within LHC

I got a couple new errors now:
=== Error ===window.onerror: '$' is undefined
https://moveyourmountain.org/lc/index.php/chat/getstatus/(position)/bottom_right/(top)/350/(units)/pixels/(disable_pro_active)/true:2:2213

=== Device ===I.E. 9Windows Vista
================================
=== Error ===TypeError: Uncaught TypeError: undefined is not a function
https://moveyourmountain.org/lc/index.php/chat/getstatus/(position)/bottom_right/(top)/350/(units)/pixels/(disable_pro_active)/true:19:69

=== Device ===Chrome 36.0.1985Mac OS X 10.9

================================

This is the first time I've gotten the first error, though I'm not that worried about it because I.E. 9 is pretty old now. However, the 2nd error, I've gotten it since before your changes yesterday.

Offline

#10 2014-08-06 18:51:36

Remigijus Kiminas
Administrator
From: Lithuania
Registered: 2012-09-23
Posts: 3,661
Website

Re: Consistent Bug Within LHC

Sorry, but this time i don't know.

Offline

Board footer