Thanks for the informaton.
I'll have a look into this sometime next week and release a patch/update to correct any issues (if possible).
Printable View
Thanks for the informaton.
I'll have a look into this sometime next week and release a patch/update to correct any issues (if possible).
Hey All
I followed the installation instructions to a tee and reinstalled a few times as well but still get this error when I apply the sql patch.
1146 Table 'allergicaredb.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 body have any idea?
Go back a page or 2... There were a couple of us having that issue. try adding zen_ to the beginning of configuration_group in your SQL coding.
I checked what I downloaded and I installed v1.5 - I found the instance of v1.4 it is in the coding of the fix for the cherry template. Here is the code:
and the one with v1.5Code:<?php
/**
* Module Template
*
* @package templateSystem
* @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: tpl_modules_main_product_image.php 3208 2006-03-19 16:48:57Z birdbrain $
*/
?>
<?php require(DIR_WS_MODULES . zen_get_module_directory(FILENAME_MAIN_PRODUCT_IMAGE)); ?>
<!-- bof Zen Lightbox v1.4 aclarke 2007-09-15 -->
<table><tr><td align="center">
<div id="productMainImage" class="centeredContent back">
<?php
if ($current_page_base == 'product_reviews') {
$zen_lightbox_products_name = $products_name_reviews_page;
} else {
$zen_lightbox_products_name = $products_name;
}
if (ZEN_LIGHTBOX_STATUS == 'true') {
echo '<script language="javascript" type="text/javascript"><!--
document.write(\'<a href="' . zen_lightbox($products_image_large, addslashes($products_name), LARGE_IMAGE_WIDTH, LARGE_IMAGE_HEIGHT) . '" rel="lightbox[gallery]" title="' . addslashes($zen_lightbox_products_name) . '">' . zen_image($products_image_medium, addslashes($products_name), MEDIUM_IMAGE_WIDTH, MEDIUM_IMAGE_HEIGHT) . '</div></a></td></tr>\')//--></script>';
} else {
echo '<script language="javascript" type="text/javascript"><!--
document.write(\'<a href="javascript:popupWindow(\\\'' . zen_href_link(FILENAME_POPUP_IMAGE, 'pID=' . $_GET['products_id']) . '\\\')">' . zen_image($products_image_medium, addslashes($products_name), MEDIUM_IMAGE_WIDTH, MEDIUM_IMAGE_HEIGHT) . '</div></a></td></tr>\')//--></script>';
}
?>
<!-- eof Zen Lightbox v1.4 aclarke 2007-09-15 -->
<div id="productMainImage" class="centeredContent back">
<noscript>
<?php
echo '<a href="' . zen_href_link(FILENAME_POPUP_IMAGE, 'pID=' . $_GET['products_id']) . '" target="_blank">' . zen_image($products_image_medium, $products_name, MEDIUM_IMAGE_WIDTH, MEDIUM_IMAGE_HEIGHT) . '</a><br /><a span class="imgLink">' . TEXT_CLICK_TO_ENLARGE . '</span></a>';
?>
</noscript>
</div>
<tr><td algin="center"><span class="imgLink"><a href="<?=zen_lightbox($products_image_large, addslashes($products_name), LARGE_IMAGE_WIDTH, LARGE_IMAGE_HEIGHT) . '" rel="lightbox[gallery]" title="' . addslashes($zen_lightbox_products_name); ?>">larger image</a></span></div></td></tr></table>
Code:<?php
/**
* Module Template
*
* @package templateSystem
* @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: tpl_modules_main_product_image.php 3208 2006-03-19 16:48:57Z birdbrain $
*/
?>
<?php require(DIR_WS_MODULES . zen_get_module_directory(FILENAME_MAIN_PRODUCT_IMAGE)); ?>
<div id="productMainImage" class="centeredContent back">
<?php // bof Zen Lightbox 2008-12-15 aclarke ?>
<?php
if (ZEN_LIGHTBOX_STATUS == 'true') {
if (ZEN_LIGHTBOX_GALLERY_MODE == 'true' && ZEN_LIGHTBOX_GALLERY_MAIN_IMAGE == 'true') {
$rel = 'lightbox-g';
} else {
$rel = 'lightbox';
}
?>
<script language="javascript" type="text/javascript"><!--
document.write('<?php echo '<a href="' . zen_lightbox($products_image_large, addslashes($products_name), LARGE_IMAGE_WIDTH, LARGE_IMAGE_HEIGHT) . '" rel="' . $rel . '" title="' . addslashes($products_name) . '">' . zen_image($products_image_medium, addslashes($products_name), MEDIUM_IMAGE_WIDTH, MEDIUM_IMAGE_HEIGHT) . '<br /><span class="imgLink">' . TEXT_CLICK_TO_ENLARGE . '</span></a>'; ?>');
//--></script>
<?php } else { ?>
<?php // eof Zen Lightbox 2008-12-15 aclarke ?>
<script language="javascript" type="text/javascript"><!--
document.write('<?php echo '<a href="javascript:popupWindow(\\\'' . zen_href_link(FILENAME_POPUP_IMAGE, 'pID=' . $_GET['products_id']) . '\\\')">' . zen_image($products_image_medium, addslashes($products_name), MEDIUM_IMAGE_WIDTH, MEDIUM_IMAGE_HEIGHT) . '<br /><span class="imgLink">' . TEXT_CLICK_TO_ENLARGE . '</span></a>'; ?>');
//--></script>
<?php // bof Zen Lightbox 2008-12-15 aclarke ?>
<?php } ?>
<?php // eof Zen Lightbox 2008-12-15 aclarke ?>
<noscript>
<?php
echo '<a href="' . zen_href_link(FILENAME_POPUP_IMAGE, 'pID=' . $_GET['products_id']) . '" target="_blank">' . zen_image($products_image_medium, $products_name, MEDIUM_IMAGE_WIDTH, MEDIUM_IMAGE_HEIGHT) . '<br /><span class="imgLink">' . TEXT_CLICK_TO_ENLARGE . '</span></a>';
?>
</noscript>
</div>
raspberryjamcloth, this file (the Cherry Zen fixed one) was written for v1.4 of Zen Lightbox. It will not work correctly with v1.5.
A quick fix would be to find the following code in this file...
and replace it with...Code:rel="lightbox[gallery]"
This should work, but I don't use the Cherry Zen template so cannot confirm this.Code:rel="lightbox-g"
I've added this issue to my todo list and v1.6 will include an up-to-date fix for the Cherry Zen template.
I hope the above fix works. Please let me know how you get on.
hi,sorry form my english, i've just installed lightbox mod for my zen cart, it seem to work....so image pop up in light box correctly
but no options to configure it appear in admin->configuration->Zen LightBox
what can i do? is it a known issue?
Some people have reported an issue with the install.sql code. I'm looking in to this at the moment.
Can you please confirm the version of MySQL you are running.
Also, did you receive any error messages when running the SQL code?
mysql : 4.1.23
no error when inserting the sql mod code, but i've done it with phpmyadmin and correcting the name of the table adding the prefix zen_
So, you have things working now?
I think part of the SQL code doesn't work (the table prefix is not inserted automatically).
If this is the case, I'll correct this in the next release.
Alex - that takes off the next and prev off the main pic and will work untill you release the next. Thank you!
didn't work yet, maybe i explain me in a bad way
installation seems to be ok, no error adding sql trough phpmyadmin
but when i go in admin section, setting does not display