Author Topic: Error Java function plz help  (Read 183 times)

hunterlovex

  • Newbie
  • *
  • Posts: 5
Error Java function plz help
« on: April 15, 2012, 07:40:56 AM »
I see error when click add to playlist , new playlist or report ,and member can't registered:" [Exception... "Could not convert JavaScript argument arg 0 [nsIDOMHTMLHeadElement.insertBefore]"  nsresult: "0x80570009 (NS_ERROR_XPC_BAD_CONVERT_JS)"  location: "JS frame :: http://vip-share.net/javascripts/ahah.js :: <TOP_LEVEL> :: line 109"  data: no] "


frankie

  • Administrator
  • Hero Member
  • *****
  • Posts: 6658
  • PHPmotion Developer
Re: Error Java function plz help
« Reply #1 on: April 15, 2012, 10:54:04 AM »
remove the javascript ad code you added

hunterlovex

  • Newbie
  • *
  • Posts: 5
Re: Error Java function plz help
« Reply #2 on: April 15, 2012, 03:13:00 PM »
remove the javascript ad code you added

sorry please check here it's new install ,the problem appear before i add ad to site :" [Exception... "Could not convert JavaScript argument arg 0 [nsIDOMHTMLHeadElement.insertBefore]"  nsresult: "0x80570009 (NS_ERROR_XPC_BAD_CONVERT_JS)"  location: "JS frame :: http://vipadultvideos.com/javascripts/ahah.js :: <TOP_LEVEL> :: line 109"  data: no]"

thanks
« Last Edit: April 15, 2012, 03:14:54 PM by hunterlovex »

frankie

  • Administrator
  • Hero Member
  • *****
  • Posts: 6658
  • PHPmotion Developer
Re: Error Java function plz help
« Reply #3 on: April 15, 2012, 03:38:10 PM »
remove all the extra javascript code you added

the facebook extra code
and this from main_1.htm
<script type='text/javascript'>(function() {var ajsa = document.createElement('script'); ajsa = 'text/javascript'; ajsa = true;ajsa.src = ('https:' == document.location.protocol ? 'https://' : 'http://') + 'cdn.attracta.com/js/763657/efb6146159843f9cd3dfc4dd94c715c4/1.js';var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ajsa, s);})();</script>

and remove this

<script type="text/javascript">

var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-21325791-4']);
_gaq.push(['_trackPageview']);

(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();

</script>
« Last Edit: April 15, 2012, 03:43:17 PM by frankie »