Zen Cart Logo
Forums / All Other Contributions/Addons / Zen Lightbox addon [Support Thread]

Zen Lightbox addon [Support Thread]

Views: 952,880

Results 1,641 to 1,660 of 3,722
18 Dec 2009, 2:05 AM
#1641
robert_nz avatar

robert_nz

New Zenner

Join Date:
Dec 2009
Posts:
6
Plugin Contributions:
0

Zen Lightbox addon [Support Thread]

Hi DarkAngel

Thanks so much for your help!! The debugging tool showed me the issue. my configure.php was pointing to the wrong path (DIR_FS_CATALOG was set to another web sites directory. This must have happended when I copied it previously).

Its working great.

A side question but is it possible to show the products description in the 'light box' as well as the name ?

Thanks
Rob

18 Dec 2009, 3:05 AM
#1642
darkangel avatar

darkangel

Totally Zenned

Join Date:
Oct 2007
Location:
Emporia, Kansas
Posts:
1,729
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

well it did work this time...lol

um are you using IE or Firefox...cause I got the lightbox to come up

I would not enter the info in the lightbox...leaving it as it is is best I know that the lightbox has given me problems if the image is too big in width by not letting it scroll or even close.

18 Dec 2009, 5:57 AM
#1643
deadeye avatar

deadeye

Zen Follower

Join Date:
Jul 2005
Posts:
109
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

Was there ever any consensus regarding the images being blank in browsers other the IE 8? I was looking forever for problems using Google Chrome, then finally tried IE8 and presto...it worked. Google Chrome just comes up with a blank white image, but IE 8 works correctly.

18 Dec 2009, 6:14 AM
#1644
darkangel avatar

darkangel

Totally Zenned

Join Date:
Oct 2007
Location:
Emporia, Kansas
Posts:
1,729
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

my guess is that since chrome is so "new" still it is like opera started out...dicey...lol

I have a customer also that just emailed me as to why she could not see the lightbox and that all she got is a white page.

found out she is using chrome so informed her of the problem.

it is something coded into chrome I would assume...has anyone tried using it at other sites that may use some sort of lightbox?

the creator has not been in for a long time so not sure if they are working on it or have quit working on their add on.

18 Dec 2009, 11:03 AM
#1645
anshii avatar

anshii

New Zenner

Join Date:
Dec 2009
Posts:
35
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

How did you do it?

Dimascus:

Got it working finally... 1 thing was missing for some reason in my sql code. It works now... what a headache... lol

Thanks for all your time DarkAngel.

18 Dec 2009, 2:23 PM
#1646
anshii avatar

anshii

New Zenner

Join Date:
Dec 2009
Posts:
35
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

Finally got the SQL correct, thanks for the great contribution :smile:

I have tested on both FireFox 3.5.6 and Chrome - both only showed white page without image. Hence I would assume this is not universally applicable or is there anything to be changed in the coding?

DarkAngel:

my guess is that since chrome is so "new" still it is like opera started out...dicey...lol

I have a customer also that just emailed me as to why she could not see the lightbox and that all she got is a white page.

found out she is using chrome so informed her of the problem.

it is something coded into chrome I would assume...has anyone tried using it at other sites that may use some sort of lightbox?

the creator has not been in for a long time so not sure if they are working on it or have quit working on their add on.

18 Dec 2009, 8:20 PM
#1647
megabonez avatar

megabonez

New Zenner

Join Date:
Dec 2009
Posts:
3
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

Hello,

I seen some posts already with this issue but cannot seem to find a solution for mine. I am running 1.3.8a, lightbox 1.5, my own created theme (i didnt make any modifications to it yet, just set it up from scratch), no addons yet besides this, new install.

When I click on the image, it does not come up in a light box, it just opens in a new page (same window).

All folders are named properly... not sure what it is. Please PM me and I will give you my development address.

Thanks,
-A

21 Dec 2009, 11:29 AM
#1648
abs007 avatar

abs007

Zen Follower

Join Date:
Mar 2009
Location:
Peterborough UK
Posts:
330
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

DarkAngel:

@abs007:

there is no such thing as a dumb question except the one you keep to yourself. If we all knew exactly what to do then we would not be here helping each other...lol

  1. you need to look at your database (see the one that is pictured in the above post) to see what your prefix (the part in red of my post) to your tables is.

  2. that is what you replace my red words with.

Then after you fix your install file you upload it either through the database or through store admin section.

@Dimascus:

yay you got it done!!!

@abs007:

the only problem is that not everyone has the same prefix to their database tables. Which seems to be the main part of the problems found here. plus like me, I could not get it to install from the store admin section, I had to install it via the database

Hi dark angel
thank you ever so much for your help. I still can not manage to get it to work. Heres wht I did

I replaced all the red coding in your previous post to my database so it reads

INSERT INTO abs007_zc4_configuration_group VALUES (NULL, 'Zen Lightbox', 'Configure Zen Lightbox settings', '0', '1');
UPDATE abs007_zc4_configuration_group SET sort_order = LAST_INSERT_ID() WHERE configuration_group_id = LAST_INSERT_ID();

SELECT @cgi := configuration_group_id FROM abs007_zc4_configuration_group WHERE configuration_group_title = 'Zen Lightbox';

INSERT INTO abs007_zc4_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

This is the error that I am getting

1146 Table 'abs007_zc4.abs007_zc4_configuration_group' doesn't exist
in:
[SELECT @cgi := configuration_group_id FROM abs007_zc4_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.

not too sure what im doing wrong. I got the database name from my configure.php file

thanks

21 Dec 2009, 8:02 PM
#1649
darkangel avatar

darkangel

Totally Zenned

Join Date:
Oct 2007
Location:
Emporia, Kansas
Posts:
1,729
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

abs007:

not too sure what im doing wrong. I got the database name from my configure.php file

thanks

That may be the trouble...

you wrote:abs007_zc4_configuration_group

I think that it should read: zc4_configuration_group

what you entered is the database name but not the table prefix, this is why I ask everyone to take a screen shot of the database tables.

when you go to your mysql manager (myPhpadmin for some) you will see the name of the database in the list (if you have more than one database), clicking the name will show you all the tables in a list

look at the tables and see what is written immediately in front of them---that is the prefix

take a screen shot of yours---tables only then post it to verify the prefix...

then we can take it from there

21 Dec 2009, 8:11 PM
#1650
darkangel avatar

darkangel

Totally Zenned

Join Date:
Oct 2007
Location:
Emporia, Kansas
Posts:
1,729
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

anshii:

Finally got the SQL correct, thanks for the great contribution :smile:

I have tested on both FireFox 3.5.6 and Chrome - both only showed white page without image. Hence I would assume this is not universally applicable or is there anything to be changed in the coding?

there is a known issue with it not working in chrome but in firefox you should see the lightbox in action.

I would suggest:

  1. you ensure the folder items are in their proper place on your server...by manually viewing/comparing the zip to the server

  2. all Your_template folders actually are in the server where indicated and renamed to your template name you are using....example mostlygrey template used...name of folder should be mostlygrey, this is to override the default to yours.

  3. while verifying...actually upload the files into proper places again...sometimes the internet hiccups and they can get corrupted.

If it is in the admin/configuration section allowing you to set the controls then it may just be a corrupt file.

also--go to the site here>upper navigation panel>addons

find the dibugging tool and install that file into includes/extra_configures

make cache folder permissions set to 777

then try the naughty page, check the cache folder for the error file then post results here AFTER you remove the debug tool file.

21 Dec 2009, 9:56 PM
#1651
abs007 avatar

abs007

Zen Follower

Join Date:
Mar 2009
Location:
Peterborough UK
Posts:
330
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

Hi Thanks alot Dark Angel

Well I checked the prefix from my phpmyadmin area - I should have copied you - the prefix is zen_

Anyway I changed the code to match your initial one and I got a different error. The screenshots of both phpmyadmin and the error are below. It processed a few statements but not others.


21 Dec 2009, 10:13 PM
#1652
darkangel avatar

darkangel

Totally Zenned

Join Date:
Oct 2007
Location:
Emporia, Kansas
Posts:
1,729
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

ok next question...does it show in the admin/configuration section allowing you to change the settings--or is it listed but empty page?

and you are using the default classic theme right?

21 Dec 2009, 10:23 PM
#1653
abs007 avatar

abs007

Zen Follower

Join Date:
Mar 2009
Location:
Peterborough UK
Posts:
330
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

this is strange
yesterday it showed it in the admin configuration area twice and now that ive taken a look it isnt there.

Yes the classic template - a brand new instalation just to test the modules before adding them to my main site. I have only changed the includes>templates to point to includes>templates>MYTEMPLATE

Your gonna tell me i havnt added the files correctly arnt you? Im just going through them again now

21 Dec 2009, 10:31 PM
#1654
abs007 avatar

abs007

Zen Follower

Join Date:
Mar 2009
Location:
Peterborough UK
Posts:
330
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

yup
checked all the files and they all look sound - the template is set to MYTEMPLATE and I have added all the files as they were meant to be added

22 Dec 2009, 12:18 AM
#1655
darkangel avatar

darkangel

Totally Zenned

Join Date:
Oct 2007
Location:
Emporia, Kansas
Posts:
1,729
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

abs007:

yup
checked all the files and they all look sound - the template is set to MYTEMPLATE and I have added all the files as they were meant to be added

ok bear with me here.

when the folders are called your_template,, they need to be renamed to the name of the template you are using for your shop...the template you are using in your store at this moment...

is is the classic one or is it really a template called MYTEMPLATE

22 Dec 2009, 9:53 AM
#1656
anshii avatar

anshii

New Zenner

Join Date:
Dec 2009
Posts:
35
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

I have done all the below steps of re-installing the mod but still FireFox displays only a blank page. It works perfectly on IE8 though.

I have also installed the debugging tool but I guess no errors were found as there wasn't any error file in /cache/ There was errors earlier but it was from my other mod not uninstalled properly. After I clean that up, no more error was logged and still FireFox is displaying blank.

DarkAngel:

there is a known issue with it not working in chrome but in firefox you should see the lightbox in action.

I would suggest:

  1. you ensure the folder items are in their proper place on your server...by manually viewing/comparing the zip to the server

  2. all Your_template folders actually are in the server where indicated and renamed to your template name you are using....example mostlygrey template used...name of folder should be mostlygrey, this is to override the default to yours.

  3. while verifying...actually upload the files into proper places again...sometimes the internet hiccups and they can get corrupted.

If it is in the admin/configuration section allowing you to set the controls then it may just be a corrupt file.

also--go to the site here>upper navigation panel>addons

find the dibugging tool and install that file into includes/extra_configures

make cache folder permissions set to 777

then try the naughty page, check the cache folder for the error file then post results here AFTER you remove the debug tool file.

22 Dec 2009, 12:18 PM
#1657
darkangel avatar

darkangel

Totally Zenned

Join Date:
Oct 2007
Location:
Emporia, Kansas
Posts:
1,729
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

anshii:

I have done all the below steps of re-installing the mod but still FireFox displays only a blank page. It works perfectly on IE8 though.

I have also installed the debugging tool but I guess no errors were found as there wasn't any error file in /cache/ There was errors earlier but it was from my other mod not uninstalled properly. After I clean that up, no more error was logged and still FireFox is displaying blank.

what is the link to your store

22 Dec 2009, 12:19 PM
#1658
anshii avatar

anshii

New Zenner

Join Date:
Dec 2009
Posts:
35
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

DarkAngel:

what is the link to your store

https://www.lilpixies.com

22 Dec 2009, 5:00 PM
#1659
darkangel avatar

darkangel

Totally Zenned

Join Date:
Oct 2007
Location:
Emporia, Kansas
Posts:
1,729
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

ok, I tried it in Netscape Navigator 9, Firefox 2 on a macintosh and firefox 3.5.5 on the laptop along with IE8

it does work in ie8 but not in the other browsers.

now for starters the one thing I can think of that may be messing about with FF is the length of the file name:
46b5e453034862df49191c85dd2fb2e1.image.57x120.jpg

try calling it just plain testpromo.jpg

why is it in the cache folder and not in the images folder?
http://lilpixies.com/bmz_cache/4/46b5e453034862df49191c85dd2fb2e1.image.57x120.jpg

try shortening the name, moving it to the stores images folder and see if that makes it behave any different. it might be all those periods in the image name that are the problem too

when you go to admin/configuration/lightbox, do the settings show--all of them?

did you have any errors while installing it?

23 Dec 2009, 7:11 AM
#1660
anshii avatar

anshii

New Zenner

Join Date:
Dec 2009
Posts:
35
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

DarkAngel:

ok, I tried it in Netscape Navigator 9, Firefox 2 on a macintosh and firefox 3.5.5 on the laptop along with IE8

it does work in ie8 but not in the other browsers.

now for starters the one thing I can think of that may be messing about with FF is the length of the file name:
46b5e453034862df49191c85dd2fb2e1.image.57x120.jpg

try calling it just plain testpromo.jpg

why is it in the cache folder and not in the images folder?
http://lilpixies.com/bmz_cache/4/46b5e453034862df49191c85dd2fb2e1.image.57x120.jpg

try shortening the name, moving it to the stores images folder and see if that makes it behave any different. it might be all those periods in the image name that are the problem too

when you go to admin/configuration/lightbox, do the settings show--all of them?

did you have any errors while installing it?

The original image file is in /images/ and it is named correctly. bmz_cache is Image Handler's cache folder and apparently, there is no way to rename the files - IH2 creates the file name automatically. I have tried renaming - but it will generate another with such long names again. I have asked the creator what is the purpose of bmz_cache - it is where IH2 stores its cached images so that they load faster and in different sizes. I have also tried to change permission on the folder after clearing the cache so that it is not writable but still, FireFox displays only a blank white page.

Yes I believe admin is showing all of the settings - I have attached a screenshot.

I had problems with SQL when installing but have had them fixed. It was the prefixes which was giving me problems.

I was told that Zen Lightbox works perfectly well with IH2 so am not sure where this problem this.