i installed the lightbox correctly, but on clicking the images the image open in a full window,
www.baanallc.com
:oops:
Printable View
i installed the lightbox correctly, but on clicking the images the image open in a full window,
www.baanallc.com
:oops:
Hi All,
I have just installed Zen Lightbox on a Fresh install of Zen-Cart 1.3.8a.
I kept getting CGI Configuration Error Everyone seems to be having and No one seems to know how to fix it!!
When I go to configuration/zen lightbox, it's there but there is nothing showing up in it?
After a lot of Trials & Errors, I figured out the easy fix/solution, it worked for me so I'm sure it should work for most of you.
ALL I did was ADD (zen_) to the line below, I will make it Bold so you see where it went:
SELECT @cgi := `configuration_group_id` FROM `zen_configuration_group` WHERE `configuration_group_title` = 'Zen Lightbox';
That's it, Before you install Zen Lightbox, change that code in the SQL before installing and you won't get any errors!
Always backup your database through PHPMyAdmin as you should Always have the latest backup copy just incase, that's how I managed to solve this through Trial & Error without too much trouble!
I am not sure why it hasn't been added to the actual Contribution as it would save a LOT of people a lot of headaches!
If the above worked for you, give me a shout so I know :)
Best Regards,
(rlexyd)
first off you need to go to your server files (c-panel) and set the configuration files permissions:
Warning: I am able to write to the configuration file: /home/pic13687/public_html/baanallc.com/includes/configure.php. This is a potential security risk - please set the right user permissions on this file (read-only, CHMOD 644 or 444 are typical). You may need to use your webhost control panel/file-manager to change the permissions effectively. Contact your webhost for assistance. See this FAQ
2nd, double check to make sure you do have the files in the proper places...including the template folders you needed to create.
that is one of the places it needs to be added if you have a prefix for your tables. Back further in this thread is the actual places with the words in red and also if it will not install through the admin section then going to the actual database/sql tab will allow the installation.
Although it has been noted several times before this is good you did it again to keep it fresh for the noobs---the red part being the actual prefix of the database
This is the first part of the SQL installer:
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, '<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''), '),
Hi DarkAngel,
Thank you for your reply :)
I found the previous post which you made the (zen_) in Red colour to show what needs to be changed, However the problem is I did as you said and it didn't install properly!
The only way I could get it to Install FLAWLESSLY and Got it to WORK 100% is by only adding one (zen_) to only one line which is shown below...
SELECT @cgi := `configuration_group_id` FROM `zen_configuration_group` WHERE `configuration_group_title` = 'Zen Lightbox';
So if the above worked 100%, I think it is safe that nothing else is needed since it is working the way it should and I see all the required links in configuration/zen lightbox.
Am I correct or do you think otherwise?
Please advise.
Best Regards,
this is the weirdest add on i have seen and trust me i have installed severa shops with it and sometimes have a problem with it installing...
i would just keep an eye on it. you got no error messages and all the controls are there and allowing you to set it to your liking so that is what counts.
Hi, I have just installed Zen Lightbox on a test server. My site is both in English and Bulgarian. All is working fine except this close buton missing only in Bulgarian version. I uploaded the same files in Bulgarian folder as in English. Where am I wrong?
got a problem here.. not sure is it repeated problem as the pages is too large for me to go through 1 by 1..
my lightbox doesnt work.. when I click on the pictures.. it doesnt have any lightbox effect. can someone advised where my problem at?
my site
thanks
Quote:
Originally Posted by Terrier http://www.zen-cart.com/forum/images...s/viewpost.gif
got a problem here.. not sure is it repeated problem as the pages is too large for me to go through 1 by 1..
my lightbox doesnt work.. when I click on the pictures.. it doesnt have any lightbox effect. can someone advised where my problem at?
my site
thanks
to both of you, please verify that you have uploaded the files to the right places and make sure it is the right files too, sometimes accidently uploading a file to the wrong folder will mess things up.
do you see the controls in the configuration section of admin?
any errors when you installed it
what template are you using
did you create a folder with your templates name in the area indicated in the files from the zip?