February 6, 200917 yr Hi guys, my site works perfectly on ff but on any version of IE it shows "Operation Aborted" error and the site doesn't shows at all. I know that the problem is with one of the scripts i'm calling but i can't find out which one is causing it :S The site uses joomla, so i have tried disabling the modules one by one and it seems that it's not up to them (if you enter the link to the forum for example the site shows in IE), so the problem is on the front page. I'm assuming that it has something to do with the rokmininews module (it's module from another template adopted to this one) since it delivers scripts inside the <body> but even script deffer=”deffer” doesn't helps. i must sort this out, so any help or tip is appreciated. thanks. Baze
February 6, 200917 yr Author update: it came up that the problem is with the Octal Gallery module. here is the code from the module, i have added the defer="defer" on line 10, but it doesent helps... any idea? <?php /** * Module Octal Gallery */ // no direct access defined( '_VALID_MOS' ) or die( 'Restricted access' ); ?> <script type="text/javascript" src="<?php echo $mosConfig_live_site;?>/templates/<?php echo $mainframe->getTemplate(); ?>/js/slimbox.js" defer="defer"></script> <?php $imageCount = 1; $folder = trim($params->get( 'imagefolder' )); $thumb = trim($params->get( 'thumbfolder' )); $w = trim($params->get( 'width' )); $h = trim($params->get( 'height' )); $f = opendir($mosConfig_absolute_path ."/images/".$folder.""); $images = array(); while ($file = readdir ($f)) { if($file!='.' && $file!='..' && $file!='Thumbs.db' && $file!=$thumb) { $images[] = $file; } } shuffle($images); if($imageCount > count($images)) { $imageCount = count($images); } for ($i = 0; $i < $imageCount; $i++) { echo '<div style="margin:5px 5px 5px 5px; ">'; echo '<a href="images/'.$folder.'/'.$images[$i].'" rel="lightbox"><img src="images/'.$folder.'/'.$thumb.'/'.$images[$i].'" border="0" height="'.$h.'" width="'.$w.'" /></a>'; echo '</div>'; } closedir($f); ?>
February 6, 200917 yr Author Finally i got it to work just by removing the script line from the module, and placing it right before the /body tag on the index. the script works and the site doesn't returns error hope this will help someone
Create an account or sign in to comment