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

Zen Lightbox addon [Support Thread]

Views: 952,653

Results 3,521 to 3,540 of 3,722
25 Nov 2013, 22:49
#3521
alexthibo avatar

alexthibo

New Zenner

Join Date:
Jul 2012
Posts:
99
Plugin Contributions:
0

Zen Lightbox addon [Support Thread]

Hi There,
I've already installed this plugin on other zencart websites without any problem and really like this addon! So I installed it on a website I'm currently working on and it's not working properly on this one. The difference here is that I installed it on a template called Responsive Sheffield Blue. This template is not suppose to get in conflict with the plugin. I reinstalled it 3 times but the issue is always there. The pictures are not showing at all on the product page.

Here's a link to the shop: http://www.offroadrescuenetwork.com/salesorn

There's currently 2 products. A red sticker and a cap. The sticker has only one picture and the cap has 3. The pictures are working on the other templates. I unfortunately don't know if they were working before the Zen Lightbox installation because they were upload after the plugin installation. I would need help to find where the problem is.

26 Nov 2013, 00:24
#3522
laquilino68 avatar

laquilino68

New Zenner

Join Date:
Nov 2013
Location:
Palm Bay, FL
Posts:
7
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

Hi - I am a new Zen (v 1.51)user and am building my first store for a client. Everything has been going well. I installed Zen Lightbox last night and it works as described, but I have an odd issue. I have lost the footer on my Product Description pages.

http://lemarcinternational.com/mystore/index.php?main_page=product_info&cPath=11&products_id=1

can anyone offer assistance?

26 Nov 2013, 00:32
#3523
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: Zen Lightbox addon [Support Thread]

laquilino68:

Hi - I am a new Zen (v 1.51)user and am building my first store for a client. Everything has been going well. I installed Zen Lightbox last night and it works as described, but I have an odd issue. I have lost the footer on my Product Description pages.

http://lemarcinternational.com/mystore/index.php?main_page=product_info&cPath=11&products_id=1

can anyone offer assistance?

Blank pages or partial blank pages (like yours) indicate an error log has probably been generate.. post the results of your error logs..

26 Nov 2013, 00:42
#3524
laquilino68 avatar

laquilino68

New Zenner

Join Date:
Nov 2013
Location:
Palm Bay, FL
Posts:
7
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

DivaVocals:

Blank pages or partial blank pages (like yours) indicate an error log has probably been generate.. post the results of your error logs..

Thank you for the reply! I am not sure where to find the logs -

26 Nov 2013, 00:49
#3525
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: Zen Lightbox addon [Support Thread]

laquilino68:

Thank you for the reply! I am not sure where to find the logs -

The FAQs are your friend.. You should get to know how to use the forum and FAQs to search for info..

I took the liberty of highlighting in red the articles related to your reported issue..

=24"]**Search:**

	 			Type: FAQs/Articles/Tutorials; Keyword(s): **error**, **log**		 		

=24"]**Search**: Search took 0.23 seconds.

WARNING: An Error occurred, please refresh the page and try again.

  • Comments: 0
  	 			 				CMS:

Troubleshooting

How can I protect my site from malicious attack? Security Recommendations

  • Comments: 0
  	 			 				CMS:

Security Matters

I am getting a blank page (or blank part of a page)

  • Comments: 0
  	 			 				CMS:

Quick Start Guide

26 Nov 2013, 00:57
#3526
laquilino68 avatar

laquilino68

New Zenner

Join Date:
Nov 2013
Location:
Palm Bay, FL
Posts:
7
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

DivaVocals:

The FAQs are your friend.. You should get to know how to use the forum and FAQs to search for info..

I took the liberty of highlighting in red the articles related to your reported issue..

Thank you! very much - I appreciate you taking the time. I have used the FAQ's for other things, but did not think my solution for this could be found there. I will look it over. Thank you again.

26 Nov 2013, 01:23
#3527
darkangel avatar

darkangel

Totally Zenned

Join Date:
Oct 2007
Location:
Emporia, Kansas
Posts:
1,729
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

AlexThibo:

Hi There,
I've already installed this plugin on other zencart websites without any problem and really like this addon! So I installed it on a website I'm currently working on and it's not working properly on this one. The difference here is that I installed it on a template called Responsive Sheffield Blue. This template is not suppose to get in conflict with the plugin. I reinstalled it 3 times but the issue is always there. The pictures are not showing at all on the product page.

Here's a link to the shop: http://www.offroadrescuenetwork.com/salesorn

There's currently 2 products. A red sticker and a cap. The sticker has only one picture and the cap has 3. The pictures are working on the other templates. I unfortunately don't know if they were working before the Zen Lightbox installation because they were upload after the plugin installation. I would need help to find where the problem is.

Have you tried re-uploading the files again just to make sure they are all uploaded or not corrupted...which has been known to happen upon uploading.

If that does not help then remove all files for the lightbox, use the uninstall script to totally uninstall from database and check out to see if the images do indead show in that template.

Also --- cause I don't see it --- what version of shopping cart are you using.

is this the image for the one item:

http://www.offroadrescuenetwork.com/salesorn/images/medium/collant4RNF_MED.jpg

26 Nov 2013, 05:22
#3528
alexthibo avatar

alexthibo

New Zenner

Join Date:
Jul 2012
Posts:
99
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

Yes, that's one of the images. Version is 1.5.1.

I reinstalled it 3 times and reupload each times. But I did redownload the files and didn't completely uninstalled the files. I just run the uninstalled SQL. I'll try to completely uninstal and redownload the files and will see. Thanks for your time.

26 Nov 2013, 05:27
#3529
darkangel avatar

darkangel

Totally Zenned

Join Date:
Oct 2007
Location:
Emporia, Kansas
Posts:
1,729
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

AlexThibo:

Yes, that's one of the images. Version is 1.5.1.

I reinstalled it 3 times and reupload each times. But I did redownload the files and didn't completely uninstalled the files. I just run the uninstalled SQL. I'll try to completely uninstal and redownload the files and will see. Thanks for your time.

I was wondering, you do see the plugin under the configuration tab in admin right?

If you have installed several times and run the install script each time you may have multiple entries in admin. Run your uninstall sql for each entry you find in admin to really ensure you got it all out of there.

Hope it works and come back to let us know so if it still does not show you can get even better assistance.

26 Nov 2013, 05:56
#3530
rbarbour avatar

rbarbour

Totally Zenned

Join Date:
Feb 2010
Posts:
2,159
Plugin Contributions:
10

Re: Zen Lightbox addon [Support Thread]

DarkAngel:

I was wondering, you do see the plugin under the configuration tab in admin right?

If you have installed several times and run the install script each time you may have multiple entries in admin. Run your uninstall sql for each entry you find in admin to really ensure you got it all out of there.

Hope it works and come back to let us know so if it still does not show you can get even better assistance.

If I was to guess, you should double check that the javascript files are in the correct directory, if so, just try uploading those files.

26 Nov 2013, 16:05
#3531
niestudio avatar

niestudio

Zen Follower

Join Date:
Nov 2009
Posts:
285
Plugin Contributions:
2

Re: Zen Lightbox addon [Support Thread]

AlexThibo:

Hi There,
I've already installed this plugin on other zencart websites without any problem and really like this addon! So I installed it on a website I'm currently working on and it's not working properly on this one. The difference here is that I installed it on a template called Responsive Sheffield Blue. This template is not suppose to get in conflict with the plugin. I reinstalled it 3 times but the issue is always there. The pictures are not showing at all on the product page.

Here's a link to the shop: http://www.offroadrescuenetwork.com/salesorn

There's currently 2 products. A red sticker and a cap. The sticker has only one picture and the cap has 3. The pictures are working on the other templates. I unfortunately don't know if they were working before the Zen Lightbox installation because they were upload after the plugin installation. I would need help to find where the problem is.

my first guess would be that your template had a custom [includes/templates/[template_name]/templates/tpl_modules_main_product_image.php] and that ZLB overwrote this file.
If that is the case then you'll need to manually merges the changes from that file in ZLB with the file that came with your template.

28 Nov 2013, 20:29
#3532
alexthibo avatar

alexthibo

New Zenner

Join Date:
Jul 2012
Posts:
99
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

I'm sorry for the delay. I missed time to check and reply on this problem but really appreciate your help!

niestudio:

my first guess would be that your template had a custom [includes/templates/[template_name]/templates/tpl_modules_main_product_image.php] and that ZLB overwrote this file.
If that is the case then you'll need to manually merges the changes from that file in ZLB with the file that came with your template.
I look at this first but the Responsive Sheffield Blue template doesn't include this file. I redownload the complete package of this pluging and reinstalled it without succes.

So I tried something... I installed it on the classic template, which wasn't modified at all, and it's working as it should. So it eliminates the pluging/files problem. It's definitely on the template side. The problem is that I'm not sure Picaflor Azul, which create the template will be able to help me on this... I think it will be hard to find where the problem is.

29 Nov 2013, 01:13
#3533
silver_net_surfer avatar

silver_net_surfer

New Zenner

Join Date:
Mar 2012
Posts:
1
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

Hi
I'm new to Zen Cart but not to programming in general, and would like to share a thought on this problem that may bear some fruit (or not, depending on the root cause). I have read the whole of this topic through and hope I have understood the issue correctly. Egg on face is not my preferred dress code :blush:

One thing I have learnt the hard way, whilst coding with CSS/Javascript and PHP, is that in situations where there is not a strictly moderated structure for css z-index use and where there are many code contributors each with individual coding style, addons like lightboxes tend not to display on a rendered web page because of conflicting CSS manipulations involving z-index [css layers]. There will be no error logs for these in the PHP or Javascript consoles and you will tear out your hair before discovering that the lightbox is exclipsed by another module because of 1 of 2 situations:

  1. The conflicting module operates on a higher CSS z-index than the lightbox and therefore hides it unintentionally;

  2. The two modules have the same z-index which causes the interesting effect that, depending on which module renders its screen output first, leads to one or the other being eclipsed;

As far as errors go, these are presentational and not programmatic so will not lend themselves to tracing by logs if CSS layer conflicts are the root cause.

The result is the same in either case - so try to dig about in the javascript and CSS to see where the z-index manipulations are taking place and check that the lightbox has a higher z-index than the rest of the site. My own thought is that the CSS Mega Menu merged into Picaflor Azul's templates may be the contributory module as its z-index may be too high and cause the menu layer [which CSS regards as the whole display port] to be in front of the lightbox. Another potential culprit is the Social Networking Sidebar which makes use of CSS layers [z-index, interchangeable]. There are so many possible modules that could cause the problem.

A good technique to trace this type of error is to locate the z-index code for every module using CSS layers and make a list of the module name, pages affected by the module and the z-index of the layers in the module. Once you have done this you will be able to sort the list [use excel] by page and then by z-index and see if the lightbox is eclipsed by any other module with a higher z-index. You will then see what modules to adjust so that the lightbox comes out on top.

I hope these musings can help to locate the cause of the error, if not in your case, it will probably apply to other, similar, scenarios.

BTW: I apologise if there are any typos in this post, but my wireless keyboard batteries are dying and making it hard to type.

29 Nov 2013, 03:41
#3534
alexthibo avatar

alexthibo

New Zenner

Join Date:
Jul 2012
Posts:
99
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

Thanks for sharing your experience silver-net-surfer. :smile: I understand what you mean but I'm not sure I understand how and where to locate the z-index for each module. I have the Firebug plugin installed on my firefox browser. Could it help?

But in the case the Zen Lightbox module is under an other one, will it only prevent it to work properly, and not show the popup image? Because currently, no image at all is showed in the product description. See: http://www.offroadrescuenetwork.com/salesorn/index.php?main_page=product_info&cPath=66&products_id=181 This product has 3 working images

Also, even if I uninstall the Zen Lightbox plugin with running the uninstall SQL lines, the image are still not showing. That another reason why I think the issue is on the template. Probably juste a line that I modified that I don't remember... :(

29 Nov 2013, 05:48
#3535
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: Zen Lightbox addon [Support Thread]

delete

29 Nov 2013, 05:56
#3536
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: Zen Lightbox addon [Support Thread]

silver-net-surfer makes some valid points and my thought would be the mega menu is the first culprit I would look at as I have had issues with the mega menu and the lightbox (a different issue and adjusting the z-index was indeed the solution)

However you state yourself that the images were not working BEFORE you installed the lightbox, so there is another issue at play, and you need to resolve it before asking for help with this module.. It is UNLIKELY the issue of missing images will be resolved by troubleshooting THIS MODULE since the images were missing BEFORE you installed Zen Lightbox.. It would be a tremendous waste of energy to try and troubleshoot issues fundamentally not related to this module as if this module is the cause (by your own admission.. they were not)

AlexThibo:

Thanks for sharing your experience silver-net-surfer. :smile: I understand what you mean but I'm not sure I understand how and where to locate the z-index for each module. I have the Firebug plugin installed on my firefox browser. Could it help?

But in the case the Zen Lightbox module is under an other one, will it only prevent it to work properly, and not show the popup image? Because currently, no image at all is showed in the product description. See: http://www.offroadrescuenetwork.com/salesorn/index.php?main_page=product_info&cPath=66&products_id=181 This product has 3 working images

**Also, even if I uninstall the Zen Lightbox plugin with running the uninstall SQL lines, the image are still not showing. That another reason why I think the issue is on the template. Probably juste a line that I modified that I don't remember... **:(

29 Nov 2013, 13:15
#3537
pewe avatar

pewe

Zen Follower

Join Date:
Aug 2006
Posts:
134
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

Alexthibo.

Is the problem on a LIVE site?
If it is, rather than spending time chasing for a solution I would personally take a different approach.

NOTE: You may already have set up a test site and a live site separately, but if not read on.

When I had a problem that I could not figure (not with ZenCart - but same principal), this is what I did.

  • Install a second 'testing' copy of the package.
  • Configure exactly the same as the live copy - but without any plugins.
  • Add a couple of products and test it all works.
  • Add first plugin - test
  • Add second plugin - test again
  • etc until the problem plugin is found or all plugins added successfully.

This should not take long because adding plugin files is simply an upload, and there is no need to edit all the individual files needed for each plugin - just copy them from your live site.
When a problem appears on the site or it breaks you know that the last installed plugin is the culprit and you can check that to ensure it was installed properly.

I did this on a site that had a package with 12 plugins, and the problem showed up on the third one, but even installing them all would have not taken more than an hour.

Of course this all assumes you have access to add a second copy on the server.
NOTE: Use the same database with a different table prefix.

Now I always do 2 installations of a package from day one - it may take a little longer to set up, but it can save a lot of time and trouble if things go wrong.

29 Nov 2013, 15:14
#3538
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: Zen Lightbox addon [Support Thread]

pewe:

  • Install a second 'testing' copy of the package.
  • Configure exactly the same as the live copy - but without any plugins.
    -** Add a couple of products and test it all works.**
  • Add first plugin - test
  • Add second plugin - test again
  • etc until the problem plugin is found or all plugins added successfully.
    OR..

simply configure the test site with the Zen Cart test data at the time of the install

Regardless I think it's pretty clear that Alex's issue is NOT this module... He has another fundamental issue going on with his images, and that needs to be resolved before coming to the Zen Lightbox support thread seeking help for an issue that is NOT related to Zen Lightbox.. The issue is not this module at all..

29 Nov 2013, 15:42
#3539
niestudio avatar

niestudio

Zen Follower

Join Date:
Nov 2009
Posts:
285
Plugin Contributions:
2

Re: Zen Lightbox addon [Support Thread]

@AlexThibo
I think I found your problem.
Looking at your source code, the img tag is never getting created by the document.write function.
Upon inspection, it's the translation of "larger image" that is breaking the page.
Look in [includes/languages] if there is a french.php file there, or you may have to go into /french and find another file there.
You are looking for:

 define('TEXT_CLICK_TO_ENLARGE', "Agrandir l'image");

then change it to:

 define('TEXT_CLICK_TO_ENLARGE', "Agrandir l[B]\[/B]'image");

this backslash will escape the apostrophe in l'image and should let the function complete without error.

daniel

30 Nov 2013, 04:34
#3540
alexthibo avatar

alexthibo

New Zenner

Join Date:
Jul 2012
Posts:
99
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

niestudio:

@AlexThibo
I think I found your problem.
Looking at your source code, the img tag is never getting created by the document.write function.
Upon inspection, it's the translation of "larger image" that is breaking the page.
Look in [includes/languages] if there is a french.php file there, or you may have to go into /french and find another file there.
You are looking for:

define('TEXT_CLICK_TO_ENLARGE', "Agrandir l'image");

> then change it to:
> ```
 define('TEXT_CLICK_TO_ENLARGE', "Agrandir l[B]\[/B]'image");

this backslash will escape the apostrophe in l'image and should let the function complete without error.

daniel

Woohoo! Right on Sir!! That was the problem, it's now working!!Thanks a lot!

It amaze me how you guys can give people so much time and help! I would never find it alone! Thank you a billion times!! And thanks everyone for your time to help, you are all wonderful!! :hug: