Recent Topics

[2.x] Page cannot be displayed in IE 5, 6

Started by on Mar 31, 2008 – Contents updated: Mar 31, 2008

Mar 31, 2008 15:57    

My b2evolution Version: 2.x

The following blog:

http://www.comiclist.com/

Gives "page cannot be displayed" in IE 5 or 6. It displays correctly in IE 7. Not certain about 8.

However, my 2.4.1 test blog, which is nearly identical:

http://www.comiclist.com/b2etwotest/

Appears just fine in 5, 6, and 7.

Any ideas?

Mar 31, 2008 18:11

This script is crashing IE 5,6.

<script type="text/javascript">
// Resource loader
var evo_gallery_common_includes = 'http://www.comiclist.com/plugins/gallery_plugin/includes/common/';
if ( typeof(e) === 'undefined' ) var e;
				// The Scriptaculous library
if ( typeof(Scriptaculous) === 'undefined' )
{	// 
	e = document.createElement('script');
	e.type = 'text/javascript';
	e.src = evo_gallery_common_includes+'scriptaculous/prototype.js'; 
	document.getElementsByTagName('head')[0].appendChild(e);
	
	e = document.createElement('script');
	e.type = 'text/javascript';
	e.src = evo_gallery_common_includes+'scriptaculous/scriptaculous.js?load=effects'; 
	document.getElementsByTagName('head')[0].appendChild(e);
}
								// The GalleryLightbox Library
if ( typeof(GalleryLightbox) === 'undefined' )
{	// 
	e = document.createElement('script');
	e.type = 'text/javascript';
	e.src = evo_gallery_common_includes+'gallerylightbox/js/gallerylightbox.js'; 
	document.getElementsByTagName('head')[0].appendChild(e);
	
	e = document.createElement('link');
	e.rel = 'stylesheet';
	e.type = 'text/css';
	e.href = evo_gallery_common_includes+'gallerylightbox/css/lightbox.css'; 
	document.getElementsByTagName('head')[0].appendChild(e);
}</script>

Try to put it before

<base href="http://www.comiclist.com/skins/b2evo_ru_home/" />

Mar 31, 2008 18:12

I compared both pages once they loaded in Firefox using Winmerge, and the culprit was the Gallery plugin. Once I disable that, the site loads just fine.


Form is loading...

b2evolution CMS – This forum is powered by b2evolution CMS, a complete engine for your website.