-
AuthorPosts
-
brucetaylor Friend
brucetaylor
- Join date:
- May 2008
- Posts:
- 60
- Downloads:
- 0
- Uploads:
- 4
- Thanks:
- 8
- Thanked:
- 2 times in 1 posts
September 3, 2008 at 8:18 am #132898Hi,
When I load FireBoard 1.0.4 Stable to the site that I developing I get the attached error message. I applied the fixes for the null errors discussed in the forum but only when I access the forum do I get this message. I don’t have CB installed yet, the only other thing linked to forum is uddeIM 1.3
Anyone any idea’s?
Thanks
brucetaylor Friendbrucetaylor
- Join date:
- May 2008
- Posts:
- 60
- Downloads:
- 0
- Uploads:
- 4
- Thanks:
- 8
- Thanked:
- 2 times in 1 posts
September 3, 2008 at 8:26 am #268463Its Joomla 1.5 by the way and only seems to happen on IE 7.0
dlocc Frienddlocc
- Join date:
- August 2008
- Posts:
- 74
- Downloads:
- 0
- Uploads:
- 0
- Thanks:
- 3
- Thanked:
- 9 times in 5 posts
September 9, 2008 at 1:38 am #269589Yeah, I’m getting the same exact error…
dlocc Frienddlocc
- Join date:
- August 2008
- Posts:
- 74
- Downloads:
- 0
- Uploads:
- 0
- Thanks:
- 3
- Thanked:
- 9 times in 5 posts
September 9, 2008 at 1:41 am #269591I don’t know if it is being caused by fireboard, although now I suspect because we have the same error….
dlocc Frienddlocc
- Join date:
- August 2008
- Posts:
- 74
- Downloads:
- 0
- Uploads:
- 0
- Thanks:
- 3
- Thanked:
- 9 times in 5 posts
September 9, 2008 at 4:54 pm #269784I resolved my errors by editing the javascript. Here are the posts that helped me:
http://www.joomlart.com/forums/showpost.php?p=63749&postcount=9
http://forum.joomlaworks.gr/index.php?topic=4987.0http://forum.joomlaworks.gr/index.php?topic=4987.0
brucetaylor Friendbrucetaylor
- Join date:
- May 2008
- Posts:
- 60
- Downloads:
- 0
- Uploads:
- 4
- Thanks:
- 8
- Thanked:
- 2 times in 1 posts
September 9, 2008 at 5:14 pm #269790I have just tired this –
If you open up the file ja.scripts.js in the js folder of the template and find this here:
Code:
function equalHeight(){
makeEqualHeight ($(‘ja-botsl’).getChildren());
makeEqualHeight ($$([‘ja-content’,’ja-col1-bot’,’ja-col2′]));
}
And change it to this:
Code:
function equalHeight(){
makeEqualHeight ($(‘ja-botsl’).getChildren());
//makeEqualHeight ($$([‘ja-content’,’ja-col1-bot’,’ja-col2′]));
}But I get the same error message.
Where is this –
The problem I had was only in ie7 and I managed to solve it by adding
Code:
{height: 1%;}
to the div that was being overlapped in my template.css.Thanks
dlocc Frienddlocc
- Join date:
- August 2008
- Posts:
- 74
- Downloads:
- 0
- Uploads:
- 0
- Thanks:
- 3
- Thanked:
- 9 times in 5 posts
September 9, 2008 at 5:15 pm #269791So you solved it using CSS? I’m not quiet sure I understand
brucetaylor Friendbrucetaylor
- Join date:
- May 2008
- Posts:
- 60
- Downloads:
- 0
- Uploads:
- 4
- Thanks:
- 8
- Thanked:
- 2 times in 1 posts
September 9, 2008 at 5:19 pm #269792Sorry for the confusion. I still have the problem, the part of my post about –
Code:
{height: 1%;}was taken from the last post on this link that you posted earlier –
http://forum.joomlaworks.gr/index.php?topic=4987.0http://forum.joomlaworks.gr/index.php?topic=4987.0
dlocc Frienddlocc
- Join date:
- August 2008
- Posts:
- 74
- Downloads:
- 0
- Uploads:
- 0
- Thanks:
- 3
- Thanked:
- 9 times in 5 posts
September 9, 2008 at 5:27 pm #269794Perhaps if I just dump the whole file in here for you to look at it will help? This is the error free 😀 version:
function switchFontSize (ckname,val){
var bd = $E('BODY');
switch (val) {
case 'inc':
if (CurrentFontSize+1 < 7) {
bd.removeClass('fs'+CurrentFontSize);
CurrentFontSize++;
bd.addClass('fs'+CurrentFontSize);
}
break;
case 'dec':
if (CurrentFontSize-1 > 0) {
bd.removeClass('fs'+CurrentFontSize);
CurrentFontSize--;
bd.addClass('fs'+CurrentFontSize);
}
break;
default:
bd.removeClass('fs'+CurrentFontSize);
CurrentFontSize = val;
bd.addClass('fs'+CurrentFontSize);
}
Cookie.set(ckname, CurrentFontSize,{duration:365});
}function switchTool (ckname, val) {
createCookie(ckname, val, 365);
window.location.reload();
}function createCookie(name,value,days) {
if (days) {
var date = new Date();
date.setTime(date.getTime()+(days*24*60*60*1000));
var expires = "; expires="+date.toGMTString();
}
else expires = "";
document.cookie = name+"="+value+expires+"; path=/";
}String.prototype.trim = function() { return this.replace(/^s+|s+$/g, ""); };
//addEvent - attach a function to an event
function jaAddEvent(obj, evType, fn){
if (obj.addEventListener){
obj.addEventListener(evType, fn, false);
return true;
} else if (obj.attachEvent){
var r = obj.attachEvent("on"+evType, fn);
return r;
} else {
return false;
}
}function equalHeight(){
if (document.getElementById('ja-botsl'))
{
makeEqualHeight ($('ja-botsl').getChildren());
} //makeEqualHeight ($$(['ja-content','ja-col1-bot','ja-col2']));function makeEqualHeight(divs) {
if(!divs || divs.length < 2) return;
var maxh = 0;
divs.each(function(el, i){
var ch = el.getCoordinates().height;
maxh = (maxh < ch) ? ch : maxh;
},this);
divs.each(function(el, i){
el.setStyle('height', maxh-el.getStyle('padding-top').toInt()-el.getStyle('padding-bottom').toInt());
},this);
}function getDeepestDiv (div) {
while (div.getChildren().length==1 && (div.getChildren()[0].tagName == 'DIV'))
{
div = div.getChildren()[0];
}
return div;
}function preloadImages () {
var imgs = new Array();
for (var i = 0; i < arguments.length; i++) {
var imgsrc = arguments;
imgs = new Image();
imgs.src = imgsrc;
}
}function makeTransBg(el, bgimgdf, sizingMethod, type, offset){
var objs = el;
if(!objs) return;
if ($type(objs) != 'array') objs = ;
if(!sizingMethod) sizingMethod = 'crop';
if(!offset) offset = 0;
var blankimg = siteurl + 'images/blank.png';
objs.each(function(obj) {
var bgimg = bgimgdf;
if (obj.tagName == 'IMG') {
//This is an image
if (!bgimg) bgimg = obj.src;
if (!(/.png$/i).test(bgimg) || (/blank.png$/i).test(bgimg)) return;obj.setStyle('height',obj.offsetHeight);
obj.setStyle('width',obj.offsetWidth);
obj.src = blankimg;
obj.setStyle ('visibility', 'visible');
obj.setStyle('filter', "progid:DXImageTransform.Microsoft.AlphaImageLoader(src="+bgimg+", sizingMethod='"+sizingMethod+"')");
}else{
//Background
if (!bgimg) bgimg = obj.getStyle('backgroundImage');
var pattern = new RegExp('urls*[("']*([^'")]*)['")]*');
if ((m = pattern.exec(bgimg))) bgimg = m[1];
if (!(/.png$/i).test(bgimg) || (/blank.png$/i).test(bgimg)) return;
if (!type)
{
obj.setStyles({'background': 'none'});if(obj.getStyle('position')!='absolute' && obj.getStyle('position')!='relative') {
obj.setStyle('position', 'relative');
}obj.getChildren().each(function(el){
if(el.getStyle('position')!='absolute' && el.getStyle('position')!='relative')
{
el.setStyle('position', 'relative');
}
el.setStyle('z-index',2);
});
//Create background layer:
var bgdiv = new Element('IMG');
bgdiv.src = blankimg;
bgdiv.width = obj.offsetWidth - offset;
bgdiv.height = obj.offsetHeight - offset;
bgdiv.setStyles({
'position': 'absolute',
'top': 0,
'left': -obj.getStyle('padding-left').toInt()
});bgdiv.className = 'TransBG';
bgdiv.setStyle('filter', "progid:DXImageTransform.Microsoft.AlphaImageLoader(src="+bgimg+", sizingMethod='"+sizingMethod+"')");
bgdiv.inject(obj, 'top');
//alert(obj.innerHTML + 'n' + bgdiv.innerHTML);
} else {
obj.setStyle('filter', "progid:DXImageTransform.Microsoft.AlphaImageLoader(src="+bgimg+", sizingMethod='"+sizingMethod+"')");
}
}
}.bind(this));
}function isIE6() {
version=0
if (navigator.appVersion.indexOf("MSIE")!=-1){
temp=navigator.appVersion.split("MSIE")
version=parseFloat(temp[1])
}
return (version && (version < 7));
}function getElementsByClass(searchClass,node,tag) {
var classElements = new Array();
var j = 0;
if ( node == null )
node = document;
if ( tag == null )
tag = '*';
var els = node.getElementsByTagName(tag);
var elsLen = els.length;
var pattern = new RegExp('(^|\s)'+searchClass+'(\s|$)');
for (var i = 0; i < elsLen; i++) {
if ( pattern.test(els.className) ) {
classElements[j] = els;
j++;
}
}
//alert(searchClass + j);
return classElements;
}//Add span to module title
jaAddFirstItemToTopmenu = function() {
li = $E('#ja-footer ul li');
if(li) {
li.addClass('ja-firstitem');
}
}window.addEvent ('load', function() {
equalHeight();
jaAddFirstItemToTopmenu();
});
}1 user says Thank You to dlocc for this useful post
brucetaylor Friendbrucetaylor
- Join date:
- May 2008
- Posts:
- 60
- Downloads:
- 0
- Uploads:
- 4
- Thanks:
- 8
- Thanked:
- 2 times in 1 posts
September 9, 2008 at 5:38 pm #269795THANK YOU!!!!!!!!!!!!!!!!!!!!!
That’s done the trick for me. I can put it on my other site that I have the same problem with ! 😀
dlocc Frienddlocc
- Join date:
- August 2008
- Posts:
- 74
- Downloads:
- 0
- Uploads:
- 0
- Thanks:
- 3
- Thanked:
- 9 times in 5 posts
September 9, 2008 at 5:43 pm #269796Great! I thought that would do the trick.
brucetaylor Friendbrucetaylor
- Join date:
- May 2008
- Posts:
- 60
- Downloads:
- 0
- Uploads:
- 4
- Thanks:
- 8
- Thanked:
- 2 times in 1 posts
September 12, 2008 at 10:21 am #270195Dam, my problems hasve come back after applying 1.5.7 security patch
Anyone else seeing this? 🙁
brucetaylor Friendbrucetaylor
- Join date:
- May 2008
- Posts:
- 60
- Downloads:
- 0
- Uploads:
- 4
- Thanks:
- 8
- Thanked:
- 2 times in 1 posts
September 12, 2008 at 10:44 am #270198Its in firefox too 🙁
I am having a nightmare since upgrading to 1.5.7!!! I also have a problem with read more links not being displayed any more to guest users 🙁
brucetaylor Friendbrucetaylor
- Join date:
- May 2008
- Posts:
- 60
- Downloads:
- 0
- Uploads:
- 4
- Thanks:
- 8
- Thanked:
- 2 times in 1 posts
September 12, 2008 at 10:53 am #270203Very strange, I switched off the Communicator module and it all went away ???? :confused:
I was considering droping that anyway as the module is very sloppy and there is little support
dlocc Frienddlocc
- Join date:
- August 2008
- Posts:
- 74
- Downloads:
- 0
- Uploads:
- 0
- Thanks:
- 3
- Thanked:
- 9 times in 5 posts
September 12, 2008 at 3:29 pm #270230Hey bruce, What version of fireboard are you using? Is it the latest 1.0.5 ? If you are you should turn on debugging in IE to further investigate that problem. Do you have a link to your site?
AuthorPostsThis topic contains 17 replies, has 2 voices, and was last updated by dlocc 16 years, 2 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum