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

Zen Lightbox addon [Support Thread]

Views: 952,889

Results 1,861 to 1,880 of 3,722
29 Mar 2010, 6:53 PM
#1861
stuff4toys avatar

stuff4toys

Totally Zenned

Join Date:
May 2007
Location:
SW Florida
Posts:
1,062
Plugin Contributions:
1

Zen Lightbox addon [Support Thread]

DarkAngel:

Make sure your prefix is added correctly, add your prefis to the tables where the red zen is shown.

Check to see if it shows in the admin/configuration and if it does then run the uninstaller first before trying to install again.

Aslo if it does not work from admin section (mine did not) then go directly to the database and copy/paste the sql installer there:

INSERT INTO zen_configuration_group VALUES (NULL, 'Zen Lightbox', 'Configure Zen Lightbox settings', '0', '1');
UPDATE zen_configuration_group SET sort_order = LAST_INSERT_ID() WHERE configuration_group_id = LAST_INSERT_ID();

SELECT @cgi := configuration_group_id FROM zen_configuration_group WHERE configuration_group_title = 'Zen Lightbox';

INSERT INTO zen_configuration (configuration_id, configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES

HI 'DarkAngel
I have done this a dozen times and have never experienced this much trouble. I checked my db with phpmyadmin and I did truely use the zen_ prefix. I edited the install.sql file as above and I cut n pasted in SQL patch and it tells me at the tables zen_ do not exist.

ERROR: Cannot execute because table zen_configuration_group does not exist. CHECK PREFIXES!
ERROR: Cannot execute because table zen_configuration_group does not exist. CHECK PREFIXES!
ERROR: Cannot execute because table zen_configuration_group does not exist. CHECK PREFIXES!
ERROR: Cannot execute because table zen_configuration does not exist. CHECK PREFIXES!

From phpMyadmin I selected the db, went to querry and pasted the contents into the query box and I get:

#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'UPDATE zen_configuration_group SET sort_order = LAST_INSERT_ID() WHERE `conf' at line 12
Not a clue as to why this is not working......
JOhn ><>

29 Mar 2010, 6:58 PM
#1862
stuff4toys avatar

stuff4toys

Totally Zenned

Join Date:
May 2007
Location:
SW Florida
Posts:
1,062
Plugin Contributions:
1

Re: Zen Lightbox addon [Support Thread]

Here's my code, what did I miss?

INSERT INTO zen_configuration_group VALUES (NULL, 'Zen Lightbox', 'Configure Zen Lightbox settings', '0', '1');
UPDATE zen_configuration_group SET sort_order = LAST_INSERT_ID() WHERE configuration_group_id = LAST_INSERT_ID();
SELECT @cgi := configuration_group_id FROM zen_configuration_group WHERE configuration_group_title = 'Zen Lightbox';
INSERT INTO zen_configuration (configuration_id,
What did I miss?

29 Mar 2010, 7:16 PM
#1863
mzimmers avatar

mzimmers

Zen Follower

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

Re: Zen Lightbox addon [Support Thread]

I just noticed an odd behavior with lightbox. In configuration->images, I changed "IH large image maximum width" from 600 to 640. Now, when I click on an image that's larger than 600, lightbox either either displays the image at 600 pixels wide, or just hangs without displaying the image at all.

I've cleared both the cache in IH2 and in my browser, and repeated this test.

Is it possible that during installation, lightbox examines the maximum image width setting, and stores it, instead of re-reading it whenever it needs to? Any other ideas what might be going on here?

Thanks.

29 Mar 2010, 7:30 PM
#1864
stuff4toys avatar

stuff4toys

Totally Zenned

Join Date:
May 2007
Location:
SW Florida
Posts:
1,062
Plugin Contributions:
1

Re: Zen Lightbox addon [Support Thread]

mzimmers:

I just noticed an odd behavior with lightbox. In configuration->images, I changed "IH large image maximum width" from 600 to 640. Now, when I click on an image that's larger than 600, lightbox either either displays the image at 600 pixels wide, or just hangs without displaying the image at all.

I've cleared both the cache in IH2 and in my browser, and repeated this test.

Is it possible that during installation, lightbox examines the maximum image width setting, and stores it, instead of re-reading it whenever it needs to? Any other ideas what might be going on here?

Thanks.
Send a lnk to your site so we can see the issue.

29 Mar 2010, 7:39 PM
#1865
mzimmers avatar

mzimmers

Zen Follower

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

Re: Zen Lightbox addon [Support Thread]

Oops.

https://www.cinderellaantiques.com.

I also notice that when I've cleared the cache, medium images don't appear upon hovering in the sidebar. When one is selected, though, the others regenerate. Guess I should mention that in the IH forum; don't know whether it's related to this problem.

Anyway, thanks for looking. The large picture that's not working is the one of the Hummer.

29 Mar 2010, 7:43 PM
#1866
stuff4toys avatar

stuff4toys

Totally Zenned

Join Date:
May 2007
Location:
SW Florida
Posts:
1,062
Plugin Contributions:
1

Re: Zen Lightbox addon [Support Thread]

mzimmers:

Oops.

www.cinderellaantiques.com.

I also notice that when I've cleared the cache, medium images don't appear upon hovering in the sidebar. When one is selected, though, the others regenerate. Guess I should mention that in the IH forum; don't know whether it's related to this problem.

Anyway, thanks for looking. The large picture that's not working is the one of the Hummer.
The Hummer image is the only one that hangs up. Is this image actually 640 or larger? I found that the program has an issue with images larger than 800

JOhn ><>

29 Mar 2010, 7:46 PM
#1867
stuff4toys avatar

stuff4toys

Totally Zenned

Join Date:
May 2007
Location:
SW Florida
Posts:
1,062
Plugin Contributions:
1

Re: Zen Lightbox addon [Support Thread]

Stuff4Toys:

The Hummer image is the only one that hangs up. Is this image actually 640 or larger? I found that the program has an issue with images larger than 800

JOhn ><>
Did notice that https://www.cinderellaantiques.com/shop/images/uploads/hummer.jpg does not exist.
JOhn ><>

29 Mar 2010, 7:46 PM
#1868
mzimmers avatar

mzimmers

Zen Follower

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

Re: Zen Lightbox addon [Support Thread]

The Hummer image is 640x480. (The others are smaller than 600 wide.)

I'm going to have a real problem with this if I can't use pictures that are 640x480.

29 Mar 2010, 7:53 PM
#1869
mzimmers avatar

mzimmers

Zen Follower

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

Re: Zen Lightbox addon [Support Thread]

Stuff4Toys:

Did notice that https://www.cinderellaantiques.com/shop/images/uploads/hummer.jpg does not exist.
JOhn ><>
It's there. Don't know why you can't browse it directly; maybe something to do with the https prefix.

You get a similar 403 error if you try to look at the other pictures, but they're there too (and visible in lightbox).
Edited: there's an .htaccess file in that directory. It's probably part of one of the latest security patches.

I just wonder if this is some undocumented limitation in lightbox...it's really going to jam me up if I can't go into production with 640x480 images, though.

29 Mar 2010, 8:02 PM
#1870
stuff4toys avatar

stuff4toys

Totally Zenned

Join Date:
May 2007
Location:
SW Florida
Posts:
1,062
Plugin Contributions:
1

Re: Zen Lightbox addon [Support Thread]

mzimmers:

It's there. Don't know why you can't browse it directly; maybe something to do with the https prefix.

You get a similar 403 error if you try to look at the other pictures, but they're there too (and visible in lightbox).
Edited: there's an .htaccess file in that directory. It's probably part of one of the latest security patches.

I just wonder if this is some undocumented limitation in lightbox...it's really going to jam me up if I can't go into production with 640x480 images, though.
Try re-naming the .htacess file for a moment and see wht happens. Also check the file and folder permissions.

Question: Is there a reason why your whole site runs under https?
JOhn ><>

29 Mar 2010, 8:15 PM
#1871
mzimmers avatar

mzimmers

Zen Follower

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

Re: Zen Lightbox addon [Support Thread]

Stuff4Toys:

Try re-naming the .htacess file for a moment and see wht happens. Also check the file and folder permissions.
Eureka! It appears to have been that .htaccess file. I guess that's going away. I don't even remember where it came from, but as I said above, I think it was part of a security patch. Guess I'll have to find someone who can modify it to work with lightbox.

Question: Is there a reason why your whole site runs under https?
JOhn ><>
I think something wasn't working right unless the entire site was under https, but I honestly can't remember. Is there any disadvantage to doing so?

30 Mar 2010, 12:02 AM
#1872
darkangel avatar

darkangel

Totally Zenned

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

Re: Zen Lightbox addon [Support Thread]

about lightbox and some purchased templates

I found that some of the templates with their own jscripting sometimes run into a problem and the lightbox will not behave due to the coding.

if you compare files with the lightbox and the template maybe there is a like file that can be merged instead of just uploaded

30 Mar 2010, 5:13 AM
#1873
kes99 avatar

kes99

New Zenner

Join Date:
May 2009
Posts:
42
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

I found the problem but not yet the answer.....it is lightbox code and template code conflicting....

template has some jquery javascripting to a) produce scrolling banners and b) a dynamic shopping cart

By disabling all the jquery code I can now get lightboxes....

See a static page I made at http://www.flowers-by-design.info/product_page_lightbox.htm versus the normal database driven one at http://www.flowers-by-design.info/index.php?main_page=product_info&products_id=2

Static page (no Jquery code so no dynamic cart) works with lightbox...dynamic page (has jquery and dynamic cart) doesn't work with lightbox.....

We're going back to the template makers for a fix.....

30 Mar 2010, 5:38 AM
#1874
kes99 avatar

kes99

New Zenner

Join Date:
May 2009
Posts:
42
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

Just found out that jquery make a lightbox code for Zen....I'm going to uninstal the present one and give that a go......

30 Mar 2010, 5:44 AM
#1875
darkangel avatar

darkangel

Totally Zenned

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

Re: Zen Lightbox addon [Support Thread]

KES99:

Just found out that jquery make a lightbox code for Zen....I'm going to uninstal the present one and give that a go......

yes exactly..that is why i ask you to compare the files. i found that out too yet sometimes even those with the auto banner do work with zen lightbox...

remember to use the uninstall sql script then remove all the files from the server before you upload the jquery one.

31 Mar 2010, 6:43 PM
#1876
gth73bg avatar

gth73bg

New Zenner

Join Date:
Oct 2009
Posts:
19
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

Hi, I have problem with the previous next buttons.
They only appear when you hover your mouse over them.
I would like to see buttons permanently,I guess it is not something complicated,but my knowledge is not enough to do it. :frusty:
Thank you in advance for your help!
Zen cart - v1.3.8a
Zen lightbox - v1.5

1 Apr 2010, 1:08 AM
#1877
sweetjaime avatar

sweetjaime

New Zenner

Join Date:
Feb 2006
Posts:
37
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

Hopefully someone cane help me - I installed lightbox, changed the names of the template folders like in the instructions, installed the SQL, configured it all in admin - but it doesn't work! When I click on one of my images it just enlarges the picture - it doesn't even popup!
here is the site in question http://www.shop.bella-bijou.com
thanks in advance

1 Apr 2010, 6:58 AM
#1878
darkangel avatar

darkangel

Totally Zenned

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

Re: Zen Lightbox addon [Support Thread]

sweetjaime:

Hopefully someone cane help me - I installed lightbox, changed the names of the template folders like in the instructions, installed the SQL, configured it all in admin - but it doesn't work! When I click on one of my images it just enlarges the picture - it doesn't even popup!
here is the site in question http://www.shop.bella-bijou.com
thanks in advance

make double sure you uploaded all the files...open both the zips folder and the server files and double check that each folder in the zip had its contents tossed into the exact same folder on the server

1 Apr 2010, 8:07 AM
#1879
kes99 avatar

kes99

New Zenner

Join Date:
May 2009
Posts:
42
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

DarkAngel:

make double sure you uploaded all the files...open both the zips folder and the server files and double check that each folder in the zip had its contents tossed into the exact same folder on the server

Please excuse me for saying this and it it no way should be taken as a bad or nasty comment but:

It seems that every time somebody has a non standard template the lightbox just refuses to work. Not the fault of the lightbox but the template....perhaps you should write a caveat in the lightbox install somewhere about this, warning people who have non-standard templates (and who doesn't) that it may well take a lot to get it to work and that it is generally a fault of the templates....i.e. buyer beware ... even if it's free......

I personally spent two agonizing days and nights over the lightbox until I could prove that it was the template with jquery javascripting that was conflicting with the lightbox.....I'm now back to the template people to find a solution.....as they had modified jquery code so much that even the jquery lightbox didn't work.....

Of course there are those who just don't follow the install instructions...for them there is no hope...especially if english is not their first language.....

1 Apr 2010, 8:16 AM
#1880
darkangel avatar

darkangel

Totally Zenned

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

Re: Zen Lightbox addon [Support Thread]

KES99:

Please excuse me for saying this and it it no way should be taken as a bad or nasty comment but:

It seems that every time somebody has a non standard template the lightbox just refuses to work. Not the fault of the lightbox but the template....perhaps you should write a caveat in the lightbox install somewhere about this, warning people who have non-standard templates (and who doesn't) that it may well take a lot to get it to work and that it is generally a fault of the templates....i.e. buyer beware ... even if it's free......

I personally spent two agonizing days and nights over the lightbox until I could prove that it was the template with jquery javascripting that was conflicting with the lightbox.....I'm now back to the template people to find a solution.....as they had modified jquery code so much that even the jquery lightbox didn't work.....

Of course there are those who just don't follow the install instructions...for them there is no hope...especially if english is not their first language.....

I totally agree. With some of the paid templates that have altered the jquery code...they charge you to fix it which is silly but that is life.

the jquery lightbox that I found at one of the template suppliers for one of my clients is the only "fix" I found since they wanted $150.00 dollars to fix it on their end...when if they had not mucked with the code to begin with , would not have broken it.

If I were the creator (which have not seen him about in a long time) I would look into it too. Bear in mind too that some addons use the same files as the store and other addons so it is always best to open the addon zip and compare file names with both the store software and other addons you have installed and to merge documents when possible....I usually set a ~ the the end of the file name of one that is getting overwritten, just in case for it is easier to delete the offending file and remve the tilde to get things back than to do other measures.