Zen Cart Logo
Forums / All Other Contributions/Addons / Zen Lightbox addon [Support Thread]

Zen Lightbox addon [Support Thread]

Views: 953,084

Results 1,101 to 1,120 of 3,722
25 Oct 2008, 2:14 PM
#1101
snowkrash avatar

snowkrash

New Zenner

Join Date:
Aug 2007
Posts:
65
Plugin Contributions:
0

Zen Lightbox addon [Support Thread]

Alex Clarke:

Sorry for not replying to your original question. I did try to view your website, but IE7 reported an error and would not load any of the product pages.

This error only appears when a product page is loaded after clicking on a product name or image from the product listing page. I can bypass the error by accessing the product page directly. It works fine in Firefox 2.

The error message reads as follows and appears in a warning message dialog box. After clicking on the ok button the usual 'This page cannot be displayed message' is shown.

Above, the author is addressing someone else's problem about something else, but he gets this bug.

This "Operation Aborted" problem is driving me nuts... I am having this same exact problem after everything was working fine for two weeks, -- it's only on the product pages and it is only in IE7 and it is only after you click or rollover one of the main product images then navigate to another product page, and after that it's almost impossible to get any of the product pages to come up. It happens as the author describes above, as well, plus you get a "Operation Aborted" alert box.

I have seen other cries for help on this Operation Aborted issue go unanswered. One person figured out that it was her additional_images.php file that she had overwritten, and when she replaced it everything was great. I have been over and over these files, and mine are fine. One person on another thread suggested to someone that when they put their "jscript" folder into the main template folder as well as the custom template folder, evrything worked for them, but I have done that and I'm still getting the error.

The site is live, and my client discovered the bug last night... I am now in serious trouble if I can't fix this. It's the only bug on the site, and I'm at my wit's end. Does anyone have any ideas?????

The site is http://www.phylliseig.com -- Go to the catalog section (Gift Collections) and there you can get the product listings by clicking on the categories. Click on any of the products and you'll soon start to see this happen (only in IE 7 or 6)

Earlier I posted a way to view attribute images with lightbox... that still works fine, and is not causing this problem... I ripped it out temporarily and I still have this problem. I have had Javascript experts tell me that the lightbox scripts are not loading in the right order or fast enough and so I'm wondering it that's part of it???

:wacko:

Thanks

25 Oct 2008, 5:00 PM
#1102
webbydeb avatar

webbydeb

Zen Follower

Join Date:
Oct 2008
Location:
Denver, CO
Posts:
65
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

snowkrash:

This "Operation Aborted" problem is driving me nuts... I am having this same exact problem after everything was working fine for two weeks, -- it's only on the product pages and it is only in IE7 and it is only after you click or rollover one of the main product images then navigate to another product page, and after that it's almost impossible to get any of the product pages to come up. It happens exactly as the author describes above.

I have seen other cries for help on this Operation Aborted issue go unanswered. One person figured out that it was her additional_images.php file that she had overwritten, and when she replaced it everything was great. I have been over and over these files, and mine are fine. One person on another thread suggested to someone that when they put their "jscript" folder into the main template folder as well as the custom template folder, evrything worked for them, but I have done that and I'm still getting the error.

The site is live, and my client discovered the bug last night... I am now in serious trouble if I can't fix this. It's the only bug on the site, and I'm at my wit's end. Does anyone have any ideas?????

:wacko:

Thanks

I had the operation aborted problem too. I didn't know it yet when I did the last post. Neither slimbox nor lightbox worked...ie always did an 'operation aborted' when trying to open up a product info page.

I did find a lightbox that worked, but it's commercial. $32. Let me know by pm if you want the info. I'm working now on getting it to work on the additional images.

If I take a while to respond, I'll be gone till 2am tomorrow morning, so that's why I'm slow to respond!

26 Oct 2008, 1:27 PM
#1103
eaglewolf avatar

eaglewolf

New Zenner

Join Date:
Oct 2008
Posts:
3
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

Hi!

I have a newly installed ZC 1.3.8a and added Lightning 1.4

The strange is that the product image will not popup, it is displayed at the bottom of the page!

I have followed the install instruction that included in the package.

Have search the thread and can-t find a solution for this
(apologize if I have miss a contribution)!

Have I miss some steps?

Can some help me?

//TEW

27 Oct 2008, 4:40 AM
#1104
svault avatar

svault

New Zenner

Join Date:
May 2008
Posts:
37
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

Hi all,

I've similar problems as others who have been complaining about product page not being able to load in IE. Previously, when I first designed the website, everything was working properly. Recently, I've been told by users that the individual product pages can't be loaded in IE. All pages load fine in Firefox. Only product pages will not load in IE.

I'm using Zen Cart 1.38a and Lightbox 1.4.
Website address: https://www.SingaporeVault.com/store

I've re-uploaded tpl_modules_main_product_image.php and additional_images.php but it didn't help. The only other programs I uploaded recently as far as I can remember was 1) Admin login as customer and 2) Encrypted Master Password. Does this 2 programs conflict with Lightbox? I forgot to check IE after I installed these 2 programs.

Please help. Thank you.

27 Oct 2008, 4:55 AM
#1105
drhiii avatar

drhiii

New Zenner

Join Date:
Jul 2006
Posts:
83
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

I am having exactly the same problems with I.E. and product pages, and product check out screen. Running it through a WC3 Validator shows a lot of errors. Am trying to learn how to interpret these so I can fix them. Not being a coder, it is slow going. But I.E. definitely been a problem for me.

27 Oct 2008, 5:30 AM
#1106
svault avatar

svault

New Zenner

Join Date:
May 2008
Posts:
37
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

Svault:

Hi all,

I've similar problems as others who have been complaining about product page not being able to load in IE. Previously, when I first designed the website, everything was working properly. Recently, I've been told by users that the individual product pages can't be loaded in IE. All pages load fine in Firefox. Only product pages will not load in IE.

I'm using Zen Cart 1.38a and Lightbox 1.4.
Website address: https://www.SingaporeVault.com/store

I've re-uploaded tpl_modules_main_product_image.php and additional_images.php but it didn't help. The only other programs I uploaded recently as far as I can remember was 1) Admin login as customer and 2) Encrypted Master Password. Does this 2 programs conflict with Lightbox? I forgot to check IE after I installed these 2 programs.

Please help. Thank you.

Just remembered that I also added this program: Column Layout Grid for Product Listing

I can't figure out where the conflict is. Please help...

27 Oct 2008, 5:37 AM
#1107
drhiii avatar

drhiii

New Zenner

Join Date:
Jul 2006
Posts:
83
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

I've poked around a great deal and I am not 100% comfortable knowing where the problem really lies. A WC3 Validator shows lots of errors that are coming out of files like attributes.php, but I am not sure this is really the whole story. Not beng a coder, I can't make qualitative judgements on it. Have been trying to get some interest from other smarter folks to be able to comment on this because it is a real problem. I will continue to try and understand what is going on, but for the moment, we need to keep asking for help until the calvary arrives.

27 Oct 2008, 5:47 AM
#1109
drhiii avatar

drhiii

New Zenner

Join Date:
Jul 2006
Posts:
83
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

I installed a straight up ZenCart site with no addons except for the Gallery2 Bridge. It does not do anything with Java, just pulls the images from the Gallery2 repository site. And I get the I.E. failures. This is what is so perplexing. A straight ZC install works, but the bridge introduces these abberations. Sigh...

27 Oct 2008, 6:55 AM
#1110
webbydeb avatar

webbydeb

Zen Follower

Join Date:
Oct 2008
Location:
Denver, CO
Posts:
65
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

yellow1912:

Lightbox or Slimbox + Flash on site = NO NO, you will get Operation Aborted on IE

Fix :
http://www.designlegion.com/rave/flash-with-xhtml-standards-satay-method/
I didn't have flash on my site when I was getting the aborted problem. I still don't!

27 Oct 2008, 7:03 AM
#1111
svault avatar

svault

New Zenner

Join Date:
May 2008
Posts:
37
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

yellow1912:

Lightbox or Slimbox + Flash on site = NO NO, you will get Operation Aborted on IE

Fix :
http://www.designlegion.com/rave/flash-with-xhtml-standards-satay-method/

I don't think I've flash on my site either.
Just used the Developers Tool Kit. Only flash i can find is from jscript_zen_lightbox.php

27 Oct 2008, 7:42 AM
#1112
svault avatar

svault

New Zenner

Join Date:
May 2008
Posts:
37
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

I am not sure what is conflicting with IE but I've solved the issue of product page unable to load by deleting this file:
\includes\modules\pages\product_info\jscript_zen_lightbox.php

Now my website uploads in IE but Lightbox is disabled/not working.

27 Oct 2008, 8:28 AM
#1113
svault avatar

svault

New Zenner

Join Date:
May 2008
Posts:
37
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

This code was directly copied from:
\includes\modules\pages\product_info\jscript_zen_lightbox.php

<?php
/**
 * Zen Lightbox v1.4
 *
 * @author Alex Clarke ([email protected])
 * @copyright Copyright 2003-2005 Zen Cart Development Team
 * @copyright Portions Copyright 2003 osCommerce
 * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
 * @version $Id: jscript_zen_lightbox.php 2007-09-15 aclarke $
 */

echo '<script type="text/javascript" src="' . $template->get_template_dir('.js',DIR_WS_TEMPLATE, $current_page_base,'jscript') . '/lightbox_lightningload.js"></script>
<script type="text/javascript" src="' . $template->get_template_dir('.js',DIR_WS_TEMPLATE, $current_page_base,'jscript') . '/lightbox_prototype.js"></script>
<script type="text/javascript" src="' . $template->get_template_dir('.js',DIR_WS_TEMPLATE, $current_page_base,'jscript') . '/lightbox_scriptaculous.js?load=effects"></script>
';

?>
<script language="javascript" type="text/javascript"><!--
var fileLoadingImage = "<?php echo $template->get_template_dir('.gif', DIR_WS_TEMPLATE, $current_page_base,'images'). '/zen_lightbox/' . 'loading.gif'; ?>";
var fileBottomNavCloseImage = "<?php echo $template->get_template_dir('.gif', DIR_WS_TEMPLATE, $current_page_base,'images'). '/zen_lightbox/' . 'closelabel.gif'; ?>";
var overlayOpacity = <?php echo ZEN_LIGHTBOX_OVERLAY_OPACITY; ?>;
var overlayDuration = <?php echo ZEN_LIGHTBOX_OVERLAY_DURATION; ?>;
var animate = <?php echo ZEN_LIGHTBOX_RESIZE_ANIMATIONS; ?>;
var resizeSpeed = <?php echo ZEN_LIGHTBOX_RESIZE_SPEED; ?>;
var borderSize = <?php echo ZEN_LIGHTBOX_BORDER_SIZE; ?>;

<?php

if (ZEN_LIGHTBOX_CLOSE_OVERLAY == 'true') {

echo 'var objOverlay = document.createElement("div");
objOverlay.setAttribute(\'id\',\'overlay\');
objOverlay.style.display = \'none\';
objOverlay.onclick = function() { myLightbox.end(); }
		
var objLightbox = document.createElement("div");
objLightbox.setAttribute(\'id\',\'lightbox\');
objLightbox.style.display = \'none\';
objLightbox.onclick = function(e) {
if (!e) var e = window.event;
var clickObj = Event.element(e).id;
if ( clickObj == \'lightbox\') {
myLightbox.end();
}
};';

} else {

echo 'var objOverlay = document.createElement("div");
objOverlay.setAttribute(\'id\',\'overlay\');
objOverlay.style.display = \'none\';
		
var objLightbox = document.createElement("div");
objLightbox.setAttribute(\'id\',\'lightbox\');
objLightbox.style.display = \'none\';';

}

if (ZEN_LIGHTBOX_HIDE_FLASH == 'true') {

echo 'function hideFlash(){
var flashObjects = document.getElementsByTagName("object");
for (i = 0; i < flashObjects.length; i++) {
flashObjects[i].style.visibility = "hidden";
}

var flashEmbeds = document.getElementsByTagName("embed");
for (i = 0; i < flashEmbeds.length; i++) {
flashEmbeds[i].style.visibility = "hidden";
}
}';

} else {

echo 'function hideFlash(){
}';

}

echo 'function showSelectBoxes(){
var selects = document.getElementsByTagName("select");
for (i = 0; i != selects.length; i++) {
selects[i].style.visibility = "visible";
}
flashObjects = document.getElementsByClassName(\'' . ZEN_LIGHTBOX_HIDE_ME . '\')
flashObjects.each(function(object){
Element.show(object);
})
}

function hideSelectBoxes(){
var selects = document.getElementsByTagName("select");
for (i = 0; i != selects.length; i++) {
selects[i].style.visibility = "hidden";
}
flashObjects = document.getElementsByClassName(\'' . ZEN_LIGHTBOX_HIDE_ME . '\')
flashObjects.each(function(object){
Element.hide(object);
})
}';

?>

//--></script>
<?php echo '<script type="text/javascript" src="' . $template->get_template_dir('.js',DIR_WS_TEMPLATE, $current_page_base,'jscript') . '/lightbox.js"></script>'; ?>

I compared the different pages (product page vs catalog page) and the difference i found was the above code. Once the above code was taken out, the product page loads fine but without the functions of Lightbox. I really like the Lightbox function and I hope that someone can look into the above code and see if it is IE compatible. Thanks!

27 Oct 2008, 6:52 PM
#1114
drhiii avatar

drhiii

New Zenner

Join Date:
Jul 2006
Posts:
83
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

Hm, that's interesting. I may try to remove it and see what happens. I can't even get the image attributes to display with this Gallery2 bridge in place. Thought that was very odd. But will give this a shot.

Is too bad about Lightbox too. That is a nice thing. Dunno how many times Microstuff and I.E. have raised their ugly head and bt me in the arse.

27 Oct 2008, 8:58 PM
#1115
drhiii avatar

drhiii

New Zenner

Join Date:
Jul 2006
Posts:
83
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

What file did you remove this code, From? tx

27 Oct 2008, 11:29 PM
#1116
svault avatar

svault

New Zenner

Join Date:
May 2008
Posts:
37
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

I removed the entire file:
This code was directly copied from:
\includes\modules\pages\product_info\jscript_zen_lightbox.php

28 Oct 2008, 12:52 AM
#1117
nosleephotel avatar

nosleephotel

New Zenner

Join Date:
Sep 2008
Location:
Los Angeles, CA
Posts:
67
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

I'm sure this has been answered but I've been searching through this thread for awhile now looking for an answer to no avail. How would I enable Lightbox on EZ pages?

28 Oct 2008, 12:48 PM
#1118
countrycharm avatar

countrycharm

Totally Zenned

Join Date:
Jul 2007
Posts:
2,179
Plugin Contributions:
2

Re: Zen Lightbox addon [Support Thread]

Hi guys I know what you all are going through with this Module. I am not downing this Module but I had this same problem in IE. I decided to try other Modules and find one that worked for me. I'm not saying it will for you but you can try it and see. It is free also. Like I said I'm not downing this Module I think it was great at the start. Here is the link to the other one.

28 Oct 2008, 8:18 PM
#1119
anothernewbie avatar

anothernewbie

New Zenner

Join Date:
Oct 2008
Posts:
1
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

Well I installed this mod and the weirdest thing happens- well weird from where I am sitting as I have no idea why it does that.

When the 'enlarge image' is clicked it opens the image at the bottom of the page not in the lighbox. What can i do to fix this?

Any help would be very much appreciated.

Thanks.

28 Oct 2008, 11:54 PM
#1120
snowkrash avatar

snowkrash

New Zenner

Join Date:
Aug 2007
Posts:
65
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

webbydeb:

I had the operation aborted problem too. I didn't know it yet when I did the last post. Neither slimbox nor lightbox worked...ie always did an 'operation aborted' when trying to open up a product info page.

I did find a lightbox that worked, but it's commercial. $32. Let me know by pm if you want the info. I'm working now on getting it to work on the additional images.

If I take a while to respond, I'll be gone till 2am tomorrow morning, so that's why I'm slow to respond!

Okay, thanks I'll PM you... I have discovered the conflict. I have GoogleAnalytics for Zen Cart installed at the same time I have Zen Lightbox. For some reason they conflict. I was down with the flu the last few days, so I had to just disable GoogleAnalytics for Zen Cart temporarily, while I figure this out, so I'll be trying a few things and post my results here.

Thanks to everyone that helped me get to this point. Without GoogleAnalytics, everything's great! But, I need to get that back in there somehow.