I'm having a problem with greypop 1.2.2. On some gallery pages I get a slew of php error messages:
Notice: Undefined offset: 506 in /websites/nerowest.com-old/gallery/modules/lightbox/Callbacks.inc on line 100
At the same time you load one of these pages, it spikes the CPU usage a lot.
On a side note, the close button doesn't seem to work on Safari.
FreeBSD 6.1
Apache 2.2
PHP 5.2
Gallery 2.1.1a
lvthunder
Joined: 2003-09-12
Posts: 808
Posted: Wed, 2007-03-14 04:01
Do you have a link so I can take a look? Obviously I don't have that problem. Also what type of things are in your albums (IE are they all JPG's). Also do you have the EXIF module activated? Your the first to have this problem that I know of.
If you scroll to the bottom you'll see a bunch of errors. If you click next, you'll see them above and below the pictures.
This was an import of a v1 gallery. This is the second time it was imported since I thought maybe the import was causing these problems. They are all JPGs.
Yes EXIF was running. I deactivated it and it is still producing the errors. It is still off.
Well being the first, that would explain why a few hours of searching through the boards and on google didn't produce anything useful.
Also if it would be useful, I can give you admin access to the gallery and/or a shell on the system. Email at
if that would help.
lvthunder
Joined: 2003-09-12
Posts: 808
Posted: Wed, 2007-03-21 20:16
cwsiii,
I'm not sure what's causing your problem with all the undefined offsets. I do know that if you turn the module off they will go away and lightbox will only see the images on the screen. With the number of images you have in your albums it's using a lot of resources getting all the EXIF information. All that data loads for all the images lightbox sees when the page loads. Also with lightbox enabled you need to make sure you have no ' in the titles. Which at least in the album I checked there are some. That breaks the link.
cwsiii
Joined: 2007-03-13
Posts: 4
Posted: Fri, 2007-03-23 06:44
I didn't know apostrophes weren't allowed in the titles. Maybe that's causing the other problems, since some pages don't get the errors? I'll go through and remove all apostrophes from titles and give you an update. Thanks for looking into this.
Just an FYI, a friend setup up a similar config on his server and got some of those same error messages, though he had a lot less. I'll see if he has apostrophes as well.
cwsiii
Joined: 2007-03-13
Posts: 4
Posted: Fri, 2007-03-23 08:21
When you looked at it EXIF was turned off. I tried turning off all modules except lightbox, but that didn't help, so this is definately a lightbox issue. I haven't yet cleaned titles of apostrophes, but the main places where I was seeing the issue was on pages where a bunch of albums were listed.
For now I have turned lightbox off. I'll look a bit closer later when I have more time. Out of curiosity, what is that code block doing that is generating all those errors?
LiquidSnake
Joined: 2007-03-23
Posts: 5
Posted: Fri, 2007-03-23 14:16
Hi ! your theme is great, but ive got a lot of troubles with the new mp3audio module, it doesnt work at all.
Ive installed the last stable version 2.2 but it doesnt fix the problem.
With firefox the flash layout appears right but when i start playing the mp3 it doesnt start,it keeps always trying to restart the mp3.
With IE the flash buttons are totally pressed on the left, totally unusables.
Got any suggestion to fix on the fly ?
Thank in advance,
Ale
(sorry for my spaghetti english..:D)
lvthunder
Joined: 2003-09-12
Posts: 808
Posted: Fri, 2007-03-23 15:25
cwsiii wrote:
When you looked at it EXIF was turned off. I tried turning off all modules except lightbox, but that didn't help, so this is definately a lightbox issue. I haven't yet cleaned titles of apostrophes, but the main places where I was seeing the issue was on pages where a bunch of albums were listed.
For now I have turned lightbox off. I'll look a bit closer later when I have more time. Out of curiosity, what is that code block doing that is generating all those errors?
Here is the line of code that is causing the error. if ($resizedIds[$id][0]) {
LiquidSnake
Joined: 2007-03-23
Posts: 5
Posted: Tue, 2007-03-27 21:33
lvthunder any suggestion for my problem ?
lvthunder
Joined: 2003-09-12
Posts: 808
Posted: Tue, 2007-03-27 21:42
I haven't had a chance to use the mp3 module yet so I'm not sure what to say. I might have some time to do this in the next day or two.
marcel_str
Joined: 2007-03-20
Posts: 4
Posted: Wed, 2007-03-28 18:17
@cwsiii I have the same problem. Now, looking over the internet brought me here:
They don't really give a sollution, but in any case, you can supress notice messages and enjoy your gallery. What to do is simply search for "error_reporting" and make it: "= E_ALL ^ E_NOTICE"
Ofcourse also my desire still is to understand this issue. Hope lvthunder or anyone else is able to give us the answer.
Marcel.
lvthunder
Joined: 2003-09-12
Posts: 808
Posted: Sat, 2007-03-31 22:39
LiquidSnake, I found the problem with the mp3's starting over. Until I release the next version of the theme just replace the file in this post in themes/greypop/templates.
LiquidSnake
Joined: 2007-03-23
Posts: 5
Posted: Sun, 2007-04-01 00:48
great job lvthunder...
Your fix works with Firefox and IE6,still bugged with IE7,but maybe IE7 is bugged.
lvthunder
Joined: 2003-09-12
Posts: 808
Posted: Sun, 2007-04-01 03:49
I don't know what to say. I tested it in IE7 on Vista and didn't have a problem.
LiquidSnake
Joined: 2007-03-23
Posts: 5
Posted: Sun, 2007-04-01 13:44
maybe i've got some wrong settings,i don't know, i'll check them out....
Thanks again for your support.
lvthunder
Joined: 2003-09-12
Posts: 808
Posted: Thu, 2007-04-05 01:36
How many of you are using G2.2 and how many are still on G2.1. I have made some substantial changes to the code (I doubt you would notice much of it on the screen) but I need to know if you want it 2.1 compatible or if you want it to work right in 2.2 with dynamic albums.
L5eoneill
Joined: 2004-07-02
Posts: 16
Posted: Thu, 2007-04-05 14:13
I have 2 sites using Graypop that are G2.1.2. Don't know when they'll be upgraded.
--eon--
LiquidSnake
Joined: 2007-03-23
Posts: 5
Posted: Thu, 2007-04-05 21:21
i upgraded my gallery to 2.2 just for mp3audio module...i needed to add some mp3 streaming to my site.
My advice is to develop for 2.2 with dynamic albums.
Keep up the good work.
byebye
lvthunder
Joined: 2003-09-12
Posts: 808
Posted: Fri, 2007-04-06 22:32
Well I just uploaded a new version of the theme. This version will work with G2.1. It will also work with 2.2 but the dynamic stuff may not work right. I have fixed the problem with the mp3's, all those PHP Notices (that I could see), and I reworked the lightbox module. If you didn't make any customizations to greypop I would delete the lightbox module directory and the greypop theme folders. I have moved some of the files around to better facilitate the use of the lightbox module in other themes. I will make a version for 2.2 and it will be available in the downloadable plugins feature in G2.2.
I have tried it and I LOVE it. I am having some problems though (Gallery 2.2.1). It seems after you add a few hundred or so images, there is a problem. It does not load the thumbnails and gives me an error that I have listed below. Its only on the greypop theme (others work fine). Keep in mind, this only occures in my most recently uploaded albums.
An error has occurred while interacting with the database.
The exact nature of database errors is not captured unless Gallery debug mode is enabled in config.php. Before seeking support for this error please enable buffered debug output and retry the operation. Look near the bottom of the lengthy debug output to find error details.
Back to the Gallery
Error Detail -
Error (ERROR_STORAGE_FAILURE)
* in modules/core/classes/GalleryStorage.class at line 690 (gallerycoreapi::error)
* in modules/core/classes/GalleryCoreApi.class at line 2765 (mysqlstorage::updatemapentry)
* in modules/core/classes/GallerySession.class at line 358 (gallerycoreapi::updatemapentry)
* in main.php at line 100 (gallerysession::save)
* in main.php at line 83
System Information
Gallery version 2.2.1
PHP version 4.3.11 cgi-fcgi
Webserver Apache
Database mysqlt 4.1.22-max-log
Operating system Linux linhost161.prod.mesa1.secureserver.net 2.4.21-27.ELsmp #1 SMP Wed Dec 1 21:59:02 EST 2004 i686
Browser Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.11) Gecko/20070312 Firefox/1.5.0.11
lvthunder
Joined: 2003-09-12
Posts: 808
Posted: Thu, 2007-04-12 03:47
It's not surprising you are getting database errors. You are loading a lot of information from the database. With lightbox enabled it queries the database for each image (in your case 175 times). I didn't get that error but saw some images that it rendered the lightbox link wrong. If you see those can you move a couple into an album by themself so I can see if that is being caused by something in the image or something in the code.
tccompcal
Joined: 2003-06-11
Posts: 5
Posted: Fri, 2007-04-13 15:20
cwsiii wrote:
I didn't know apostrophes weren't allowed in the titles. Maybe that's causing the other problems, since some pages don't get the errors? I'll go through and remove all apostrophes from titles and give you an update. Thanks for looking into this.
Just an FYI, a friend setup up a similar config on his server and got some of those same error messages, though he had a lot less. I'll see if he has apostrophes as well.
I have same problem as you have. My question is how do know your lighbox is active or inactive. I have check in module but can't find any thing to config. Do I have to resize image smaller because my images are real big. I also setup only Greypop them is active and default.
This themes is nice.
Thanks
lvthunder
Joined: 2003-09-12
Posts: 808
Posted: Fri, 2007-04-13 15:49
If you use the current version of the theme and module you can use apostrophes in your titles. I found a way to make it not break the link. To check if lightbox is active or not check check and make sure it is active on the modules page. Then make sure the checkbox is checked in the theme options page.
tccompcal
Joined: 2003-06-11
Posts: 5
Posted: Fri, 2007-04-13 16:30
Thanks, it work like a charm!
mb3k
Joined: 2007-02-17
Posts: 4
Posted: Tue, 2007-04-17 18:00
I have an message on each picture that I view on the bottom of each picture when I use Lightbox. It says:
Quote:
Notice: Undefined offset: 1 in \gallery\modules\core\classes\GalleryTemplateAdapter.class on line 694
Line 694 in GalleryTemplateAdapter.class appears to be:
Quote:
list ($module, $file) = explode('.', $params['type']);
Any help would be appreciated!
lvthunder
Joined: 2003-09-12
Posts: 808
Posted: Tue, 2007-04-17 21:30
I don't see the error. Did you have debug mode enabled when you saw these or were you just logged in as admin.
mb3k
Joined: 2007-02-17
Posts: 4
Posted: Wed, 2007-04-18 00:47
Well the text is in white, and the error appears in the white bottom area once you click on a photo (underneath "View Photo Page"). You have to highlight it to see it.
lvthunder
Joined: 2003-09-12
Posts: 808
Posted: Wed, 2007-04-18 04:23
Do you have anything in the blocks to add to lightbox under the greypop theme options. Also are you using a gallery integration. If you are does it work in stand alone G2?
mb3k
Joined: 2007-02-17
Posts: 4
Posted: Wed, 2007-04-18 04:47
lvthunder wrote:
Do you have anything in the blocks to add to lightbox under the greypop theme options. Also are you using a gallery integration. If you are does it work in stand alone G2?
No, there is nothing in the Blocks to show in Lightbox.
I had to embed the gallery into a .php file so it matches my website better. I'm not sure what your question is asking...
lvthunder
Joined: 2003-09-12
Posts: 808
Posted: Wed, 2007-04-18 15:03
Sometimes the embed can introduce new variables so I was asking if you still get the error when you go to just the standard gallery not your embed one, but I now don't think that's the problem. Try adding something in that block like Item Actions or EXIF and see if the error goes away. If it does I know what the problem is and can get a solution together pretty quick. If not I'm going to have to think some more.
mb3k
Joined: 2007-02-17
Posts: 4
Posted: Wed, 2007-04-18 17:25
No, I just added Item Actions and it still has the error.
I checked it with the standard gallery as well as the embedded and still no luck.
jsalsa
Joined: 2007-04-25
Posts: 4
Posted: Thu, 2007-04-26 14:38
Hi lvthunder !
First, great theme, I really like it.
I have one issue, and one question.
Let's start with the issue: The close button doesn't appear. When I look at the link self-generated, it shows path like http://www.mywebsite.com/gallery/v/PathtoMyAlbum/modules .... I suppose that's why it doesn't find the image which is there I checked in http://www.mywebsite.com/gallery/modules. How can I correct this link ?
Now, here comes the question: On your demo website, when looking at the photo pages (not the album one), the previous and next pictures were on the left, and on the right side. Mine are above & below. May I ask why ;o) How can I have them aside ?
Thanks a lot for in advance,
and thanks for letting us use your work !
JM
PS: I forgot to say that I use greypop130, and Gallery 2.2.1
lvthunder
Joined: 2003-09-12
Posts: 808
Posted: Thu, 2007-04-26 14:52
OK The first issue is a bug I found when you have URLRewrite turned on. I have a fix, but I need to test it a little more. As for your question it depends on the image orientation. I have the next and previous above and below for landscape pictures and left and right for portrait pictures.
I'll try to get the update for the URLRewrite out sometime this week. In the meantime it will work if you turn URLRewrite off.
Also if you click off to the bottom of the image lightbox closes as well.
jsalsa
Joined: 2007-04-25
Posts: 4
Posted: Thu, 2007-04-26 15:54
Thanks for the quick reply.
I changed a little bit your code in the meantime.
in lightbox.js, I changed the realtive path to absolute.
So that everything shows up (I saw that I was missing loading and expand buttons as well)
One more question, how to do define zone to trigger the prev/next images/div ?
Cause I would like to have let's say one fourth on each side to make them appear, and the rest to do the same as the show picture shown below.
Thanks a lot once more.
JM
PS: I found the prev/next percentage in lightbox.css. Would you have an idea how to be able to click on the middle to access the photo.tpl page ... Thanks?
PPS: I was looking at albumlight.tpl code, and saw on line 121 that the title has something wrong ... it seems there is a ' missing somewhere ...
lvthunder
Joined: 2003-09-12
Posts: 808
Posted: Thu, 2007-04-26 16:04
I really don't know much about lightbox itself. I didn't write it. I just integrated it into my theme so I don't know how to modify it. I'll take a look at the albumlight.tpl later to see what your talking about.
chaminator
Joined: 2007-05-11
Posts: 12
Posted: Fri, 2007-05-11 02:53
LV, Awesome theme! I just want to put a white border around my thumbnails and photos. I don't need the shadow because I made my background black so they won't show up. So I uploaded the imageframes module because that sounds like the only way to make a border. But in the modules window in admin it says I need core api 7.4 and module api 3.2, while I have 7.3 and 3.0 respectively. This still seems like a pretty inefficient way of doing something that should be simple css or even <img> tag attributes, but I'm trying it. So how do I upgrade to 7.4 and 3.2 so I can start working on the imageframe module? I guess my version of Greypop is 122. Thanks a bunch. I'll be sending you a well-deserved donation when I get these issues sorted out.
Bob
lvthunder
Joined: 2003-09-12
Posts: 808
Posted: Fri, 2007-05-11 04:37
Thanks for the complement.
Which version of G2 do you have? There is a version of the imageframe module for every version of G2. If you don't have 2.2.1 I would upgrade to it since it sounds like you are just getting started with G2. Once you get that you can either make image or CSS imageframes.
iburns
Joined: 2007-05-12
Posts: 3
Posted: Sat, 2007-05-12 05:27
lvthunder, this is a very cool theme. It is nice, simple, and elegant. I have been using it with the lightbox options. I did have one question. You mention that version 1.30 supports apostrophes in picture titles. I have been trying it out and it doesn't work for me. I don't really know PHP very well, but I can sort of understand how you are doing the replacement. I don't quite understand what is being captured.
Worked like a champ. Thanks a lot and keep up the good work. Kudos to you for the theme.
chaminator
Joined: 2007-05-11
Posts: 12
Posted: Tue, 2007-05-15 20:58
Well I upgraded to 2.2.1 and after some debugging got it working properly. But I still get this when I go to modules in the admin:
ImageFrame 1.0.5 Render frames around images
Incompatible module!
Core API Required: 7.4 (available: 7.3)
Module API Required: 3.2 (available: 3.0)
So maybe the upgrade didn't actually go through. How can I tell what version I'm running?
Do I need to update the theme after upgrading the Gallery version?
lvthunder
Joined: 2003-09-12
Posts: 808
Posted: Tue, 2007-05-15 21:20
Under Maintenance run the System Information and post what it says.
chaminator
Joined: 2007-05-11
Posts: 12
Posted: Tue, 2007-05-15 23:53
Well here it is. I can see that I'm not running 2.2.1. Not sure why. I ran the updater and it said It was successful. Guess I'll try it again.
Gallery version = 2.1.2 core 1.1.0.2
PHP version = 5.2.1 apache2handler
Webserver = Apache
Database = mysql 4.1.20, lock.system=flock
Toolkits = ArchiveUpload, Exif, Gd, ImageMagick
Acceleration = none, none
Operating system = Linux blue92.dnssys.com 2.6.9-42.0.8.ELsmp #1 SMP Tue Jan 30 12:33:47 EST 2007 i686
Default theme = greypop
Locale = en_US
Browser = Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)
chaminator
Joined: 2007-05-11
Posts: 12
Posted: Fri, 2007-05-18 14:47
I found an older version of the Imageframe module and got it working with G2.1.
I'd like to upgrade to 2.2.1 but for now I'm cutting my losses and just getting the thing to work.
Thanks for the help.
AllanB
Joined: 2007-03-01
Posts: 40
Posted: Sun, 2007-06-10 03:33
I have installed version 1.3.0 ... yet I am still having issues with apostrophes. I am getting the "View Photo Page" link at the bottom of the album page along with 'rel="lightbox[photos]">. Any ideas as to why this still occurs?
Also - if "blocks to show on album pages" is empty, then I get an error - "Fatal error: cannot use string offset as an array in .../modules/core/callbacks.inc on line 54". If I include any block, the error goes away, but the block doesn't show up.
Blocks for lightbox do not appear.
I am using G2.1.2 with a bridge in Joomla. For some reason, everything works "as is" on my local test server with the same configuration.
Any suggestions?
Thanks!
Allan
lvthunder
Joined: 2003-09-12
Posts: 808
Posted: Sun, 2007-06-10 05:07
There is a bug in 1.3.0 with the apostrophe thing. I'll try to get a new version out tomorrow. Do your other problems happen when G2 on your production server is standalone?
AllanB
Joined: 2007-03-01
Posts: 40
Posted: Mon, 2007-06-11 01:44
lv-
Thanks for your response. I think it's actually worse when it's standalone. I haven't tried changing the blocks, but the formatting gets totally skewed, the sidebar blocks show up on the main page (left side) ... very strange. I noticed that when it's bridged, the sidebar icons don't appear (just drop down boxes for item actions, etc) but when I go back to Matrix, everything is fine.
Here is the site - www.rhubarbdiaries.com ... but as I said before, it seems to be fine right now "as is" (with the adjustments made to compensate for the apostrophes, album page blocks, etc).
Allan
d3s
Joined: 2007-01-29
Posts: 8
Posted: Fri, 2007-06-15 11:13
hi there
this is the perfect theme i've been looking for....however i want to ask...is it stable to use? as in is it pretty much bug free because above are so many posts of errors. could someone tell me if it's fine to use it now?
cheers
lvthunder
Joined: 2003-09-12
Posts: 808
Posted: Fri, 2007-06-15 15:30
While I cannot guarantee that the theme will work on everyones system. It works fine on my test system and my web host. This thread has been around since November of 2005. I have made modifications along the way. The only bug I know of right now is with having apostrophe's in your title if you are using the lightbox feature. Hopefully thid afternoon I'll get the new version uploaded.
The other thing you don't see is how many people don't have problems with the theme. Now I have no idea exactly how many people have downloaded this theme, but it's just like everything else on the web. You generally don't see posts that say wow that was easy I had no problems at all.
Posts: 4
I'm having a problem with greypop 1.2.2. On some gallery pages I get a slew of php error messages:
Notice: Undefined offset: 506 in /websites/nerowest.com-old/gallery/modules/lightbox/Callbacks.inc on line 100
At the same time you load one of these pages, it spikes the CPU usage a lot.
On a side note, the close button doesn't seem to work on Safari.
FreeBSD 6.1
Apache 2.2
PHP 5.2
Gallery 2.1.1a
Posts: 808
Do you have a link so I can take a look? Obviously I don't have that problem. Also what type of things are in your albums (IE are they all JPG's). Also do you have the EXIF module activated? Your the first to have this problem that I know of.
Posts: 4
http://www.nerowest.com/gallery/v/NERO_West_Official/
If you scroll to the bottom you'll see a bunch of errors. If you click next, you'll see them above and below the pictures.
This was an import of a v1 gallery. This is the second time it was imported since I thought maybe the import was causing these problems. They are all JPGs.
Yes EXIF was running. I deactivated it and it is still producing the errors. It is still off.
Well being the first, that would explain why a few hours of searching through the boards and on google didn't produce anything useful.
Also if it would be useful, I can give you admin access to the gallery and/or a shell on the system. Email at
if that would help.
Posts: 808
cwsiii,
I'm not sure what's causing your problem with all the undefined offsets. I do know that if you turn the module off they will go away and lightbox will only see the images on the screen. With the number of images you have in your albums it's using a lot of resources getting all the EXIF information. All that data loads for all the images lightbox sees when the page loads. Also with lightbox enabled you need to make sure you have no ' in the titles. Which at least in the album I checked there are some. That breaks the link.
Posts: 4
I didn't know apostrophes weren't allowed in the titles. Maybe that's causing the other problems, since some pages don't get the errors? I'll go through and remove all apostrophes from titles and give you an update. Thanks for looking into this.
Just an FYI, a friend setup up a similar config on his server and got some of those same error messages, though he had a lot less. I'll see if he has apostrophes as well.
Posts: 4
When you looked at it EXIF was turned off. I tried turning off all modules except lightbox, but that didn't help, so this is definately a lightbox issue. I haven't yet cleaned titles of apostrophes, but the main places where I was seeing the issue was on pages where a bunch of albums were listed.
For now I have turned lightbox off. I'll look a bit closer later when I have more time. Out of curiosity, what is that code block doing that is generating all those errors?
Posts: 5
Hi ! your theme is great, but ive got a lot of troubles with the new mp3audio module, it doesnt work at all.
Ive installed the last stable version 2.2 but it doesnt fix the problem.
With firefox the flash layout appears right but when i start playing the mp3 it doesnt start,it keeps always trying to restart the mp3.
With IE the flash buttons are totally pressed on the left, totally unusables.
Got any suggestion to fix on the fly ?
Thank in advance,
Ale
(sorry for my spaghetti english..:D)
Posts: 808
Here is the line of code that is causing the error.
if ($resizedIds[$id][0]) {
Posts: 5
lvthunder any suggestion for my problem ?
Posts: 808
I haven't had a chance to use the mp3 module yet so I'm not sure what to say. I might have some time to do this in the next day or two.
Posts: 4
@cwsiii I have the same problem. Now, looking over the internet brought me here:
http://www.programmingtalk.com/showthread.php?threadid=36618
They don't really give a sollution, but in any case, you can supress notice messages and enjoy your gallery. What to do is simply search for "error_reporting" and make it: "= E_ALL ^ E_NOTICE"
Ofcourse also my desire still is to understand this issue. Hope lvthunder or anyone else is able to give us the answer.
Marcel.
Posts: 808
LiquidSnake, I found the problem with the mp3's starting over. Until I release the next version of the theme just replace the file in this post in themes/greypop/templates.
Posts: 5
great job lvthunder...
Your fix works with Firefox and IE6,still bugged with IE7,but maybe IE7 is bugged.
Posts: 808
I don't know what to say. I tested it in IE7 on Vista and didn't have a problem.
Posts: 5
maybe i've got some wrong settings,i don't know, i'll check them out....
Thanks again for your support.
Posts: 808
How many of you are using G2.2 and how many are still on G2.1. I have made some substantial changes to the code (I doubt you would notice much of it on the screen) but I need to know if you want it 2.1 compatible or if you want it to work right in 2.2 with dynamic albums.
Posts: 16
I have 2 sites using Graypop that are G2.1.2. Don't know when they'll be upgraded.
--eon--
Posts: 5
i upgraded my gallery to 2.2 just for mp3audio module...i needed to add some mp3 streaming to my site.
My advice is to develop for 2.2 with dynamic albums.
Keep up the good work.
byebye
Posts: 808
Well I just uploaded a new version of the theme. This version will work with G2.1. It will also work with 2.2 but the dynamic stuff may not work right. I have fixed the problem with the mp3's, all those PHP Notices (that I could see), and I reworked the lightbox module. If you didn't make any customizations to greypop I would delete the lightbox module directory and the greypop theme folders. I have moved some of the files around to better facilitate the use of the lightbox module in other themes. I will make a version for 2.2 and it will be available in the downloadable plugins feature in G2.2.
Greypop 1.3.0
Posts: 808
So has anyone tried the new version?
Posts: 1
I have tried it and I LOVE it. I am having some problems though (Gallery 2.2.1). It seems after you add a few hundred or so images, there is a problem. It does not load the thumbnails and gives me an error that I have listed below. Its only on the greypop theme (others work fine). Keep in mind, this only occures in my most recently uploaded albums.
check out this page to see what I'm talking about http://majorpixels.com/gallery2/main.php?g2_itemId=4325&g2_page=10
Posts: 808
It's not surprising you are getting database errors. You are loading a lot of information from the database. With lightbox enabled it queries the database for each image (in your case 175 times). I didn't get that error but saw some images that it rendered the lightbox link wrong. If you see those can you move a couple into an album by themself so I can see if that is being caused by something in the image or something in the code.
Posts: 5
I have same problem as you have. My question is how do know your lighbox is active or inactive. I have check in module but can't find any thing to config. Do I have to resize image smaller because my images are real big. I also setup only Greypop them is active and default.
This themes is nice.
Thanks
Posts: 808
If you use the current version of the theme and module you can use apostrophes in your titles. I found a way to make it not break the link. To check if lightbox is active or not check check and make sure it is active on the modules page. Then make sure the checkbox is checked in the theme options page.
Posts: 5
Thanks, it work like a charm!
Posts: 4
I have an message on each picture that I view on the bottom of each picture when I use Lightbox. It says:
I'm running GreyPop 1.3.0 with Gallery 2.1.2
Here's the link to my gallery if you want to see the error: http://www.mb3k.com/gallery/gallery2embedded.php
Line 694 in GalleryTemplateAdapter.class appears to be:
Any help would be appreciated!
Posts: 808
I don't see the error. Did you have debug mode enabled when you saw these or were you just logged in as admin.
Posts: 4
Well the text is in white, and the error appears in the white bottom area once you click on a photo (underneath "View Photo Page"). You have to highlight it to see it.
Posts: 808
Do you have anything in the blocks to add to lightbox under the greypop theme options. Also are you using a gallery integration. If you are does it work in stand alone G2?
Posts: 4
No, there is nothing in the Blocks to show in Lightbox.
I had to embed the gallery into a .php file so it matches my website better. I'm not sure what your question is asking...
Posts: 808
Sometimes the embed can introduce new variables so I was asking if you still get the error when you go to just the standard gallery not your embed one, but I now don't think that's the problem. Try adding something in that block like Item Actions or EXIF and see if the error goes away. If it does I know what the problem is and can get a solution together pretty quick. If not I'm going to have to think some more.
Posts: 4
No, I just added Item Actions and it still has the error.
I checked it with the standard gallery as well as the embedded and still no luck.
Posts: 4
Hi lvthunder !
First, great theme, I really like it.
I have one issue, and one question.
Let's start with the issue: The close button doesn't appear. When I look at the link self-generated, it shows path like http://www.mywebsite.com/gallery/v/PathtoMyAlbum/modules .... I suppose that's why it doesn't find the image which is there I checked in http://www.mywebsite.com/gallery/modules. How can I correct this link ?
Now, here comes the question: On your demo website, when looking at the photo pages (not the album one), the previous and next pictures were on the left, and on the right side. Mine are above & below. May I ask why ;o) How can I have them aside ?
Thanks a lot for in advance,
and thanks for letting us use your work !
JM
PS: I forgot to say that I use greypop130, and Gallery 2.2.1
Posts: 808
OK The first issue is a bug I found when you have URLRewrite turned on. I have a fix, but I need to test it a little more. As for your question it depends on the image orientation. I have the next and previous above and below for landscape pictures and left and right for portrait pictures.
I'll try to get the update for the URLRewrite out sometime this week. In the meantime it will work if you turn URLRewrite off.
Also if you click off to the bottom of the image lightbox closes as well.
Posts: 4
Thanks for the quick reply.
I changed a little bit your code in the meantime.
in lightbox.js, I changed the realtive path to absolute.
So that everything shows up (I saw that I was missing loading and expand buttons as well)
One more question, how to do define zone to trigger the prev/next images/div ?
Cause I would like to have let's say one fourth on each side to make them appear, and the rest to do the same as the show picture shown below.
Thanks a lot once more.
JM
PS: I found the prev/next percentage in lightbox.css. Would you have an idea how to be able to click on the middle to access the photo.tpl page ... Thanks?
PPS: I was looking at albumlight.tpl code, and saw on line 121 that the title has something wrong ... it seems there is a ' missing somewhere ...
Posts: 808
I really don't know much about lightbox itself. I didn't write it. I just integrated it into my theme so I don't know how to modify it. I'll take a look at the albumlight.tpl later to see what your talking about.
Posts: 12
LV, Awesome theme! I just want to put a white border around my thumbnails and photos. I don't need the shadow because I made my background black so they won't show up. So I uploaded the imageframes module because that sounds like the only way to make a border. But in the modules window in admin it says I need core api 7.4 and module api 3.2, while I have 7.3 and 3.0 respectively. This still seems like a pretty inefficient way of doing something that should be simple css or even <img> tag attributes, but I'm trying it. So how do I upgrade to 7.4 and 3.2 so I can start working on the imageframe module? I guess my version of Greypop is 122. Thanks a bunch. I'll be sending you a well-deserved donation when I get these issues sorted out.
Bob
Posts: 808
Thanks for the complement.
Which version of G2 do you have? There is a version of the imageframe module for every version of G2. If you don't have 2.2.1 I would upgrade to it since it sounds like you are just getting started with G2. Once you get that you can either make image or CSS imageframes.
Posts: 3
lvthunder, this is a very cool theme. It is nice, simple, and elegant. I have been using it with the lightbox options. I did have one question. You mention that version 1.30 supports apostrophes in picture titles. I have been trying it out and it doesn't work for me. I don't really know PHP very well, but I can sort of understand how you are doing the replacement. I don't quite understand what is being captured.
Is there anything I should look for to troubleshoot why my replacement isn't working?
In addition, I was wondering if the "'" shouldn't be "'".
Ian
Posts: 808
Well it looks like I messed up. The link should be as follows. See if that works and let me know.
Posts: 3
Worked like a champ. Thanks a lot and keep up the good work. Kudos to you for the theme.
Posts: 12
Well I upgraded to 2.2.1 and after some debugging got it working properly. But I still get this when I go to modules in the admin:
ImageFrame 1.0.5 Render frames around images
Incompatible module!
Core API Required: 7.4 (available: 7.3)
Module API Required: 3.2 (available: 3.0)
So maybe the upgrade didn't actually go through. How can I tell what version I'm running?
Do I need to update the theme after upgrading the Gallery version?
Posts: 808
Under Maintenance run the System Information and post what it says.
Posts: 12
Well here it is. I can see that I'm not running 2.2.1. Not sure why. I ran the updater and it said It was successful. Guess I'll try it again.
Gallery version = 2.1.2 core 1.1.0.2
PHP version = 5.2.1 apache2handler
Webserver = Apache
Database = mysql 4.1.20, lock.system=flock
Toolkits = ArchiveUpload, Exif, Gd, ImageMagick
Acceleration = none, none
Operating system = Linux blue92.dnssys.com 2.6.9-42.0.8.ELsmp #1 SMP Tue Jan 30 12:33:47 EST 2007 i686
Default theme = greypop
Locale = en_US
Browser = Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)
Posts: 12
I found an older version of the Imageframe module and got it working with G2.1.
I'd like to upgrade to 2.2.1 but for now I'm cutting my losses and just getting the thing to work.
Thanks for the help.
Posts: 40
I have installed version 1.3.0 ... yet I am still having issues with apostrophes. I am getting the "View Photo Page" link at the bottom of the album page along with 'rel="lightbox[photos]">. Any ideas as to why this still occurs?
Also - if "blocks to show on album pages" is empty, then I get an error - "Fatal error: cannot use string offset as an array in .../modules/core/callbacks.inc on line 54". If I include any block, the error goes away, but the block doesn't show up.
Blocks for lightbox do not appear.
I am using G2.1.2 with a bridge in Joomla. For some reason, everything works "as is" on my local test server with the same configuration.
Any suggestions?
Thanks!
Allan
Posts: 808
There is a bug in 1.3.0 with the apostrophe thing. I'll try to get a new version out tomorrow. Do your other problems happen when G2 on your production server is standalone?
Posts: 40
lv-
Thanks for your response. I think it's actually worse when it's standalone. I haven't tried changing the blocks, but the formatting gets totally skewed, the sidebar blocks show up on the main page (left side) ... very strange. I noticed that when it's bridged, the sidebar icons don't appear (just drop down boxes for item actions, etc) but when I go back to Matrix, everything is fine.
Here is the site - www.rhubarbdiaries.com ... but as I said before, it seems to be fine right now "as is" (with the adjustments made to compensate for the apostrophes, album page blocks, etc).
Allan
Posts: 8
hi there
this is the perfect theme i've been looking for....however i want to ask...is it stable to use? as in is it pretty much bug free because above are so many posts of errors. could someone tell me if it's fine to use it now?
cheers
Posts: 808
While I cannot guarantee that the theme will work on everyones system. It works fine on my test system and my web host. This thread has been around since November of 2005. I have made modifications along the way. The only bug I know of right now is with having apostrophe's in your title if you are using the lightbox feature. Hopefully thid afternoon I'll get the new version uploaded.
The other thing you don't see is how many people don't have problems with the theme. Now I have no idea exactly how many people have downloaded this theme, but it's just like everything else on the web. You generally don't see posts that say wow that was easy I had no problems at all.