Rocket Theme Terran Tribune IE6 parentnode null or not an object problem
Friday, 3. October 2008, 13:16:42
I am almost sure that another Rocket theme templates have a same issue.
And actualy this is error in Opera. So it is definatly something with java script of mootools. However i am not expert for javascript neither i found solution across the internet.
Event thread: DOMContentLoaded
Error:
name: TypeError
message: Statement on line 27: Cannot convert undefined or null to Object
Backtrace:
Line 27 of linked script http://www.nonchecubes.com/media/system/js/mootools.js
function(el,where){el=$(el);switch(where){case'before':el.parentNode.insertBefore(this,el);break;case'after':var next=el.getNext();if(!next)el.parentNode.appendChild(this);else el.parentNode.insertBefore(this,next);break;case'top':var first=el.firstChild;if(first){el.insertBefore(this,first);break;}
Line 10 of linked script http://www.nonchecubes.com/templates/rt_terrantribune_j15/js/rokutils.js
function(E){C=new Element("div",{"class":"content-surround"}).inject(B[E],"before");tl=new Element("div",{"class":"content-corner-tl"}).inject(C);tr=new Element("div",{"class":"content-corner-tr"}).inject(tl);bl=new Element("div",{"class":"content-corner-bl"}).inject(tr);br=new Element("div",{"class":"content-corner-br"}).inject(bl).adopt(B[E]);}
Line 21 of linked script http://www.nonchecubes.com/media/system/js/mootools.js
function(fn){for(var i=0;i<this;i++)fn(i);}
Line 10 of linked script http://www.nonchecubes.com/templates/rt_terrantribune_j15/js/rokutils.js
function(){if(!window.webkit&&!window.ie6){maxHeight("sameheight");maxHeight.delay(500,maxHeight,"sameheight");}var D=$$("table.blog tbody")[0];if(D){D=D.getChildren();if(D.length){var B=[];B.push(D.getFirst()[0].getFirst());var A=D.getFirst()[1];if(A){A=A.getFirst();B.push(A);}var C=tl=tr=bl=br=null;(B.length).times(function(E){C=new Element("div",{"class":"content-surround"}).inject(B[E],"before");tl=new Element("div",{"class":"content-corner-tl"}).inject(C);tr=new Element("div",{"class":"content-corner-tr"}).inject(tl);bl=new Element("div",{"class":"content-corner-bl"}).inject(tr);br=new Element("div",{"class":"content-corner-br"}).inject(bl).adopt(B[E]);});}}}
... Line 21 of linked script http://www.nonchecubes.com/media/system/js/mootools.js
function(){return fn.apply($pick(options.bind,fn),args);}
Line 21 of linked script http://www.nonchecubes.com/media/system/js/mootools.js
else args=options.arguments||arguments;var returns=function(){return fn.apply($pick(options.bind,fn),args);};if(options.delay)return setTimeout(returns,options.delay);if(options.periodical)return setInterval(returns,options.periodical);if(options.attempt)try{return returns();}catch(err){return false;};return returns();}
Line 50 of linked script http://www.nonchecubes.com/media/system/js/mootools.js
function(fn){fn.create({'bind':this,'delay':delay,'arguments':args})();}
... Line 50 of linked script http://www.nonchecubes.com/media/system/js/mootools.js
function(type,args,delay){if(this.$events&&this.$events[type]){this.$events[type].keys.each(function(fn){fn.create({'bind':this,'delay':delay,'arguments':args})();},this);}
Line 59 of linked script http://www.nonchecubes.com/media/system/js/mootools.js
function(){if(window.loaded)return;window.loaded=true;window.timer=$clear(window.timer);this.fireEvent('domready');}
... Line 21 of linked script http://www.nonchecubes.com/media/system/js/mootools.js
function(){return fn.apply($pick(options.bind,fn),args);}
Line 21 of linked script http://www.nonchecubes.com/media/system/js/mootools.js
else args=options.arguments||arguments;var returns=function(){return fn.apply($pick(options.bind,fn),args);};if(options.delay)return setTimeout(returns,options.delay);if(options.periodical)return setInterval(returns,options.periodical);if(options.attempt)try{return returns();}catch(err){return false;};return returns();}
...










Anonymous # 16. October 2008, 10:18
Thank you very much... I fought with this error for two days!
Luca
Anonymous # 16. October 2008, 13:16
be praised. i lost two days to!