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

Zen Lightbox addon [Support Thread]

Views: 952,886

Results 1,621 to 1,640 of 3,722
16 Dec 2009, 1:47 AM
#1621
darkangel avatar

darkangel

Totally Zenned

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

Zen Lightbox addon [Support Thread]

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

**> abs007:

Hi
I have added the module but I get an error when I try and install the install.sql patch.

I copied the text and entered it into install sql patches - this is the error i am getting

1146 Table 'abs007_zc4.configuration_group' doesn't exist
in:
[SELECT @cgi := configuration_group_id FROM configuration_group WHERE configuration_group_title = 'Zen Lightbox';]
If you were entering information, press the BACK button in your browser and re-check the information you had entered to be sure you left no blank fields.

any help will be appreciated

thanks

16 Dec 2009, 1:51 AM
#1622
darkangel avatar

darkangel

Totally Zenned

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

Re: Zen Lightbox addon [Support Thread]

Houtanzhang:

Hi DarkAngel

As I read through the thread and tried few times. I still have problems in install the light box.

  1. zencart 1.3.8a
  2. lightbox 1.5

I installled light box few times, all the way works fine.

I am confused, which is not a hard thing to do...lol

If it was working and it is the current version, why install it again?

In order for the lightbox to work right you need to copy/paste the installer information (sql) into either the admin section of the store or the actual database.

removing thins will essentially"confuse" the installer and it will not install correctly.

So please unconfuse me.:cry:

16 Dec 2009, 2:30 AM
#1623
houtanzhang avatar

houtanzhang

New Zenner

Join Date:
Dec 2009
Posts:
3
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

Cause, i set up two zencart account....

the First one works fine.

The second one got problems!

For the second one:

I install got the administration issue, no lightbox configuration menu.

and also got the database does not exist issue...

Then tried to uninstall and install a few time by following the steps in the thread.... in the end.... still can not make it.

16 Dec 2009, 2:48 AM
#1624
houtanzhang avatar

houtanzhang

New Zenner

Join Date:
Dec 2009
Posts:
3
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

DarkAngel

Really thanks a lot for your help!

It works now. 2 things noticed:

  1. Install and uninstall few times will get some strange problem

  2. need to install through my phpadmin

  3. need to take note the file format. Otherwise will get syntax error.

Thanks a lot for your help. Can move to next step now!!:clap:

happy! Haha, learn a lot of things for last week! HTML + CSS + PHP + SQL --> zen cart!

16 Dec 2009, 8:25 AM
#1625
darkangel avatar

darkangel

Totally Zenned

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

Re: Zen Lightbox addon [Support Thread]

glad you got it straightened out and got me not confused too...yay:clap:

Happy Holidays

17 Dec 2009, 4:00 AM
#1626
robert_nz avatar

robert_nz

New Zenner

Join Date:
Dec 2009
Posts:
6
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

Hi

Posted to tvzen_jellyfish but no replies yet. I have this theme on one web site but when I install Zen Lightbox and when I do I stop geting product pages.

I guess they are over writing something they shouldn't. Does anyone have any suggestions?

Thanks
Rob

17 Dec 2009, 7:49 AM
#1627
dimascus avatar

dimascus

New Zenner

Join Date:
Jan 2009
Posts:
24
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

Hey DarkAngel,

First, thanks for making this! :D

Ok, now...

I get this when I try to install:

4 statements processed.
Error ERROR: Cannot execute because table zen_configuration_group does not exist. CHECK PREFIXES!
Error ERROR: Cannot execute because table zen_configuration_group does not exist. CHECK PREFIXES!
Error ERROR: Cannot execute because table zen_configuration_group does not exist. CHECK PREFIXES!
Error ERROR: Cannot execute because table zen_configuration_group does not exist. CHECK PREFIXES!
Warning Note: 3 statements ignored. See "upgrade_exceptions" table for additional details.

Query Results:
/** * Zen Lightbox * * @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: install.sql 2008-12-17 aclarke $ */ 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 (NULL, 'Zen Lightbox', 'ZEN_LIGHTBOX_STATUS', 'true', '
If true, all product images on the following pages will be displayed within a lightbox:

  • document_general_info
  • document_product_info
  • page (EZ-Pages)
  • product_free_shipping_info
  • product_info
  • product_music_info
  • product_reviews
  • product_reviews_info
  • product_reviews_write

Default: true', @cgi, 100, NOW(), NOW(), NULL, 'zen_cfg_select_option(array(''true'', ''false''), '), (NULL, 'Overlay Opacity', 'ZEN_LIGHTBOX_OVERLAY_OPACITY', '0.8', '
Controls the transparency of the overlay.

Default: 0.8', @cgi, 101, NOW(), NOW(), NULL, 'zen_cfg_select_option(array(''0'', ''0.1'', ''0.2'', ''0.3'', ''0.4'', ''0.5'', ''0.6'', ''0.7'', ''0.8'', ''0.9'', ''1''), '), (NULL, 'Overlay Fade Duration', 'ZEN_LIGHTBOX_OVERLAY_FADE_DURATION', '400', '
Controls the fade duration of the overlay.

Note: This value is measured in milliseconds.

Default: 400
', @cgi, 102, NOW(), NOW(), NULL, NULL), (NULL, 'Resize Duration', 'ZEN_LIGHTBOX_RESIZE_DURATION', '400', '
Controls the speed of the image resizing.

Note: This value is measured in milliseconds.

Default: 400
', @cgi, 103, NOW(), NOW(), NULL, NULL), (NULL, 'Resize Transition', 'ZEN_LIGHTBOX_RESIZE_TRANSITION', 'false', '
Allows for custom control over the transition effect used to animate the lightbox.

Default: false
', @cgi, 104, NOW(), NOW(), NULL, NULL), (NULL, 'Initial Width', 'ZEN_LIGHTBOX_INITIAL_WIDTH', '250', '
If Enable Resize Animations is set to true, the lightbox will resize its width from this value to the current image width, when first displayed.

Note: This value is measured in pixels.

Default: 250
', @cgi, 105, NOW(), NOW(), NULL, NULL), (NULL, 'Initial Height', 'ZEN_LIGHTBOX_INITIAL_HEIGHT', '250', '
If Enable Resize Animations is set to true, the lightbox will resize its height from this value to the current image height, when first displayed.

Note: This value is measured in pixels.

Default: 250
', @cgi, 106, NOW(), NOW(), NULL, NULL), (NULL, 'Image Fade Duration', 'ZEN_LIGHTBOX_IMAGE_FADE_DURATION', '400', '
Controls the fade duration of images.

Note: This value is measured in milliseconds.

Default: 400
', @cgi, 107, NOW(), NOW(), NULL, NULL), (NULL, 'Caption Animation Duration', 'ZEN_LIGHTBOX_CAPTION_ANIMATION_DURATION', '400', '
Controls the animation duration of the caption.

Note: This value is measured in milliseconds.

Default: 400
', @cgi, 108, NOW(), NOW(), NULL, NULL), (NULL, 'Display Image Counter', 'ZEN_LIGHTBOX_COUNTER', 'true', '
If true, the image counter will be displayed (below the caption of each image) within the lightbox.

Default: true', @cgi, 109, NOW(), NOW(), NULL, 'zen_cfg_select_option(array(''true'', ''false''),'), (NULL, 'Close on Image Click', 'ZEN_LIGHTBOX_CLOSE_IMAGE', 'false', '
If true, the lightbox will close when the image being displaying is clicked.

Default: false', @cgi, 110, NOW(), NOW(), NULL, 'zen_cfg_select_option(array(''true'', ''false''), '), (NULL, 'Close on Overlay Click', 'ZEN_LIGHTBOX_CLOSE_OVERLAY', 'false', '
If true, the lightbox will close when the overlay is clicked.

Default: false', @cgi, 111, NOW(), NOW(), NULL, 'zen_cfg_select_option(array(''true'', ''false''), '), (NULL, 'Keyboard Navigation', 'ZEN_LIGHTBOX_KEYBOARD_NAVIGATION', 'true', '
If true, keyboard inputs will also be used to control the lightbox.

Default: true', @cgi, 200, NOW(), NOW(), NULL, 'zen_cfg_select_option(array(''true'', ''false''), '), (NULL, 'Close Lightbox', 'ZEN_LIGHTBOX_ESCAPE_KEYS', '27,88,67', '
The lightbox will close when any of these keys are pressed.

Note: Only ASCII decimal values should be entered and separated with a comma (if listing multiple values).

Default: 27,88,67
', @cgi, 201, NOW(), NOW(), NULL, NULL), (NULL, 'Previous Image', 'ZEN_LIGHTBOX_PREVIOUS_KEYS', '37,80', '
The lightbox will display the previous image (if available) when any of these keys are pressed.

Note: Only ASCII decimal values should be entered and separated with a comma (if listing multiple values).

Default: 37,80
', @cgi, 202, NOW(), NOW(), NULL, NULL), (NULL, 'Next Image', 'ZEN_LIGHTBOX_NEXT_KEYS', '39,78', '
The lightbox will display the next image (if available) when any of these keys are pressed.

Note: Only ASCII decimal values should be entered and separated with a comma (if listing multiple values).

Default: 39,78
', @cgi, 203, NOW(), NOW(), NULL, NULL), (NULL, 'Gallery Mode', 'ZEN_LIGHTBOX_GALLERY_MODE', 'true', '
If true, the lightbox will allow additional images to quickly be displayed using previous and next buttons.

Default: true', @cgi, 300, NOW(), NOW(), NULL, 'zen_cfg_select_option(array(''true'', ''false''),'), (NULL, 'Include Main Image in Gallery', 'ZEN_LIGHTBOX_GALLERY_MAIN_IMAGE', 'true', '
If true, the main product image will be included in the lightbox gallery.

Default: true', @cgi, 301, NOW(), NOW(), NULL, 'zen_cfg_select_option(array(''true'', ''false''),'), (NULL, 'EZ-Pages Support', 'ZEN_LIGHTBOX_EZPAGES', 'true', '
If true, the lightbox effect will be used for linked images on all EZ-Pages.

Default: true', @cgi, 400, NOW(), NOW(), NULL, 'zen_cfg_select_option(array(''true'', ''false''),'), (NULL, 'File Types', 'ZEN_LIGHTBOX_FILE_TYPES', 'jpg,png,gif', '
On EZ-Pages, the lightbox effect will be applied to all images with one of the following file types.

Default: jpg,png,gif
', @cgi, 401, NOW(), NOW(), NULL, NULL);

I have already tried what you suggested as well: (below)

Anything else that might be wrong? My database is stable and running smooth. Everything that is suppose to be there is there...

Zen Cart = 1.3.8a
Lightbox= 1.5

Thanks.

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

**

17 Dec 2009, 8:06 AM
#1628
darkangel avatar

darkangel

Totally Zenned

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

Re: Zen Lightbox addon [Support Thread]

@dimascus:

go to your database and take a screenshot of your tables...nothing else is needed just the actual tables. post it here and then we can take it from there.

@Robert_nz:

this doesn't touch your pages it just adds a few files.

did you install it or someone else
is it showing in admin/configuration
any error messages when installed
what themplate is used in store

link to store would be helpful for the ones with even more experience

PS: guys, I did not create this little mod, I love it and even though I do not have the additional images like all others do I just give advice for the same things I have gone thru with the installation and making it behave. I wish I had created it....but tips to my paypal are still accepted...lol <---just kidding

Happy Holidays <---that part is serious.

17 Dec 2009, 8:35 AM
#1629
dimascus avatar

dimascus

New Zenner

Join Date:
Jan 2009
Posts:
24
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

Thanks for your help and time DarkAngel and sorry, I read it wrong. I meant to say thanks to the original creator... :\

DarkAngel:

@dimascus:

go to your database and take a screenshot of your tables...nothing else is needed just the actual tables. post it here and then we can take it from there.

PS: guys, I did not create this little mod, I love it and even though I do not have the additional images like all others do I just give advice for the same things I have gone thru with the installation and making it behave. I wish I had created it....but tips to my paypal are still accepted...lol <---just kidding

Happy Holidays <---that part is serious.

17 Dec 2009, 10:22 AM
#1630
darkangel avatar

darkangel

Totally Zenned

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

Re: Zen Lightbox addon [Support Thread]

well the prefix is right so next question...

are you attempting to install from the store admin section or the database

17 Dec 2009, 11:52 AM
#1631
abs007 avatar

abs007

Zen Follower

Join Date:
Mar 2009
Location:
Peterborough UK
Posts:
330
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

Hi Darkangel
Thanks for the reply - Im still a little confused as to what I need to change. I understand that I need to change the red areas which you highlighted however what should I be changing them to.

Im sorry if this is a kind of dumb question but am kind of lost

thanks

17 Dec 2009, 1:15 PM
#1632
anshii avatar

anshii

New Zenner

Join Date:
Dec 2009
Posts:
35
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

I too have problems installing the install SQL patch on via both Admin and Database.

Error message from admin: 1146 Table 'anshii80_IC_20091104_062332.configuration_group' doesn't exist
in:
[SELECT @cgi := configuration_group_id FROM configuration_group WHERE configuration_group_title = 'Zen Lightbox';]
If you were entering information, press the BACK button in your browser and re-check the information you had entered to be sure you left no blank fields.

I have also tried using the patch given below directly into the DB, this was what I got:
#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 '' at line 1

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

**

17 Dec 2009, 4:09 PM
#1633
abs007 avatar

abs007

Zen Follower

Join Date:
Mar 2009
Location:
Peterborough UK
Posts:
330
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

ummm
It looks like a common problem - Maybe the developer can be kind enough to paste a working sql patch which will help many of us on here

thanks

17 Dec 2009, 6:28 PM
#1634
dimascus avatar

dimascus

New Zenner

Join Date:
Jan 2009
Posts:
24
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

Right from the admin. I havent wanted to try the database yet as many people still have the same problem. How would even put it in the DB myself?

:(

Thanks again.

DarkAngel:

well the prefix is right so next question...

are you attempting to install from the store admin section or the database

17 Dec 2009, 10:52 PM
#1635
dimascus avatar

dimascus

New Zenner

Join Date:
Jan 2009
Posts:
24
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

Got it working finally... 1 thing was missing for some reason in my sql code. It works now... what a headache... lol

Thanks for all your time DarkAngel.

17 Dec 2009, 11:00 PM
#1636
robert_nz avatar

robert_nz

New Zenner

Join Date:
Dec 2009
Posts:
6
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

DarkAngel:

@dimascus:

@Robert_nz:

this doesn't touch your pages it just adds a few files.

did you install it or someone else
is it showing in admin/configuration
any error messages when installed
what themplate is used in store

link to store would be helpful for the ones with even more experience

Hi DarkAngel
Yes I installed it. It showed in the admin fine and I don't recall any error messages. The template is tvzen_jellyfish which I have modded a little. It is currently uninstalled but I will reinstall it and so you can see what happens. I will post a link when it is up :)

Thanks

18 Dec 2009, 12:06 AM
#1637
darkangel avatar

darkangel

Totally Zenned

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

Re: Zen Lightbox addon [Support Thread]

@abs007:

there is no such thing as a dumb question except the one you keep to yourself. If we all knew exactly what to do then we would not be here helping each other...lol

  1. you need to look at your database (see the one that is pictured in the above post) to see what your prefix (the part in red of my post) to your tables is.

  2. that is what you replace my red words with.

Then after you fix your install file you upload it either through the database or through store admin section.

@Dimascus:

yay you got it done!!!

@abs007:

the only problem is that not everyone has the same prefix to their database tables. Which seems to be the main part of the problems found here. plus like me, I could not get it to install from the store admin section, I had to install it via the database

18 Dec 2009, 12:57 AM
#1638
robert_nz avatar

robert_nz

New Zenner

Join Date:
Dec 2009
Posts:
6
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

Hi DarkAngel

I have re installed (no errors). The settings are available from the zen admin. When turned on I get blank screens when viewing products, when turned off it all works fine.

http://v p s 3 2 0.win.vps.isx.net.nz/Oasis/

Test web server not always available.

TIA

Rob

18 Dec 2009, 1:28 AM
#1639
darkangel avatar

darkangel

Totally Zenned

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

Re: Zen Lightbox addon [Support Thread]

even removing the spaces I get nothing but a login page to the host...lol

I would suggest you go to the server--check all the folders to ensure you uploaded everything right. do this by opening the zip on your destop and checking visually especially the ones that you need to rename with your templates name.

is it on the default template or a different one.

then if all is well then go to the addons page here --click the main nav bar link...search for debugging tool and grab it...

open the zip, upload it to the includes/extra_configures folder set the cache folder permissions to either 775 or 777 then try one of the pages that is blank.

once you do that go to the cache folder and see what it plops in there...plop the error message in here for all to see and get an idea? then remove the debugging tool file.

did you change the installation sql in any way, except for the usual prefix change? same for the actual files you uploaded, did they get changed in any way?

Robert_nz:

Hi DarkAngel

I have re installed (no errors). The settings are available from the zen admin. When turned on I get blank screens when viewing products, when turned off it all works fine.

http://v p s 3 2 0.win.vps.isx.net.nz/Oasis/

Test web server not always available.

TIA

Rob

18 Dec 2009, 1:48 AM
#1640
robert_nz avatar

robert_nz

New Zenner

Join Date:
Dec 2009
Posts:
6
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

Hi Try the path again it definitely should bring up a web homepage. I have just tested it again (removing spaces) and it works fine for me and others around the country.

It is not the default theme and I have installed with another theme and it worked great. It is definitely some sort of conflict between the theme and light box.

I will get the tool you recommended and see what I can see. When I look at the source in the browser it is only partly there with light box turned on, so i guess something is crashing PHP.

Cheers

DarkAngel:

even removing the spaces I get nothing but a login page to the host...lol

I would suggest you go to the server--check all the folders to ensure you uploaded everything right. do this by opening the zip on your destop and checking visually especially the ones that you need to rename with your templates name.

is it on the default template or a different one.

then if all is well then go to the addons page here --click the main nav bar link...search for debugging tool and grab it...

open the zip, upload it to the includes/extra_configures folder set the cache folder permissions to either 775 or 777 then try one of the pages that is blank.

once you do that go to the cache folder and see what it plops in there...plop the error message in here for all to see and get an idea? then remove the debugging tool file.

did you change the installation sql in any way, except for the usual prefix change? same for the actual files you uploaded, did they get changed in any way?