Results 1 to 10 of 3727

Hybrid View

  1. #1
    Join Date
    Jun 2009
    Posts
    37
    Plugin Contributions
    0

    Default Re: Zen Lightbox...

    DarkAngel,

    Perfect!!!!
    It was such an easy fix.
    I appreciate your help.

    Happy holidays to you also..

    PB

  2. #2
    Join Date
    Oct 2007
    Location
    Emporia, Kansas
    Posts
    1,762
    Plugin Contributions
    0

    Default Re: Zen Lightbox...

    Quote Originally Posted by phiblack View Post
    DarkAngel,

    Perfect!!!!
    It was such an easy fix.
    I appreciate your help.

    Happy holidays to you also..

    PB

    happy to help when I can

  3. #3
    Join Date
    Jul 2009
    Posts
    126
    Plugin Contributions
    0

    Default Re: Zen Lightbox...

    well... i'm also in the dark on the /**
    * Zen Lightbox mod.
    also with a configuration_key error.

    4 statements processed.
    <strong>Foutmelding</strong> ERROR: Toevoegen "configuration_key" "" niet mogelijk omdat deze al bestaat. ( not possible, because already exist)
    <strong>Waarschuwing</strong> Note: 1 statements ignored. See "upgrade_exceptions" table for additional details.

    i did everything here is mentioned. and i'm in the dark.
    my template is a zencart template, my php is good, i'm lost...
    i am not a php person, so the mysql things are lost on me..
    pretty please help...

  4. #4
    Join Date
    Oct 2007
    Location
    Emporia, Kansas
    Posts
    1,762
    Plugin Contributions
    0

    Default Re: Zen Lightbox...

    What is the prefix you are adding to the beginning of your tables?

    Is this the first time installing or have you run the installer more than once?

    are you using the current version of zencart and the lightbox?

    does it show up in your admin section under configuration?


    Quote Originally Posted by kernheimer View Post
    well... i'm also in the dark on the /**
    * Zen Lightbox mod.
    also with a configuration_key error.

    4 statements processed.
    <strong>Foutmelding</strong> ERROR: Toevoegen "configuration_key" "" niet mogelijk omdat deze al bestaat. ( not possible, because already exist)
    <strong>Waarschuwing</strong> Note: 1 statements ignored. See "upgrade_exceptions" table for additional details.

    i did everything here is mentioned. and i'm in the dark.
    my template is a zencart template, my php is good, i'm lost...
    i am not a php person, so the mysql things are lost on me..
    pretty please help...

  5. #5
    Join Date
    Mar 2009
    Location
    Peterborough UK
    Posts
    336
    Plugin Contributions
    0

    Default Re: Zen Lightbox...

    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

  6. #6
    Join Date
    Oct 2007
    Location
    Emporia, Kansas
    Posts
    1,762
    Plugin Contributions
    0

    Default Re: Zen Lightbox...

    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




    Quote Originally Posted by abs007 View Post
    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

  7. #7
    Join Date
    Jan 2009
    Posts
    24
    Plugin Contributions
    0

    Default Re: Zen Lightbox...

    Hey DarkAngel,

    First, thanks for making this!

    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.



    Quote Originally Posted by DarkAngel View Post
    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





  8. #8
    Join Date
    Dec 2009
    Posts
    35
    Plugin Contributions
    0

    Default Re: Zen Lightbox...

    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

    Quote Originally Posted by DarkAngel View Post
    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





  9. #9
    Join Date
    May 2007
    Location
    SW Florida
    Posts
    1,051
    Plugin Contributions
    2

    red flag Re: Zen Lightbox...

    Quote Originally Posted by DarkAngel View Post
    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 ><>
    Newest Site: ChargerPros - Stuff4Toys

 

 

Similar Threads

  1. Free Shipping Rules addon [Support Thread]
    By numinix in forum Addon Shipping Modules
    Replies: 36
    Last Post: 2 Dec 2016, 01:56 PM
  2. v151 Reviews Reply addon [Support Thread]
    By mikestaps in forum All Other Contributions/Addons
    Replies: 9
    Last Post: 17 Oct 2014, 01:29 AM
  3. Jquery Lightbox [Support thread]
    By yellow1912 in forum All Other Contributions/Addons
    Replies: 257
    Last Post: 2 Aug 2012, 10:57 PM
  4. File Upload Required addon [Support Thread]
    By 1100101 in forum All Other Contributions/Addons
    Replies: 21
    Last Post: 10 Dec 2011, 03:00 AM
  5. [Support Thread] IE only JavaScripts and Stylesheets Addon
    By Meshach in forum All Other Contributions/Addons
    Replies: 16
    Last Post: 31 May 2011, 08:18 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg