Sound Not Working (LONG ERROR STRING SHOWING)

kevinmac
Topic Author
Posts: 9
6 years 2 months ago #2836 by kevinmac
I have recently rebuilt my website and am running into a few problems. Firstly, the sound alerts are not working at all. I also notice that for some users, there appears to be some sort of long error string. I am not sure if this maybe related to the sound not working or if it's a separate problem.

; // Run error reporting if (JJ_shoutboxMsg == '') { JJShoutbox.showError(Joomla.JText._('SHOUT_MESSAGE_EMPTY'), JJ_instance); } else if (name == 'JJ_None') { JJShoutbox.showError(Joomla.JText._('SHOUT_NAME_EMPTY'), JJ_instance); } else { var JJ_recaptcha = ''; var JJ_ShoutPostParams = { shoutId : JJ_shoutId, itemId : JJ_itemId, type : JJ_type, name : JJ_name, title : 'Forex Signals', secrityType : '0', secrityHide : '0', token : '711211e4f186cb77942a936512a6cb91', recaptcha : JJ_recaptcha, instance : JJ_instance, history : JJ_history }; JJShoutbox.submitPost(JJ_ShoutPostParams); } } if (JJ_history == 1) { $('#jj-load-more').on('click', function(e){ e.preventDefault(); var JJ_itemId = '273'; JJShoutbox.getPostsHistory('Forex Signals', JJ_itemId, JJ_instance, JJ_offset); JJ_offset = JJ_offset + 3; }); } if (JJ_editOwn == 1) { $('#jjshoutboxoutput').on('click', '.jj-shout-edit', function(e) { e.preventDefault(); var JJ_shoutId = $(this).attr('data-shout-edit-id'); JJShoutbox.checkTimestamp('Forex Signals', JJ_itemId, JJ_instance, JJ_shoutId); }); } // Refresh the shoutbox posts every X seconds setInterval(function(){ var JJ_itemId = '273'; var JJ_insertName = 'This email address is being protected from spambots. You need JavaScript enabled to view it.'; JJShoutbox.getPosts('Forex Signals', '1', '0', JJ_itemId, JJ_instance, JJ_insertName, JJ_history); }, 30000); });


I hope this error and sound problem can be fixed.
Thanks

Please Log in or Create an account to join the conversation.

George
George's Avatar
Posts: 134
6 years 2 months ago #2837 by George
The sound not working I will investigate as soon as possible and get back to you on (hopefully tonight)

The long error message is actually a large amount of the javascript code we use inside the shoutbox (for the AJAX submissions). I do not understand what combination of events is needed for that to happen and have not seen it before! Have you been able to identify any commonalities when you see this issue that would help us try and narrow it down?

Please Log in or Create an account to join the conversation.

kevinmac
Topic Author
Posts: 9
6 years 2 months ago #2838 by kevinmac
Replied by kevinmac on topic Sound Not Working (LONG ERROR STRING SHOWING)
I have not been able to identify any possible reasons as to why this happens because it happens for some users and for others the error does not show. However the sound remains a problem for all users and it does not play when a new shout has been posted. Would you like backend details to check?


Thanks

Please Log in or Create an account to join the conversation.

Lodder
Lodder's Avatar
Posts: 1185
6 years 2 months ago #2839 by Lodder
Hi Kevin,

Yes, would you be able to provide us with admin rights on your site please? I can't remember if you sent these in a previous email a couple of weeks ago, but I'll wait for a new email (This email address is being protected from spambots. You need JavaScript enabled to view it.)

Regards,
Lodder

Please Log in or Create an account to join the conversation.

Powered by Kunena Forum