Ankündigung

Einklappen
Keine Ankündigung bisher.

Fehler bei installation eines Templates via SQL Query Executor

Einklappen
X
 
  • Filter
  • Zeit
  • Anzeigen
Alles löschen
neue Beiträge

    Fehler bei installation eines Templates via SQL Query Executor

    Hallo!
    Ich bekomme immer eine Fehlermeldung durch den SQL Query Executor wenn ich die Administration eines Templates ausführen will. Ich denke es liegt an dem Unterschied Englisch zu Deutschem Admin. Vielleicht kann ja jemand sehen warum es nicht geht:

    Code:
    SET SQL_MODE="NO_AUTO_VALUE_ON_ZERO";
    
    
    CREATE TABLE IF NOT EXISTS `neuestemplate` (
      `id` int(11) NOT NULL AUTO_INCREMENT,
      `theme_color` varchar(100) CHARACTER SET utf8 COLLATE utf8_unicode_ci DEFAULT NULL,
      `homepage_version` varchar(255) NOT NULL,
      `body_bgimage` varchar(255) NOT NULL,
      `logo_image` varchar(255) NOT NULL,
      `store_address` varchar(255) NOT NULL,
      `store_map_address` text NOT NULL,
      `latitude_map` varchar(255) NOT NULL,
      `longitude_map` varchar(255) NOT NULL,
      `altitude_map` varchar(255) NOT NULL,
      `newsletter_details` text NOT NULL,
      `aboutus_text` text NOT NULL,
      `store_contact` varchar(255) NOT NULL,
      `store_skype` varchar(255) NOT NULL,
      `store_email` varchar(255) NOT NULL,
      `store_copyright` varchar(255) NOT NULL,
      `store_fax` varchar(255) NOT NULL,
      `facebook_link` varchar(255) NOT NULL,
      `twitter_link` varchar(255) NOT NULL,
      `pinterest_link` varchar(255) NOT NULL,
      `google_link` varchar(255) NOT NULL,
      `tumblr_link` varchar(255) NOT NULL,
      `linkedin_link` varchar(255) NOT NULL,
      `youtube_link` varchar(255) NOT NULL,
      `payment_image` varchar(255) NOT NULL,
      `banner1` varchar(255) NOT NULL,
      `banner1_link` varchar(255) NOT NULL,
      `banner2` varchar(255) NOT NULL,
      `banner2_link` varchar(255) NOT NULL,
      `banner3` varchar(255) NOT NULL,
      `banner3_link` varchar(255) NOT NULL,
      `custom_block1_icon` varchar(255) NOT NULL,
      `custom_block1_title` varchar(255) NOT NULL,
      `custom_block1_subtitle` varchar(255) NOT NULL,
      `custom_block2_icon` varchar(255) NOT NULL,
      `custom_block2_title` varchar(255) NOT NULL,
      `custom_block2_subtitle` varchar(255) NOT NULL,
      `custom_block3_icon` varchar(255) NOT NULL,
      `custom_block3_title` varchar(255) NOT NULL,
      `custom_block3_subtitle` varchar(255) NOT NULL,
      `display_banner` varchar(5) NOT NULL,
      `display_social` varchar(5) NOT NULL,
      `display_support` varchar(5) NOT NULL,
      `display_newsletter` varchar(5) NOT NULL,
      `display_googlemap` varchar(5) NOT NULL,
      `display_payment_image` varchar(5) NOT NULL,
      `display_brand_slider` varchar(5) NOT NULL,
      PRIMARY KEY (`id`)
    ) ENGINE=InnoDB  DEFAULT CHARSET=latin1 AUTO_INCREMENT=2 ;
    
    
    
    
    INSERT INTO `neuestemplate` (`id`, `theme_color`, `homepage_version`, `body_bgimage`, `logo_image`, `store_address`, `store_map_address`, `latitude_map`, `longitude_map`, `altitude_map`, `newsletter_details`, `aboutus_text`, `store_contact`, `store_skype`, `store_email`, `store_copyright`, `store_fax`, `facebook_link`, `twitter_link`, `pinterest_link`, `google_link`, `tumblr_link`, `linkedin_link`, `youtube_link`, `payment_image`, `banner1`, `banner1_link`, `banner2`, `banner2_link`, `banner3`, `banner3_link`, `custom_block1_icon`, `custom_block1_title`, `custom_block1_subtitle`, `custom_block2_icon`, `custom_block2_title`, `custom_block2_subtitle`, `custom_block3_icon`, `custom_block3_title`, `custom_block3_subtitle`, `display_banner`, `display_social`, `display_support`, `display_newsletter`, `display_googlemap`, `display_payment_image`, `display_brand_slider`) VALUES
    (1, '#505050,#FF7260,#9BD7D5', 'homepage_version_1', 'home_v3.jpg', 'logo.png', '12, Auburn Groove, Hawthorn East, VIC, Australia-3123', '12, Auburn Groove, Hawthorn East, VIC, Australia-3123', '-37.82579', '145.04621', '45', '<div id="mc_embed_signup">
    <form action="//elegantdesignhub.us3.list-manage.com/subscribe/post?u=aec0ecc511b9e4dec6925a777&id=be77ff1fb8" method="post" id="mc-embedded-subscribe-form" name="mc-embedded-subscribe-form" class="validate" target="_blank" novalidate>
        <div id="mc_embed_signup_scroll">
     <input type="email" value="" name="EMAIL" class="email" id="mce-EMAIL" placeholder="email address" required>
        <!-- real people should not fill this in and expect good things - do not remove this or risk form bot signups-->
        <div style="position: absolute; left: -5000px;"><input type="text" name="b_aec0ecc511b9e4dec6925a777_be77ff1fb8" tabindex="-1" value=""></div>
        <div class="clear"><input type="submit" value="Subscribe" name="subscribe" id="mc-embedded-subscribe" class="button"></div>
        </div>
    </form>
    </div>', 'Ut pharetra augue nec augue. Nam elit agna, endrerit sit amet, tincidunt ac, viverra sed, nulla. Donec porta diam eu massa. Quisque diam lorem, interdum vitae, dapibus ac, scelerisque. vitae, pede. Donec eget tellus non erat lacinia fermentum. Donec in velit vel ipsum auctor pulvinar.', '+1-145-234-8967', 'skype_contact', 'info@domain.com', '2014 neuestemplate Demo Store. All Rights Reserved. Powered by Zencart.', '+1-145-234-8967', 'perfectusinc', 'perfectusinc', 'envato', 'https://plus.google.com/', 'http://tumblr.com/', 'http://www.linkedin.com/company/envato', 'http://www.youtube.com/user/Envato', 'payment.png', 'banner-1.jpg', '#', 'banner-2.jpg', '#', 'banner-3.jpg', '#', 'fa fa-plane fa-4x', 'Free Shipping on All Orders', 'Free shipping on all orders over $99.', 'fa fa-refresh fa-4x', '30 days return policy', '100% return back guarantee.', 'fa fa-clock-o fa-4x', 'Assistance 24/7', '100% assistance 24/7.', 'yes', 'yes', 'yes', 'yes', 'yes', 'yes', 'yes');
    
    
    
    
    CREATE TABLE IF NOT EXISTS `neuestemplate_slideshow` (
      `id` int(50) NOT NULL AUTO_INCREMENT,
      `slideshow_image` varchar(255) NOT NULL,
      PRIMARY KEY (`id`)
    ) ENGINE=InnoDB  DEFAULT CHARSET=latin1 AUTO_INCREMENT=73 ;
    
    
    
    
    INSERT INTO `neuestemplate_slideshow` (`id`, `slideshow_image`) VALUES
    (70, 'slide-1.jpg'),
    (71, 'slide-2.jpg'),
    (72, 'slide-3.jpg');
    
    
    
    
    
    
    
    
    UPDATE layout_boxes set layout_box_status='1',layout_box_location='0',layout_box_sort_order='6' where layout_box_name='banner_box_all.php' and layout_template='neuestemplate';
    UPDATE layout_boxes set layout_box_status='1',layout_box_location='0',layout_box_sort_order='0' where layout_box_name='best_sellers.php' and layout_template='neuestemplate';
    UPDATE layout_boxes set layout_box_status='1',layout_box_location='1',layout_box_sort_order='0' where layout_box_name='categories.php' and layout_template='neuestemplate';
    UPDATE layout_boxes set layout_box_status='1',layout_box_location='1',layout_box_sort_order='5' where layout_box_name='featured.php' and layout_template='neuestemplate';
    UPDATE layout_boxes set layout_box_status='0',layout_box_location='1',layout_box_sort_order='1' where layout_box_name='manufacturer_info.php' and layout_template='neuestemplate';
    UPDATE layout_boxes set layout_box_status='0',layout_box_location='0',layout_box_sort_order='5' where layout_box_name='manufacturers.php' and layout_template='neuestemplate';
    UPDATE layout_boxes set layout_box_status='1',layout_box_location='1',layout_box_sort_order='4' where layout_box_name='order_history.php' and layout_template='neuestemplate';
    UPDATE layout_boxes set layout_box_status='1',layout_box_location='0',layout_box_sort_order='3' where layout_box_name='reviews.php' and layout_template='neuestemplate';
    UPDATE layout_boxes set layout_box_status='1',layout_box_location='1',layout_box_sort_order='3' where layout_box_name='shopping_cart.php' and layout_template='neuestemplate';
    UPDATE layout_boxes set layout_box_status='0',layout_box_location='0',layout_box_sort_order='2' where layout_box_name='specials.php' and layout_template='neuestemplate';
    UPDATE layout_boxes set layout_box_status='0',layout_box_location='0',layout_box_sort_order='1' where layout_box_name='whats_new.php' and layout_template='neuestemplate';
    
    
    
    
    UPDATE configuration set configuration_value='false' where configuration_key='SHOW_COUNTS';
    UPDATE configuration set configuration_value='9' where configuration_key='MAX_DISPLAY_SPECIAL_PRODUCTS';
    UPDATE configuration set configuration_value='8' where configuration_key='MAX_DISPLAY_NEW_PRODUCTS';
    UPDATE configuration set configuration_value='8' where configuration_key='MAX_DISPLAY_SPECIAL_PRODUCTS_INDEX';
    UPDATE configuration set configuration_value='8' where configuration_key='MAX_DISPLAY_SEARCH_RESULTS_FEATURED';
    UPDATE configuration set configuration_value='5' where configuration_key='MAX_DISPLAY_NEW_REVIEWS';
    UPDATE configuration set configuration_value='4' where configuration_key='MAX_RANDOM_SELECT_REVIEWS';
    UPDATE configuration set configuration_value='2' where configuration_key='MAX_RANDOM_SELECT_NEW';
    UPDATE configuration set configuration_value='2' where configuration_key='MAX_RANDOM_SELECT_SPECIALS';
    UPDATE configuration set configuration_value='10' where configuration_key='MAX_DISPLAY_PRODUCTS_NEW';
    UPDATE configuration set configuration_value='10' where configuration_key='MAX_DISPLAY_PRODUCTS_FEATURED_PRODUCTS';
    UPDATE configuration set configuration_value='10' where configuration_key='MAX_DISPLAY_PRODUCTS_ALL';
    UPDATE configuration set configuration_value='10' where configuration_key='MAX_DISPLAY_BESTSELLERS';
    
    
    UPDATE configuration set configuration_value='100' where configuration_key='SMALL_IMAGE_WIDTH';
    UPDATE configuration set configuration_value='' where configuration_key='SMALL_IMAGE_HEIGHT';
    UPDATE configuration set configuration_value='' where configuration_key='SUBCATEGORY_IMAGE_WIDTH';
    UPDATE configuration set configuration_value='' where configuration_key='SUBCATEGORY_IMAGE_HEIGHT';
    UPDATE configuration set configuration_value='' where configuration_key='CATEGORY_ICON_IMAGE_WIDTH';
    UPDATE configuration set configuration_value='' where configuration_key='CATEGORY_ICON_IMAGE_HEIGHT';
    UPDATE configuration set configuration_value='' where configuration_key='IMAGE_SHOPPING_CART_WIDTH';
    UPDATE configuration set configuration_value='100' where configuration_key='IMAGE_SHOPPING_CART_HEIGHT';
    UPDATE configuration set configuration_value='true' where configuration_key='CONFIG_CALCULATE_IMAGE_SIZE';
    UPDATE configuration set configuration_value='' where configuration_key='SUBCATEGORY_IMAGE_TOP_WIDTH';
    UPDATE configuration set configuration_value='' where configuration_key='SUBCATEGORY_IMAGE_TOP_HEIGHT';
    UPDATE configuration set configuration_value='300' where configuration_key='MEDIUM_IMAGE_WIDTH';
    UPDATE configuration set configuration_value='' where configuration_key='MEDIUM_IMAGE_HEIGHT';
    UPDATE configuration set configuration_value='190' where configuration_key='IMAGE_PRODUCT_LISTING_WIDTH';
    UPDATE configuration set configuration_value='' where configuration_key='IMAGE_PRODUCT_LISTING_HEIGHT';
    UPDATE configuration set configuration_value='190' where configuration_key='IMAGE_PRODUCT_NEW_LISTING_WIDTH';
    UPDATE configuration set configuration_value='' where configuration_key='IMAGE_PRODUCT_NEW_LISTING_HEIGHT';
    UPDATE configuration set configuration_value='280' where configuration_key='IMAGE_PRODUCT_NEW_WIDTH';
    UPDATE configuration set configuration_value='' where configuration_key='IMAGE_PRODUCT_NEW_HEIGHT';
    UPDATE configuration set configuration_value='280' where configuration_key='IMAGE_FEATURED_PRODUCTS_LISTING_WIDTH';
    UPDATE configuration set configuration_value='' where configuration_key='IMAGE_FEATURED_PRODUCTS_LISTING_HEIGHT';
    UPDATE configuration set configuration_value='190' where configuration_key='IMAGE_PRODUCT_ALL_LISTING_WIDTH';
    UPDATE configuration set configuration_value='' where configuration_key='IMAGE_PRODUCT_ALL_LISTING_HEIGHT';
    UPDATE configuration set configuration_value='1' where configuration_key='PROPORTIONAL_IMAGES_STATUS';
    UPDATE configuration set configuration_value='0' where configuration_key='SHOW_PRODUCT_INFO_LISTING_BELOW_SPECIALS_PRODUCTS';
    UPDATE configuration set configuration_value='0' where configuration_key='SHOW_PRODUCT_INFO_LISTING_BELOW_NEW_PRODUCTS';
    UPDATE configuration set configuration_value='0' where configuration_key='DEFINE_MAIN_PAGE_STATUS';
    
    
    UPDATE configuration set configuration_value='1' where configuration_key='PRODUCT_LIST_IMAGE';
    UPDATE configuration set configuration_value='0' where configuration_key='PRODUCT_LIST_MANUFACTURER';
    UPDATE configuration set configuration_value='0' where configuration_key='PRODUCT_LIST_MODEL';
    UPDATE configuration set configuration_value='2' where configuration_key='PRODUCT_LIST_NAME';
    UPDATE configuration set configuration_value='3' where configuration_key='PRODUCT_LIST_PRICE';
    UPDATE configuration set configuration_value='0' where configuration_key='PRODUCT_LIST_QUANTITY';
    UPDATE configuration set configuration_value='0' where configuration_key='PRODUCT_LIST_WEIGHT';
    UPDATE configuration set configuration_value='3' where configuration_key='PREV_NEXT_BAR_LOCATION';
    UPDATE configuration set configuration_value='3' where configuration_key='PRODUCT_LISTING_MULTIPLE_ADD_TO_CART';
    UPDATE configuration set configuration_value='false' where configuration_title='Add period prefix to cookie domain';
    UPDATE configuration set configuration_value='true' where configuration_title='State - Always display as pulldown?';
    
    
    UPDATE configuration set configuration_value='yes' where configuration_key='IH_RESIZE';
    UPDATE configuration set configuration_value='false' where configuration_key='ACCOUNT_COMPANY';
    
    
    UPDATE configuration set configuration_value='6' where configuration_key='SHOW_PRODUCT_INFO_COLUMNS_ALSO_PURCHASED_PRODUCTS';
    UPDATE configuration set configuration_value='1' where configuration_key='PRODUCT_INFO_PREVIOUS_NEXT';
    
    
    UPDATE configuration set configuration_value='' where configuration_key='BREAD_CRUMBS_SEPARATOR';
    UPDATE configuration set configuration_value='1' where configuration_key='DEFINE_BREADCRUMB_STATUS';
    UPDATE configuration set configuration_value='false' where configuration_key='SHOW_CATEGORIES_BOX_SPECIALS';
    UPDATE configuration set configuration_value='false' where configuration_key='SHOW_CATEGORIES_BOX_PRODUCTS_NEW';
    UPDATE configuration set configuration_value='false' where configuration_key='SHOW_CATEGORIES_BOX_FEATURED_PRODUCTS';
    UPDATE configuration set configuration_value='false' where configuration_key='SHOW_CATEGORIES_BOX_PRODUCTS_ALL';
    UPDATE configuration set configuration_value='1' where configuration_key='SHOW_CUSTOMER_GREETING';
    UPDATE configuration set configuration_value='&nbsp;-' where configuration_title='Categories Separator between the Category Name and Count' and configuration_key='CATEGORIES_SEPARATOR';
    UPDATE configuration set configuration_value='<i class="fa fa-angle-right"></i>' where configuration_title='Categories Separator between the Category Name and Sub Categories';
    UPDATE configuration set configuration_value='yes' where configuration_title='CSS Buttons';
    UPDATE configuration set configuration_value='True' where configuration_key='USE_SPLIT_LOGIN_MODE';
    UPDATE configuration set configuration_value='true' where configuration_key='DISPLAY_PRIVACY_CONDITIONS';
    
    
    UPDATE template_select set template_dir='neuestemplate';
    
    
    
    
    INSERT INTO `configuration_group` VALUES (NULL, 'Zen Lightbox', 'Configure Zen Lightbox settings', '0', '1');
    UPDATE `configuration_group` SET `sort_order` = LAST_INSERT_ID() WHERE `configuration_group_id` = LAST_INSERT_ID();
    
    
    SELECT @cgi := `configuration_group_id` FROM `configuration_group` WHERE `configuration_group_title` = 'Zen Lightbox';
    
    
    INSERT INTO `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, '<b>Zen Lightbox</b>', 'ZEN_LIGHTBOX_STATUS', 'true', '<br />If true, all product images on the following pages will be displayed within a lightbox:<br /><br />- document_general_info<br />- document_product_info<br />- page (EZ-Pages)<br />- product_free_shipping_info<br />- product_info<br />- product_music_info<br />- product_reviews<br />- product_reviews_info<br />- product_reviews_write<br /><br /><b>Default: true</b>', @cgi, 100, NOW(), NOW(), NULL, 'zen_cfg_select_option(array(''true'', ''false''), '),
    (NULL, 'Overlay Opacity', 'ZEN_LIGHTBOX_OVERLAY_OPACITY', '0.8', '<br />Controls the transparency of the overlay.<br /><br /><b>Default: 0.8</b>', @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', '<br />Controls the fade duration of the overlay.<br /><br />Note: This value is measured in milliseconds.<br /><br /><b>Default: 400</b><br />', @cgi, 102, NOW(), NOW(), NULL, NULL),
    (NULL, 'Resize Duration', 'ZEN_LIGHTBOX_RESIZE_DURATION', '400', '<br />Controls the speed of the image resizing.<br /><br />Note: This value is measured in milliseconds.<br /><br /><b>Default: 400</b><br />', @cgi, 103, NOW(), NOW(), NULL, NULL),
    (NULL, 'Resize Transition', 'ZEN_LIGHTBOX_RESIZE_TRANSITION', 'false', '<br />Allows for custom control over the transition effect used to animate the lightbox.<br /><br /><b>Default: false</b><br />', @cgi, 104, NOW(), NOW(), NULL, NULL),
    (NULL, 'Initial Width', 'ZEN_LIGHTBOX_INITIAL_WIDTH', '250', '<br />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.<br /><br />Note: This value is measured in pixels.<br /><br /><b>Default: 250</b><br />', @cgi, 105, NOW(), NOW(), NULL, NULL),
    (NULL, 'Initial Height', 'ZEN_LIGHTBOX_INITIAL_HEIGHT', '250', '<br />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.<br /><br />Note: This value is measured in pixels.<br /><br /><b>Default: 250</b><br />', @cgi, 106, NOW(), NOW(), NULL, NULL),
    (NULL, 'Image Fade Duration', 'ZEN_LIGHTBOX_IMAGE_FADE_DURATION', '400', '<br />Controls the fade duration of images.<br /><br />Note: This value is measured in milliseconds.<br /><br /><b>Default: 400</b><br />', @cgi, 107, NOW(), NOW(), NULL, NULL),
    (NULL, 'Caption Animation Duration', 'ZEN_LIGHTBOX_CAPTION_ANIMATION_DURATION', '400', '<br />Controls the animation duration of the caption.<br /><br />Note: This value is measured in milliseconds.<br /><br /><b>Default: 400</b><br />', @cgi, 108, NOW(), NOW(), NULL, NULL),
    (NULL, 'Display Image Counter', 'ZEN_LIGHTBOX_COUNTER', 'true', '<br />If true, the image counter will be displayed (below the caption of each image) within the lightbox.<br /><br /><b>Default: true</b>', @cgi, 109, NOW(), NOW(), NULL, 'zen_cfg_select_option(array(''true'', ''false''),'),
    (NULL, 'Close on Image Click', 'ZEN_LIGHTBOX_CLOSE_IMAGE', 'false', '<br />If true, the lightbox will close when the image being displaying is clicked.<br /><br /><b>Default: false</b>', @cgi, 110, NOW(), NOW(), NULL, 'zen_cfg_select_option(array(''true'', ''false''), '),
    (NULL, 'Close on Overlay Click', 'ZEN_LIGHTBOX_CLOSE_OVERLAY', 'false', '<br />If true, the lightbox will close when the overlay is clicked.<br /><br /><b>Default: false</b>', @cgi, 111, NOW(), NOW(), NULL, 'zen_cfg_select_option(array(''true'', ''false''), '),
    (NULL, 'Always show Prev / Next', 'ZEN_LIGHTBOX_PREV_NEXT', 'false', '<br />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.<br /><br /><b>Default: false</b>', @cgi, 112, NOW(), NOW(), NULL, 'zen_cfg_select_option(array(''true'', ''false''), '),
    (NULL, '<b>Keyboard Navigation</b>', 'ZEN_LIGHTBOX_KEYBOARD_NAVIGATION', 'true', '<br />If true, keyboard inputs will also be used to control the lightbox.<br /><br /><b>Default: true</b>', @cgi, 200, NOW(), NOW(), NULL, 'zen_cfg_select_option(array(''true'', ''false''), '),
    (NULL, 'Close Lightbox', 'ZEN_LIGHTBOX_ESCAPE_KEYS', '27,88,67', '<br />The lightbox will close when any of these keys are pressed.<br /><br />Note: Only <a href="http://en.wikipedia.org/wiki/ASCII" target="_blank">ASCII</a> decimal values should be entered and separated with a comma (if listing multiple values).<br /><br /><b>Default: 27,88,67</b><br />', @cgi, 201, NOW(), NOW(), NULL, NULL),
    (NULL, 'Previous Image', 'ZEN_LIGHTBOX_PREVIOUS_KEYS', '37,80', '<br />The lightbox will display the previous image (if available) when any of these keys are pressed.<br /><br />Note: Only <a href="http://en.wikipedia.org/wiki/ASCII" target="_blank">ASCII</a> decimal values should be entered and separated with a comma (if listing multiple values).<br /><br /><b>Default: 37,80</b><br />', @cgi, 202, NOW(), NOW(), NULL, NULL),
    (NULL, 'Next Image', 'ZEN_LIGHTBOX_NEXT_KEYS', '39,78', '<br />The lightbox will display the next image (if available) when any of these keys are pressed.<br /><br />Note: Only <a href="http://en.wikipedia.org/wiki/ASCII" target="_blank">ASCII</a> decimal values should be entered and separated with a comma (if listing multiple values).<br /><br /><b>Default: 39,78</b><br />', @cgi, 203, NOW(), NOW(), NULL, NULL),
    (NULL, '<b>Gallery Mode</b>', 'ZEN_LIGHTBOX_GALLERY_MODE', 'true', '<br />If true, the lightbox will allow additional images to quickly be displayed using previous and next buttons.<br /><br /><b>Default: true</b>', @cgi, 300, NOW(), NOW(), NULL, 'zen_cfg_select_option(array(''true'', ''false''),'),
    (NULL, 'Include Main Image in Gallery', 'ZEN_LIGHTBOX_GALLERY_MAIN_IMAGE', 'true', '<br />If true, the main product image will be included in the lightbox gallery.<br /><br /><b>Default: true</b>', @cgi, 301, NOW(), NOW(), NULL, 'zen_cfg_select_option(array(''true'', ''false''),'),
    (NULL, '<b>EZ-Pages Support</b>', 'ZEN_LIGHTBOX_EZPAGES', 'true', '<br />If true, the lightbox effect will be used for linked images on all EZ-Pages.<br /><br /><b>Default: true</b>', @cgi, 400, NOW(), NOW(), NULL, 'zen_cfg_select_option(array(''true'', ''false''),'),
    (NULL, 'File Types', 'ZEN_LIGHTBOX_FILE_TYPES', 'jpg,png,gif', '<br />On EZ-Pages, the lightbox effect will be applied to all images with one of the following file types.<br /><br /><b>Default: jpg,png,gif</b><br />', @cgi, 401, NOW(), NOW(), NULL, NULL);
    
    
    
    
    
    
    INSERT INTO `admin_pages` (`page_key` ,`language_key` ,`main_page` ,`page_params` ,`menu_key` ,`display_on_menu` ,`sort_order`)VALUES 
    ('configZenLightbox', 'BOX_CONFIGURATION_ZEN_LIGHTBOX', 'FILENAME_CONFIGURATION', CONCAT('gID=',@cgi), 'configuration', 'Y', @cgi);
    
    
    INSERT INTO `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, 'Show Languages in Header?', 'HEADER_LANGUAGES_DISPLAY', 'True', 'Display the Languages flags/links in Header?', 19, 170, '2015-09-05 11:43:53', '2015-09-05 07:15:44', NULL, 'zen_cfg_select_option(array(''True'', ''False''), '),
    (NULL, 'Show Currencies in Header?', 'HEADER_CURRENCIES_DISPLAY', 'True', 'Display the Currencies symbols/links in Header?', 19, 171, '2015-09-05 11:44:20', '2015-09-05 07:15:44', NULL, 'zen_cfg_select_option(array(''True'', ''False''), ');
    System:
    ZC 1.5.4 deutsch von hier


    Vielen Dank für Eure Mühen im voraus

    #2
    Das hier ist der Grund
    Code:
    INSERT INTO `configuration_group` VALUES (NULL, 'Zen Lightbox', 'Configure Zen Lightbox settings', '0', '1');
    Korrekt wäre:
    Code:
    INSERT INTO configuration_group (configuration_group_title, configuration_group_description, sort_order, visible ) VALUES 
    ('Zen Lightbox', 'Configure Zen Lightbox settings', '0', '1');

    Kommentar


      #3
      Hallo und Danke

      Nach wie vor der gleiche Fehler:
      WARNING: An Error occurred, please refresh the page and try again.

      Kommentar


        #4
        Zitat von Micha578 Beitrag anzeigen
        Nach wie vor der gleiche Fehler:
        Würdest Du uns denn den genauen Fehler auch bitte mal mitteilen?
        Mit "An Error occured" fängt niemand was an:

        Kommentar


          #5
          Ich vermute mal, dass es um das Template Westminster New geht, denn dort gibt es in der Tat ein Problem, welches ich bisher auch noch nicht lösen konnte. Der Installer des Templates generiert nämlich Fehler in der Datenbank, mit dem Ergebnis der besagten Meldung WARNING: An Error occurred, please refresh the page and try again.. Deshalb habe ich mich daran gemacht, den Installer in eine multilinguale SQL-Datei umzuschreiben, die auch schon zu 99% fertig ist. Nur dieser Eintrag will einfach nicht, ich komme auch nicht drauf, was da verkehrt läuft. Hier mal der Originaleintrag aus dem Installer:

          Code:
          $db->Execute("INSERT INTO " . TABLE_ADMIN_PAGES . " (page_key, language_key, main_page, page_params, menu_key, display_on_menu, sort_order)VALUES 
           ('configZenLightbox', 'BOX_CONFIGURATION_ZEN_LIGHTBOX', 'FILENAME_CONFIGURATION', CONCAT('gID=',@cgi), 'configuration', 'Y', @cgi);");
          Und hier meine "Übersetzung":

          Code:
          INSERT INTO admin_pages (page_key, language_key, main_page, page_params, menu_key, display_on_menu, sort_order) VALUES 
           ('configZenLightbox', 'BOX_CONFIGURATION_ZEN_LIGHTBOX', 'FILENAME_CONFIGURATION', CONCAT('gID=',@cgi), 'configuration', 'Y', @cgi);
          Wenn das Problem gelöst ist, dann gibt es demnächst ein weiteres responsives Template für die deutsche Version von Zen Cart. PHPMyAdmin meldet mir übrigens das:

          Statische Analyse:
          12 Fehler wurden während der Analyse gefunden.
          1. Ein Komma oder eine schließende Klammer wurde erwartet (near "(" at position 224)
          2. Unerwartetes Zeichen. (near "'gID='" at position 225)
          3. Unerwartetes Zeichen. (near "," at position 231)
          4. Unerwartetes Zeichen. (near "@cgi" at position 232)
          5. Unerwartetes Zeichen. (near ")" at position 236)
          6. Unerwartetes Zeichen. (near "," at position 237)
          7. Unerwartetes Zeichen. (near "'configuration'" at position 239)
          8. Unerwartetes Zeichen. (near "," at position 254)
          9. Unerwartetes Zeichen. (near "'Y'" at position 256)
          10. Unerwartetes Zeichen. (near "," at position 259)
          11. Unerwartetes Zeichen. (near "@cgi" at position 261)
          12. Unerwartetes Zeichen. (near ")" at position 265)

          SQL-Befehl:
          INSERT INTO `admin_pages` (`page_key` ,`language_key` ,`main_page` ,`page_params` ,`menu_key` ,`display_on_menu` ,`sort_order`)VALUES ('configZenLightbox', 'BOX_CONFIGURATION_ZEN_LIGHTBOX', 'FILENAME_CONFIGURATION', CONCAT('gID=',@cgi), 'configuration', 'Y', @cgi)
          MySQL meldet:
          #1048 - Column 'page_params' cannot be null
          Kann mir mal jemand dabei helfen, das Brett vom Kopf weg zu bringen?

          Kommentar


            #6
            Zitat von klartexter Beitrag anzeigen
            Und hier meine "Übersetzung":

            Code:
            INSERT INTO admin_pages (page_key, language_key, main_page, page_params, menu_key, display_on_menu, sort_order) VALUES 
             ('configZenLightbox', 'BOX_CONFIGURATION_ZEN_LIGHTBOX', 'FILENAME_CONFIGURATION', CONCAT('gID=',@cgi), 'configuration', 'Y', @cgi);
            Dieser Befehl soll lediglich den Menüpunkt Zen Lightbox unter Konfiguration anlegen.
            Sieh Dir einfach die install.sql des Modul Zen Lightbox an, hier lautet der Befehl ganz zum Schluss:
            Code:
            INSERT INTO admin_pages (page_key,language_key,main_page,page_params,menu_key,display_on_menu,sort_order)
            VALUES ('configProdZenLightbox','BOX_CONFIGURATION_PRODUCT_ZENLIGHTBOX','FILENAME_CONFIGURATION',CONCAT('gID=',@gid),'configuration','Y',@gid);
            Und die Befehle vorher haben auch alle das @gid drin, der letzte Befehl kann alleine nicht funktionieren, er setzt voraus, dass zuvor die neue configuration_group_id dynamisch erstellt wurde und verwendet die dann nochmal. Der Installer muss durchgehend damit arbeiten und in einem Schritt ausgeführt werden.

            Du nennst den Platzhalter für die configuration group id @cgi, das ist ja auch völlig ok, nur muss er dann durchgehend @cgi heißen in den Befehlen, die schon davor kommen.
            Der Wert für @cgi wird in den Befehlen zuvor festgelegt und ist die configuration_group_id, die für die Lightbox vergeben wurde. Die wird hier nochmal aufgegriffen. Man müsste den kompletten Installer sehen, aber es ist ziemlich eindeutig, dass Dein @cgi vorher nicht oder nicht korrekt durchgezogen wird.

            Kommentar


              #7
              Zitat von webchills Beitrag anzeigen
              Du nennst den Platzhalter für die configuration group id @cgi, das ist ja auch völlig ok, nur muss er dann durchgehend @cgi heißen in den Befehlen, die schon davor kommen.
              Der Wert für @cgi wird in den Befehlen zuvor festgelegt und ist die configuration_group_id, die für die Lightbox vergeben wurde. Die wird hier nochmal aufgegriffen. Man müsste den kompletten Installer sehen, aber es ist ziemlich eindeutig, dass Dein @cgi vorher nicht oder nicht korrekt durchgezogen wird.
              Ich bin nicht so der unbedingte Fachmann in Sachen MySQL, nicht zuletzt mangels Zeit gilt da eher das Motto Versuch macht kluch. Bei dem Template ist leider nur der Installer dabei, und der funktioniert zumindest auf dem lokalen Rechner überhaupt nicht. Ergebnis ist dann die berühmte weiße Seite.

              Ich hänge hier mal den Installer (1_3.pdf) mit an, ebenso die SQL-Datei (install.pdf). Mit den Übersetzungen für das Template bin ich schon ziemlich weit voran gekommen, aber mit den Daten für die Datenbank hapert es, hier bin ich wie gesagt noch lange nicht firm.

              Noch ein Nachtrag: Wenn ich die Befehle der SQL-Datei einzeln eingebe, dann verarbeitet sie PhPMyAdmin. Will ich aber die komplette SQL hochladen, dann gibt es Fehlermeldungen. Warum das so ist weiß ich nicht.
              Angehängte Dateien
              Zuletzt geändert von klartexter; 22.02.2016, 21:44.

              Kommentar


                #8
                In Deinem Installer setzt der letzte Abschnitt für die Lightbox den Wert für dieses @cgi nicht
                Es fehlt:
                Code:
                SET @cgi=last_insert_id();
                Das bedeutet nichts anderes als: Nimm als Configuration Group ID die zuletzt eingefügte ID
                Da das fehlt, wird weder die Lightbox Konfiguration der passenden Konfigurationsgruppe zugeordnet noch kann später ein Eintrag in die admin_pages erfolgen, da der Wert schlicht nicht bekannt ist und Du bekommst "Column 'page_params' cannot be null"

                Wenn Du den Lightbox Abschnitt mit den oberen vergleichst, die alle sowas hier drin haben
                Code:
                SET @gid=last_insert_id();
                Dann siehst Du den Unterschied

                Am einfachsten ersetzt Du den gesamten Lightbox Abschnitt mit dem korrekten Installer aus dem Lightbox Modul also:

                Code:
                ##########################################################################
                # Zen Lightbox 1.6.4 Multilanguage Install 
                ##########################################################################
                
                INSERT INTO configuration_group (configuration_group_title, configuration_group_description, sort_order, visible) VALUES
                ('Zen Lightbox', 'Configure Zen Lightbox settings', '1', '1');
                SET @gid=last_insert_id();
                UPDATE configuration_group SET sort_order = last_insert_id() WHERE configuration_group_id = last_insert_id();
                
                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', '<br />If true, all product images on the following pages will be displayed within a lightbox:<br /><br />- document_general_info<br />- document_product_info<br />- page (EZ-Pages)<br />- product_free_shipping_info<br />- product_info<br />- product_music_info<br />- product_reviews<br />- product_reviews_info<br />- product_reviews_write<br /><br /><b>Default: true</b>', @gid, 1, NOW(), NOW(), NULL, 'zen_cfg_select_option(array(''true'', ''false''), '),
                ('LB - Overlay Opacity', 'ZEN_LIGHTBOX_OVERLAY_OPACITY', '0.8', '<br />Controls the transparency of the overlay.<br /><br /><b>Default: 0.8</b>', @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', '<br />Controls the fade duration of the overlay.<br /><br />Note: This value is measured in milliseconds.<br /><br /><b>Default: 400</b><br />', @gid, 3, NOW(), NOW(), NULL, NULL),
                ('LB - Resize Duration', 'ZEN_LIGHTBOX_RESIZE_DURATION', '400', '<br />Controls the speed of the image resizing.<br /><br />Note: This value is measured in milliseconds.<br /><br /><b>Default: 400</b><br />', @gid, 4, NOW(), NOW(), NULL, NULL),
                ('LB - Resize Transition', 'ZEN_LIGHTBOX_RESIZE_TRANSITION', 'false', '<br />Allows for custom control over the transition effect used to animate the lightbox.<br /><br /><b>Default: false</b><br />', @gid, 5, NOW(), NOW(), NULL, NULL),
                ('LB - Initial Width', 'ZEN_LIGHTBOX_INITIAL_WIDTH', '250', '<br />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.<br /><br />Note: This value is measured in pixels.<br /><br /><b>Default: 250</b><br />', @gid, 6, NOW(), NOW(), NULL, NULL),
                ('LB - Initial Height', 'ZEN_LIGHTBOX_INITIAL_HEIGHT', '250', '<br />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.<br /><br />Note: This value is measured in pixels.<br /><br /><b>Default: 250</b><br />', @gid, 7, NOW(), NOW(), NULL, NULL),
                ('LB - Image Fade Duration', 'ZEN_LIGHTBOX_IMAGE_FADE_DURATION', '400', '<br />Controls the fade duration of images.<br /><br />Note: This value is measured in milliseconds.<br /><br /><b>Default: 400</b><br />', @gid, 8, NOW(), NOW(), NULL, NULL),
                ('LB - Caption Animation Duration', 'ZEN_LIGHTBOX_CAPTION_ANIMATION_DURATION', '400', '<br />Controls the animation duration of the caption.<br /><br />Note: This value is measured in milliseconds.<br /><br /><b>Default: 400</b><br />', @gid, 9, NOW(), NOW(), NULL, NULL),
                ('LB - Display Image Counter', 'ZEN_LIGHTBOX_COUNTER', 'true', '<br />If true, the image counter will be displayed (below the caption of each image) within the lightbox.<br /><br /><b>Default: true</b>', @gid, 10, NOW(), NOW(), NULL, 'zen_cfg_select_option(array(''true'', ''false''),'),
                ('LB - Close on Image Click', 'ZEN_LIGHTBOX_CLOSE_IMAGE', 'true', '<br />If true, the lightbox will close when the image being displaying is clicked.<br /><br /><b>Default: false</b>', @gid, 11, NOW(), NOW(), NULL, 'zen_cfg_select_option(array(''true'', ''false''), '),
                ('LB - Close on Overlay Click', 'ZEN_LIGHTBOX_CLOSE_OVERLAY', 'false', '<br />If true, the lightbox will close when the overlay is clicked.<br /><br /><b>Default: false</b>', @gid, 12, NOW(), NOW(), NULL, 'zen_cfg_select_option(array(''true'', ''false''), '),
                ('LB - Always show Prev / Next', 'ZEN_LIGHTBOX_PREV_NEXT', 'true', '<br />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.<br /><br /><b>Default: false</b>', @gid, 13, NOW(), NOW(), NULL, 'zen_cfg_select_option(array(''true'', ''false''), '),
                ('LB - Keyboard Navigation', 'ZEN_LIGHTBOX_KEYBOARD_NAVIGATION', 'true', '<br />If true, keyboard inputs will also be used to control the lightbox.<br /><br /><b>Default: true</b>', @gid, 14, NOW(), NOW(), NULL, 'zen_cfg_select_option(array(''true'', ''false''), '),
                ('LB - Close Lightbox', 'ZEN_LIGHTBOX_ESCAPE_KEYS', '27,88,67', '<br />The lightbox will close when any of these keys are pressed.<br /><br />Note: Only <a href="http://en.wikipedia.org/wiki/ASCII" target="_blank">ASCII</a> decimal values should be entered and separated with a comma (if listing multiple values).<br /><br /><b>Default: 27,88,67</b><br />', @gid, 15, NOW(), NOW(), NULL, NULL),
                ('LB - Previous Image', 'ZEN_LIGHTBOX_PREVIOUS_KEYS', '37,80', '<br />The lightbox will display the previous image (if available) when any of these keys are pressed.<br /><br />Note: Only <a href="http://en.wikipedia.org/wiki/ASCII" target="_blank">ASCII</a> decimal values should be entered and separated with a comma (if listing multiple values).<br /><br /><b>Default: 37,80</b><br />', @gid, 16, NOW(), NOW(), NULL, NULL),
                ('LB - Next Image', 'ZEN_LIGHTBOX_NEXT_KEYS', '39,78', '<br />The lightbox will display the next image (if available) when any of these keys are pressed.<br /><br />Note: Only <a href="http://en.wikipedia.org/wiki/ASCII" target="_blank">ASCII</a> decimal values should be entered and separated with a comma (if listing multiple values).<br /><br /><b>Default: 39,78</b><br />', @gid, 17, NOW(), NOW(), NULL, NULL),
                ('LB - Gallery Mode', 'ZEN_LIGHTBOX_GALLERY_MODE', 'true', '<br />If true, the lightbox will allow additional images to quickly be displayed using previous and next buttons.<br /><br /><b>Default: true</b>', @gid, 18, NOW(), NOW(), NULL, 'zen_cfg_select_option(array(''true'', ''false''),'),
                ('LB - Include Main Image in Gallery', 'ZEN_LIGHTBOX_GALLERY_MAIN_IMAGE', 'true', '<br />If true, the main product image will be included in the lightbox gallery.<br /><br /><b>Default: true</b>', @gid, 19, NOW(), NOW(), NULL, 'zen_cfg_select_option(array(''true'', ''false''),'),
                ('LB - EZ-Pages Support', 'ZEN_LIGHTBOX_EZPAGES', 'true', '<br />If true, the lightbox effect will be used for linked images on all EZ-Pages.<br /><br /><b>Default: true</b>', @gid, 20, NOW(), NOW(), NULL, 'zen_cfg_select_option(array(''true'', ''false''),'),
                ('LB - File Types', 'ZEN_LIGHTBOX_FILE_TYPES', 'jpg,png,gif', '<br />On EZ-Pages, the lightbox effect will be applied to all images with one of the following file types.<br /><br /><b>Default: jpg,png,gif</b><br />', @gid, 21, NOW(), NOW(), NULL, NULL);
                
                
                ##############################
                # Add values for German admin
                ##############################
                
                INSERT INTO configuration_group (configuration_group_id, language_id, configuration_group_title, configuration_group_description, sort_order, visible ) VALUES 
                (@gid, 43, 'Zen Lightbox', 'Zen Lightbox Einstellungen', '1', '1');
                
                
                REPLACE INTO configuration_language (configuration_title, configuration_key, configuration_description, configuration_language_id) VALUES
                ('LB - Zen Lightbox aktivieren?', 'ZEN_LIGHTBOX_STATUS', 'Wenn auf true werden alle Produktbilder beim Click darauf innerhalb einer Lightbox angezeigt auf folgenden Seiten: <br /><br />- document_general_info<br />- document_product_info<br />- page (EZ-Pages)<br />- product_free_shipping_info<br />- product_info<br />- product_music_info<br />- product_reviews<br />- product_reviews_info<br />- product_reviews_write<br /><br /><b>Voreinstellung: true</b><br />',    43),
                ('LB - Overlay Transparenz', 'ZEN_LIGHTBOX_OVERLAY_OPACITY', '<br />Steuert die Transparenz des Overlays<br /><br /><b>Voreinstellung: 0.8</b><br />',    43),
                ('LB - Overlay Fade Dauer', 'ZEN_LIGHTBOX_OVERLAY_FADE_DURATION', 'Steuert die Dauer des Fade Effekts des Overlays. Angegeben in Millisekunden.<br /><br /><b>Voreinstellung: 400</b><br />',    43),
                ('LB - Resize Dauer', 'ZEN_LIGHTBOX_RESIZE_DURATION', 'Geschwindigkeit der Bildvergrößerung. Angegeben in Millisekunden.<br /><br /><b>Voreinstellung: 400</b><br />',    43),
                ('LB - Resize Übergangseffekt</b>', 'ZEN_LIGHTBOX_RESIZE_TRANSITION', 'Benutzerdefinierte Steuerung des Vergrößerungseffekts<br/><br/><b>Voreinstellung: false</b><br />',    43),
                ('LB - Anfangsbreite', 'ZEN_LIGHTBOX_INITIAL_WIDTH', '<br />Wenn der Resize Effekt aktiv ist, startet die Lightbox mit der hier eingestellten Breite.<br /><br />Hinweis: Dieser Wert ist in Pixel anzugeben.<br /><br /><b>Voreinstellung: 250</b><br />',    43),
                ('LB - Anfangshöhe', 'ZEN_LIGHTBOX_INITIAL_HEIGHT', '<br />Wenn der Resize Effekt aktiv ist, startet die Lightbox mit der hier eingestellten Höhe.<br /><br />Hinweis: Dieser Wert ist in Pixel anzugeben.<br /><br /><b>Voreinstellung: 250</b><br />',    43),
                ('LB - Dauer des Fade Effekts', 'ZEN_LIGHTBOX_IMAGE_FADE_DURATION', '<br />Stellen Sie hier die Dauer des Fade Effekts eins.<br /><br />Hinweis: Dieser Wert ist in Millisekunden anzugeben.<br /><br /><b>Voreinstellung: 400</b><br />',    43),
                ('LB - Dauer des Caption Effekts', 'ZEN_LIGHTBOX_CAPTION_ANIMATION_DURATION', '<br />Stellen Sie hier die Dauer der Caption Animation ein.<br /><br />Hinweis: Dieser Wert ist in Millisekunden anzugeben.<br /><br /><b>Voreinstellung: 400</b><br />',    43),
                ('LB - Bildzähler anzeigen', 'ZEN_LIGHTBOX_COUNTER', '<br />Wenn auf true wird bei mehreren Bildern unterhalb des Bilds in der Lightboxein Bildzähler angezeigt.<br /><br /><b>Voreingestellt: true</b><br/>',    43),
                ('LB - Lightbox beim Anclicken des Bildes schliessen?', 'ZEN_LIGHTBOX_CLOSE_IMAGE', 'Wenn auf true gestellt, schliesst sich die Lightbox wenn aufs Bild geklickt wird.<br /><br /><b>Voreinstellung: false</b><br />',    43),
                ('LB - Lightbox beim Klick aufs Overlay schliessen?', 'ZEN_LIGHTBOX_CLOSE_OVERLAY', 'Wenn auf true gestellt, schliesst sich die Lightbox wenn aufs Overlay geklickt wird.<br /><br /><b>Voreinstellung: false</b><br />',    43),
                ('LB - Vor/Zurück Buttons immer anzeigen?', 'ZEN_LIGHTBOX_PREV_NEXT', 'Wenn auf true gestellt, werden die Vor/Zurück Buttons immer angezeigt sofern zusätzliche Artikelbilder vorhanden sind.<br /><b>Voreinstellung: true</b><br />',    43),
                ('LB - Tastatur Navigation', 'ZEN_LIGHTBOX_KEYBOARD_NAVIGATION', 'Sollen Tastaturbefehle die Lightbox steuern können?<br/><br/><b>Voreinstellung: true</b><br />',    43),
                ('LB - Lightbox schliessen', 'ZEN_LIGHTBOX_ESCAPE_KEYS',    '<br />Die Lightbox wird geschlossen, wenn eine dieser Tasten gedrückt wird.<br /><br />Hinweis: Nur <a href="http://en.wikipedia.org/wiki/ASCII" target="_blank">ASCII</a> dezimale Werte dürfen verwendet werden, mit Komma getrennt (falls Sie mehrere Werte angeben).<br /><br /><b>Voreinstellung: 27,88,67</b><br />',    43),
                ('LB - Vorheriges Bild', 'ZEN_LIGHTBOX_PREVIOUS_KEYS', '<br />Die Lightbox zeigt das vorherige Bild - falls verfügbar -, wenn eine dieser Tasten gedrückt wird.<br /><br />Hinweis: Nur <a href="http://en.wikipedia.org/wiki/ASCII" target="_blank">ASCII</a> dezimale Werte dürfen verwendet werden, mit Komma getrennt (falls Sie mehrere Werte angeben).<br /><br /><b>Voreinstellung: 37,80</b><br />',    43),
                ('LB - Nächstes Bild', 'ZEN_LIGHTBOX_NEXT_KEYS', '<br />Die Lightbox zeigt das nächste Bild - falls verügbar -, wenn eine dieser Tasten gedrückt wird.<br /><br />Hinweis: Nur <a href="http://en.wikipedia.org/wiki/ASCII" target="_blank">ASCII</a> dezimale Werte dürfen verwendet werden, mit Komma getrennt (falls Sie mehrere Werte angeben).<br /><br /><b>Voreinstellung: 39,78</b><br />',    43),
                ('LB - Galerie Modus', 'ZEN_LIGHTBOX_GALLERY_MODE', 'Sollen die zusätzlichen Artikelbilder in der Lightbox Galerie angezeigt werden?<br/><br/><b>Voreinstellung: true</b><br />', 43),
                ('LB - Hauptbild in der Galerie anzeigen', 'ZEN_LIGHTBOX_GALLERY_MAIN_IMAGE', 'Soll das Hauptbild in der Galerie enthalten sein?<br/><br/><b>Voreinstellung: true</b><br />',    43),
                ('LB - Lightbox auf EZ Pages', 'ZEN_LIGHTBOX_EZPAGES', 'Soll die Lightbox auch bei Bildern auf EZ-Pages angewandt werden?<br/><br/><b>Voreinstellung: true</b><br />',    43),
                ('LB - Dateitypen', 'ZEN_LIGHTBOX_FILE_TYPES', 'Auf EZ Pages wird der Lightbox Effekt auf alle Bilder mit den hier eingestellten Dateitypen angewandt.<br/><br/><b>Voreinstellung: jpg,gif,png</b><br />',    43);
                
                
                ###################################
                # Register for Admin Access Control
                ###################################
                
                INSERT INTO admin_pages (page_key,language_key,main_page,page_params,menu_key,display_on_menu,sort_order)
                VALUES ('configProdZenLightbox','BOX_CONFIGURATION_PRODUCT_ZENLIGHTBOX','FILENAME_CONFIGURATION',CONCAT('gID=',@gid),'configuration','Y',@gid);
                Im Original Installer liegt der Grund wie sehr oft bei mit der heißen Nadel gestrickten amerikanischen Modulen daran, dass sowas hier geschrieben wird:

                Code:
                //Zen Lightbox
                $db->Execute("[COLOR=#ff0000]INSERT IGNORE INTO " . TABLE_CONFIGURATION_GROUP . " VALUES[/COLOR]
                (NULL, 'Zen Lightbox', 'Configure Zen Lightbox settings', '0', '1');");
                Die Felder, der Tabelle configuration_group, in die was geschrieben werden soll werden nicht explizit angegeben und das geht immer schief, wenn die andere Felder enthält als eine amerikanische Standard Version.
                Die deutsche Version hat in der Tabelle configuration_group ein zusätzliches Feld namens language_id und daher ein Feld mehr.
                Den Wert für die configuration_id mit NULL überhaupt anzugeben ist unnötig und schlechter Stil, genauso wie die Felder gar nicht erst anzugeben.

                Korrekt wäre:

                Code:
                $db->Execute("INSERT IGNORE INTO " . TABLE_CONFIGURATION_GROUP . " (configuration_group_title, configuration_group_description, sort_order, visible) VALUES
                ('Zen Lightbox', 'Configure Zen Lightbox settings', '1', '1');");
                Weiter oben z.B. bei Carousel Featured Products macht er es korrekt

                Hab jetzt nicht alles durchgeschaut ob noch weitere solcher Fehler drin sind.

                Kommentar

                Info zu diesem Forenarchiv:
                Mit Release von 1.5.7 wurde die deutsche Zen Cart Version auf eine reine DIY-Lösung umgestellt.
                Für einen Support via Forum stehen keine personellen und zeitlichen Ressourcen mehr zur Verfügung.
                Dieses Supportforum bleibt im Nur-Lesen-Modus als Wissensarchiv noch online verfügbar.
                PM Funktionalität, Registrierung und Posten neuer Beiträge sind deaktiviert.
                Zugriff auf Anhänge in den Postings ist auch ohne Registrierung/Einloggen möglich.
                FAQ und Downloadbereich des Forums wurden in die neue umfangreiche Knowledgebase auf der zen-cart-pro.at Website übernommen.

                Das Development der deutschen Zen Cart Version geht wie bisher auf Github weiter.
                Wir werden auch weiterhin neue Versionen bereitstellen und die Onlinedokumentation/Knowledgebase aktualisieren.
                Fehler in der Software können auf Github als Issues gemeldet werden.
                Follow us
                aktuelle version
                Zen Cart 1.5.7g deutsch
                vom 12.12.2023
                [Download]
                Lädt...
                X