Skip to content
View in the app

A better way to browse. Learn more.

Web Designer Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

IE "Operation aborted" issue

Featured Replies

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

  • 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);

?>

  • 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

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.