Disable all plugins and try, does the poll works normally on the front page?
Thread Starter
s0what
(@s0what)
poll works normally I guess. This error is on admin page when I open Blog Stats link:
Permission denied to call method Location.toString
createAJAX()()tw-sack....ver=1.6.1 (line 43)
sack("http://ditfi.lv/wordpress/wp-content/plugins/wp-polls/polls-admin-ajax.php")tw-sack....ver=1.6.1 (line 192)
e()polls-ad...?ver=2.31 (line 1)
polls-admin-js-packed.js?ver=2.31()()polls-ad...?ver=2.31 (line 1)
[Break on this error] this.xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
There are no errors when I deactivate WP-Polls plugin, and I don’t find errors after deactivating Wp-Stats. There could probably be a conflict between these plugins, but I’m not sure.
Thread Starter
s0what
(@s0what)
now error is on front page!
It showed up after I added some analytic script to page footer:
<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script src="http://www.gmetrix.lv/search.js" type="text/javascript"></script>
<script type="text/javascript">
var pageTracker = _gat._getTracker("UA-6213582-1");
pageTracker._trackPageview();
</script>
I am using WordPress Stats myself and it works fine for me. One of your JS script must be malfunctioning and hence causing any JS not to work after that.
I am getting a similar error that has to do with tw-sack.js – please see
http://www.saphod.net/2008/10/17/firebug-and-the-mysterious-components-is-not-defined
I have listed the problems there as well as in this Google Group:
http://groups.google.com/group/firebug/browse_thread/thread/e7efb8421bf8dcb8
First, I thought it was a Firebug problem, but it seems to be originating from the way the AJAX request is made in tw-sack.js.
I have converted the plugin to use jQuery in the next update