1 default Aug 06, 2007 11:18
3 nomad Aug 06, 2007 16:25
Thanks! I had the same problem. All of a sudden I no longer could visit my blog via Firefox. I had to use Opera or Safari. I've deleted the cookies and now everything is okay again.
Is there a possibility to prevent these errors? Why do they happen? What are the consequences of removing the code in your reply, ¥åßßå?
4 yabba Aug 07, 2007 11:02
Hi Nomad,
The problem in this case is that a third party javascript on the page is setting a cookie which is conflicting with one of b2evo's variables.
The only solution is to remove the script or rename the cookie variables it uses
¥
5 nomad Aug 07, 2007 11:11
It might be the statistic script? that's the only javascript. I've used it for over a year now and this problem has never occured before upgrading from 0.91. to Florida
This is the code
<script type="text/javascript">
<!--
var aufloesung = '';
var farbtiefe = '';
var referer = '';
var pfad = '';
var java = '';
var plugins;
var cookies;
var rnd = Math.random()*99999;
var innen_aufloesung;
if(self.innerHeight){// all except Explorer
innen_aufloesung = self.innerWidth + "x" + self.innerHeight;
}
else if(document.documentElement && document.documentElement.clientHeight){ // Explorer 6 Strict Mode
innen_aufloesung = document.documentElement.clientWidth + "x" + document.documentElement.clientHeight;
}
else if(document.body){ // other Explorers
innen_aufloesung = document.body.clientWidth + "x" + document.body.clientHeight;
}
aufloesung = screen.width+'x'+screen.height;
referer = "" + escape(top.document.referrer);
farbtiefe = screen.colorDepth;
pfad = escape(location.href);
java = navigator.javaEnabled();
cookies = navigator.cookieEnabled;
for(i=0;i<navigator.plugins.length;++i){
plugins = plugins + "|" + navigator.plugins[i].name;
}
var jetzt = new Date();
var Unterschied = jetzt.getTimezoneOffset() / 60;
document.write("<img height=0 width=0 src='http://antropologi.info/stwcounter/counter.php?stwc_cz=1&aflsg=" + aufloesung + "&innen_aufloesung=" + innen_aufloesung + "&referer=" + referer + "&farbtiefe=" + farbtiefe + "&js=yes&java=" + java + "&plugins=" + plugins + "&cookies=" + cookies + "&zzone=" + Unterschied + "&pfad=" + pfad + "&rnd=" + rnd + "'>");
//-->
</script>
6 afwas Aug 07, 2007 13:14
I think the counter is [url=http://www.stwc-counter.de/]stwc-counter[/url]. I could only retrieve the latest version, probably not yours.
The w does exist in B2evo as $w for week (probably week number). The good news is, I couldn't find a w for cookie in the latest version of stwc, so you probably solve your conflict if you update your counter.
Good luck
7 nomad Aug 07, 2007 13:18
My error message was a bit different, the illegal character was related to users. And it just occured once with Firefox, no I don't have any problems more.
Yes you're right it's the Stwc-counter. I use version 3.4
This is not a b2evo bug ( hence why I moved it ), it's caused by one of the scripts on your page that adds a cookie, you can test this by disabling javascript and clearing your cookies and you won't have any problems.
A good starting point is this piece of javascript :
¥