Du hast einen doppelten Eintrag. Nimm die im Lightbox/SQL/Verzeichniss enthaltene "uninstall.sql" und führe diesen aus, dann probierst du nochmal den "install.sql"
Folgender Fehler wird angezeigt.
UND - Im Adminbereich - Konfiguration wird der "Auswahleintrag" zu Zen-Lightbox NICHT angezeigt. Zen-Lightbox verhält sich im Shop aber vollkommen normal.
Kann da jemand etwas mit machen?
MySQL-ERROR MySQL meldet:
Duplicate entry 'ZEN_LIGHTBOX_STATUS' for key 2Fehler bei der Anfrage:
INSERT INTO configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('LB - 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', @gid, 1, NOW(), NOW(), NULL, 'zen_cfg_select_option(array(''true'', ''false''), '), ('LB - Overlay Opacity', 'ZEN_LIGHTBOX_OVERLAY_OPACITY', '0.8', '
Controls the transparency of the overlay.
Default: 0.8', @gid, 2, 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''), '), ('LB - 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
', @gid, 3, NOW(), NOW(), NULL, NULL), ('LB - Resize Duration', 'ZEN_LIGHTBOX_RESIZE_DURATION', '400', '
Controls the speed of the image resizing.
Note: This value is measured in milliseconds.
Default: 400
', @gid, 4, NOW(), NOW(), NULL, NULL), ('LB - Resize Transition', 'ZEN_LIGHTBOX_RESIZE_TRANSITION', 'false', '
Allows for custom control over the transition effect used to animate the lightbox.
Default: false
', @gid, 5, NOW(), NOW(), NULL, NULL), ('LB - 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
', @gid, 6, NOW(), NOW(), NULL, NULL), ('LB - 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
', @gid, 7, NOW(), NOW(), NULL, NULL), ('LB - Image Fade Duration', 'ZEN_LIGHTBOX_IMAGE_FADE_DURATION', '400', '
Controls the fade duration of images.
Note: This value is measured in milliseconds.
Default: 400
', @gid, 8, NOW(), NOW(), NULL, NULL), ('LB - 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
', @gid, 9, NOW(), NOW(), NULL, NULL), ('LB - 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', @gid, 10, NOW(), NOW(), NULL, 'zen_cfg_select_option(array(''true'', ''false''),'), ('LB - Close on Image Click', 'ZEN_LIGHTBOX_CLOSE_IMAGE', 'true', '
If true, the lightbox will close when the image being displaying is clicked.
Default: false', @gid, 11, NOW(), NOW(), NULL, 'zen_cfg_select_option(array(''true'', ''false''), '), ('LB - Close on Overlay Click', 'ZEN_LIGHTBOX_CLOSE_OVERLAY', 'false', '
If true, the lightbox will close when the overlay is clicked.
Default: false', @gid, 12, NOW(), NOW(), NULL, 'zen_cfg_select_option(array(''true'', ''false''), '), ('LB - Always show Prev / Next', 'ZEN_LIGHTBOX_PREV_NEXT', 'true', '
If true, the lightbox will always show Previous & Next buttons when using additional images. NOTE: This setting will be overwritten automatically when Close on Image Click is set to TRUE.
Default: false', @gid, 13, NOW(), NOW(), NULL, 'zen_cfg_select_option(array(''true'', ''false''), '), ('LB - Keyboard Navigation', 'ZEN_LIGHTBOX_KEYBOARD_NAVIGATION', 'true', '
If true, keyboard inputs will also be used to control the lightbox.
Default: true', @gid, 14, NOW(), NOW(), NULL, 'zen_cfg_select_option(array(''true'', ''false''), '), ('LB - 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
', @gid, 15, NOW(), NOW(), NULL, NULL), ('LB - 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
', @gid, 16, NOW(), NOW(), NULL, NULL), ('LB - 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
', @gid, 17, NOW(), NOW(), NULL, NULL), ('LB - 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', @gid, 18, NOW(), NOW(), NULL, 'zen_cfg_select_option(array(''true'', ''false''),'), ('LB - 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', @gid, 19, NOW(), NOW(), NULL, 'zen_cfg_select_option(array(''true'', ''false''),'), ('LB - EZ-Pages Support', 'ZEN_LIGHTBOX_EZPAGES', 'true', '
If true, the lightbox effect will be used for linked images on all EZ-Pages.
Default: true', @gid, 20, NOW(), NOW(), NULL, 'zen_cfg_select_option(array(''true'', ''false''),'), ('LB - 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
', @gid, 21, NOW(), NOW(), NULL, NULL);
Grüße und Danke
Manfred
Geändert von Beowolf (10.08.2012 um 18:17 Uhr)
Du hast einen doppelten Eintrag. Nimm die im Lightbox/SQL/Verzeichniss enthaltene "uninstall.sql" und führe diesen aus, dann probierst du nochmal den "install.sql"
Danke für den Tipp, aber das habe ich schon bestimmt 50zig mal gemacht.
Ich habe sogar schon die Tabelleneinträge manuell gelöscht. Alle mit "LB" am Anfang.
Dadurch ändert sich aber leider die Fehlermeldung nicht.
Grüße und Danke
Manfred
Lesezeichen