Page 1 of 1

Error in New Entries.

Posted: Wed Dec 12, 2007 9:37 pm
by Imparable
Hi all,

Sometimes in when i write down a new story for my blog, it is not displayed and instead of my blog i just see a 51 number.

Trying to fix this bug, with firebug i get this error when posting the story:

document.getElementById("%%RNDNUM%%") has no properties
[Break on this error] function cb(){this.ver=navigator.appVersion;this.dom=document.getElementById?1:0...

And going a bit further:

function cb(){this.ver=navigator.appVersion;this.dom=document.getElementById?1:0;this.ns5=(this.dom && parseInt(this.ver)>=5)?1:0;this.ns4=(document.layers&&!this.dom)?1:0;this.bw=(this.ns4||this.ns5);return this;}function c_b(){var bw=cb();var PW=(bw.ns4||bw.ns5)?innerWidth:document.body.offsetWidth-20;var PH=(bw.ns4||bw.ns5)?innerHeight:document.body.offsetHeight-20;if(parent&&(PW<300||PH<200)){document.getElementById('%%RNDNUM%%').style.display="none"}}window.onload=c_b;
2


Hope it has sense to anyone, and could help me.

regards.

Re: Error in New Entries.

Posted: Thu Dec 13, 2007 2:20 pm
by garvinhicking
Hi!

That javascript does not come from Serendipity! Check if it comes from one of your Firefox extensions or something like that.

Regards,
Garvin