Gallery 1.6 Alpha3 Bugs

Tim_j
Tim_j's picture

Joined: 2002-08-15
Posts: 6818
Posted: Mon, 2007-01-08 06:42

This topic is a for users who have installed Gallery 1.6-alpha3 and have specific bugs to report.
General troubleshooting questions do NOT go in this thread, and will be moved or deleted without asking or warning.

For general feedback, suggestions and discussion use this link.

Fixed Versions are available via SVN or separately from Jens' archive.

To see what was fixed from alpha2 to alpha3, please see 1.6 Alpha2 bug thread

Once reported bugs have been acknowledged and fixed, the bug will be noted here, and responses will be deleted to keep the thread readable.

The known list of bugs in 1.6-alpha3, and their statuses:
(Minor bugs are only listed in Changelog)

Fixed:

1.6-RC1-svn-b55
- Quotes in album title broke subalbumtree

1.6-RC1-svn-b42
- Moved inclusion of page header on mainpage before some javascripts to avoid warnings when embedded.

1.6-RC1-svn-b41
- Executables were not called with extension under win32 in various places.
- On some Cameras (e.g. some SONY), jhead and exiftags extracts some fields double and thus an reliable extraction fails.

1.6-RC1-b13
- Bug #1121796 from Tracker. Count of numberered links were little wrong.
- Correct pages jump to next and previous block in navigator.

1.6-RC1-b6
- Images for shadow frame were broken.

1.6-RC1-b3
- When an absolute url is given makeFormIntro, also use unhtmlentities. Broke Captcha
- Remove whitespace in comment textarea.

Investigation in progress:
Rejected:

 
--Peter

Joined: 2005-08-30
Posts: 88
Posted: Tue, 2007-01-30 23:15

hi Jens,

thanks again for your dedication to and your efforts for G1, it's appreciated!

I finally downloaded the RC1 of 1.6 and played around a bit.

I haven't found any bugs so far, but I noted a change from last alpha to RC1 which I did not like much:

I normally have ecards and photo properties active. when the album is displayed this now shows up as little icons below each thumb nail pic. this results in a cluttered album display, I actually prefer the cleaner look & feel without those icons. I did not find a layout/display option to switch of these icons. only disabling the actual functionality (ecards and photo properties) would hide the icons.

please reconsider, thanks!

cheers,
-- Peter
[img]http://www.schumacher.ch/logob.jpg[/img]

 
Tim_j
Tim_j's picture

Joined: 2002-08-15
Posts: 6818
Posted: Wed, 2007-01-31 08:29

Hello Peter,

thanks for testing again.

I thougt it might be a good idea to have all available possibility for an element also available in the thumbview also.
Not only in the imageview.
I agree that this may "clutter" something.
I will think about an album option for this.

Jens
--
Last Gallery v1 Developer and v1 translation manager.

 
--Peter

Joined: 2005-08-30
Posts: 88
Posted: Wed, 2007-01-31 22:02

hi, I played around some more and found the following (v1.6-RC1-svn-b13):

  1. subalbum tree is not shown on main page, even though I'm not using matrix theme and have complete tree enabled
  2. logic of page title (in div g-pagetitle):
    • main page --> gallery title, ok
    • album --> album title, ok
    • subalbum --> subalbum title, ok
    • photo --> gallery title, not ok, should be album or subalbum title (as in 1.5.x)
  3. for a new album I get this php notice msg for every pic on the album page:
    Notice: Undefined index: dimensionsAsPopup in /path2gallery/view_album.php on line 689
    after setting the pop up condition in album properties the notice disappears (= dimensionsAsPopup is defined then?)
  4. function locateDir in lib/setup.php might return an undefined $dir
  5. when adding fotos from a remote web site I get first the following php notice: Notice: Undefined index: userfile in /path2gallery/popups/save_photos.php on line 352 and then a couple of times these warnings with two different missing arguments:
    Warning: Missing argument 4 for imcmd() in /path2gallery/lib/imageManipulation.php on line 723
    Warning: Missing argument 5 for imcmd() in /path2gallery/lib/imageManipulation.php on line 723

cheers,
-- Peter
[img]http://www.schumacher.ch/logob.jpg[/img]

 
Tim_j
Tim_j's picture

Joined: 2002-08-15
Posts: 6818
Posted: Thu, 2007-02-01 10:38

1.) I am not able to reproduce this here.

2.) Changed in b16

3.) Please rerun the config wizard

4.) ?

5.) What exactly did you do to get this error ?

Jens
--
Last Gallery v1 Developer and v1 translation manager.

 
--Peter

Joined: 2005-08-30
Posts: 88
Posted: Thu, 2007-02-01 20:52

ok, let's try to clarify things a bit:

to 1.): I checked the html source actually being presented to the browser (Firefox 2.0.0.1 and IE6): I found a <div> for the subalbum tree <td> that contains javascript code (some YAHOO widget) but nothing is displayed (both browsers have java and javascript enabled). can you point me to a 1.6 gallery page where you know it works? that way I could at least find out whether it's a client or server based problem. however, if browser settings are essential for the display of the subalbum tree, I'd rather prefer the none script way as it is/was in 1.5.x

to 2.) ok, thanks!

to 3.) I do not quite understand why this should help: it happened with a newly created album, not an existing that would first require some update procedure (the wizard actually did some updates to albums the first time I ran it).

to 4.) the php function locateDir in lib/setup.php is not complete, it requires a $dir = null; as initial statement, otherwise the function might return an undefined $dir in some cases

to 5.) I turned developer mode on in config wizard, which in turn activates php notice and warnings reporting. when adding fotos via URL from another website the above mentioned notices and warnings are listed.

hope this helps!

cheers,
-- Peter
[img]http://www.schumacher.ch/logob.jpg[/img]

 
Tim_j
Tim_j's picture

Joined: 2002-08-15
Posts: 6818
Posted: Thu, 2007-02-01 22:12

1.) Sure. http://jems.de/gallery-1.6
Go to page 18 for an album with some subalbums.
It works here with FF 1.5.0.9, FF2.0.0.1, IE6, IE7 and Opera 9.02 on Windows

3.) My assumption is/was that the non-existing value in your config.php is the cause of your problem.
But it seems that there is/was an issue with the album bersion number. So i did another version bump, which should do the trick.
Done in b18

4.) Wow, respect. Good catch ! Fixed in b17 and also 1.5.6-svn-b8

5.) Got it, also fixed in b18

Thanks !

Jens
--
Last Gallery v1 Developer and v1 translation manager.

 
--Peter

Joined: 2005-08-30
Posts: 88
Posted: Fri, 2007-02-02 22:38

to 1.) ok, checked it out, your site worked fine. my site still showed no subalbum tree. I then installed v1.6-RC1-svn-b19 and - voilà - I got the subalbum tree alright. (???)

the subalbum tree sure looks nice, but I do have a major concern: if I want google to find my subalbums this java script solution is a problem, as google will not follow some script generated links. what's the option for a 'google friendly' subalbum tree?

to 3.) still seeings this in v1.6-RC1-svn-b19 for new albums (pics added via URLs)

thanks!

cheers,
-- Peter
[img]http://www.schumacher.ch/logob.jpg[/img]

 
--Peter

Joined: 2005-08-30
Posts: 88
Posted: Fri, 2007-02-02 23:01

some afterthought here:

you changed the page title (as in div g-pagetitle) from gallery to <(sub)album title> :: <Image Name> in b16. my image files normally do not have 'speaking' names, but are rather something like 'wb_img12653.jpg', which does not really render very nicely as large page title. if - at all - I'd rather use the caption for page title display, which might contain something useful or is otherwise empty. well, actually not a good idea either (duplicate caption display, problematic long caption display....).

why not backtrack to what we had in 1.5.x? plain and simple (sub)album name...

thanks & cheers,
-- Peter
[img]http://www.schumacher.ch/logob.jpg[/img]

 
Tim_j
Tim_j's picture

Joined: 2002-08-15
Posts: 6818
Posted: Mon, 2007-02-05 07:07

I think in the Photoview it makes sense to show the name of the photo.
But you are right, the (file)name is bad.
I will switch to the caption.

G1.6 has the new description feature, thus long captions are obsolete ;-)

Jens
--
Last Gallery v1 Developer and v1 translation manager.

 
Tim_j
Tim_j's picture

Joined: 2002-08-15
Posts: 6818
Posted: Mon, 2007-02-05 07:11

1.) Currently i have no other idea then reverting back to the 1.5.x tree.

3.) After rerunning the config wizard and upgrading the albums there shouldnt be any warnings.

Jens
--
Last Gallery v1 Developer and v1 translation manager.

 
--Peter

Joined: 2005-08-30
Posts: 88
Posted: Mon, 2007-02-05 16:48
Tim_j wrote:
I will switch to the caption.

G1.6 has the new description feature, thus long captions are obsolete ;-)

long captions are possibly obsolete for new albums, but what do I do with my zillions of albums (almost) that already have pics with long captions? I don't feel like rearranging them all...

as a side note: for all your design considerations/decisions please keep in mind that most of the 1.6 users will probably be 1.5.x (or earlier) users that are in need of a feature update (such as user groups, yes!), but do not want a big change/step in functionality or 'look and feel' (otherwise they would move to G2, I think). I think this consideration is even more important for an end of life product, as G1 is now 'advertized' (it's not for me, though...). thanks!

cheers,
-- Peter
[img]http://www.schumacher.ch/logob.jpg[/img]

 
Tim_j
Tim_j's picture

Joined: 2002-08-15
Posts: 6818
Posted: Mon, 2007-02-05 18:26

Caption / header : I will think about this.

side note: Thats the trick with 1.6, its meant to be the next step in the G1 Evolution. Every new major G1 versions had changes.
And G1 1.6 is still in the old G1 style. (Popups, etc.)
If people dont like 1.6, they sure can jump to G2 which is completely okay with me.

G1 is indeed an "end of life product" as its just me that keeps it alive. And basically its my hobby.

Jens
--
Last Gallery v1 Developer and v1 translation manager.

 
star3am
star3am's picture

Joined: 2007-02-27
Posts: 4
Posted: Wed, 2007-02-28 10:56

Hey Guys! Hats of to Peter and Tim_j ! Peter your bug reports are so cool man! the open source community thanks you man!

I have installed Gallery 1.6 Alpha3 and have a few bugs to report, maybe they have enev been fixed, but at least you know about them,
my gallery is here: http://www.3am.co.za/modules.php?name=gallery and my gallery config can be found here: http://www.3am.co.za/modules/gallery/2007-02-28_gallery_config.txt
embedded in nuke version: 7.8
my php version is: dev-lang/php-5.1.6-r6
my os is: Linux server 2.6.14-gentoo-r5 #2 SMP PREEMPT Wed Dec 21 08:55:42 EST 2005 i686
my apache version is: net-www/apache-2.0.58-r2

the bugs:
1) when i search for something in gallery it changes the url from http://www.3am.co.za/modules.php?name=gallery to http://www.3am.co.za/modules.php and is no longer embedded within nuke, so my stylesheet and theme is lost :
2) when i submit a comment it does noty post the comment, and when the page refresh i end up on the home page :\
those are the only 2 bugs i found :D so far, just a word of thanks! gallery 1 revamp looks amasing! i don't know how you guys do it!

Enjoy the rest of your day and thank you for the help!
Ciao/Riaan
3am.co.za Psytrance

 
star3am
star3am's picture

Joined: 2007-02-27
Posts: 4
Posted: Wed, 2007-02-28 18:20

Hi Tim_j, hope you have a great day!
Thanks for the help! hehe Alpha, ... but I use gentoo, so I'm used to the bleeding edge :)

I upgraded to latest svn version - gallery-1.6-RC1-svn-b41.tar.gz and it FIXED the Comment Bug
ref: "when i submit a comment it does noty post the comment, and when the page refresh i end up on the home page"

The Search Bug is still there, takes me to http://www.3am.co.za/modules.php outside of the nuke theme, if you need more info or screenshots, anything to help, pls let me know, and i'll gladly get them to you,

a new'ish bug, is that gallery users are not phpnuke users, it used to work fine, but i think the 1.5 upgrade broke it, it's not a train smash, but if it's an easy cookie fix then it would be great? i had a similar bug in oscommerce where my cookie path was wrong,

once again, thanks a whole heap!
Ciao/Riaan
ps. I have seen the 100% CPU thing before, only once, where the pc didn't have the correct drivers installed :\ i think it's the action script in the flash header that similates the leaves, will look into that, what's your FPS in unreal?

3am.co.za Psytrance

 
Tim_j
Tim_j's picture

Joined: 2002-08-15
Posts: 6818
Posted: Wed, 2007-02-28 19:24

Hi,

i am working on the search page bug. Is not done in b41

I dont understand what you are saying about the users "bug".

Jens
--
Last Gallery v1 Developer and v1 translation manager.

 
star3am
star3am's picture

Joined: 2007-02-27
Posts: 4
Posted: Thu, 2007-03-01 08:14

I have about 3500 phpnuke users ... when i look i have 3 gallery users :\ are there no way to sync the two?

3am.co.za Psytrance

 
Tim_j
Tim_j's picture

Joined: 2002-08-15
Posts: 6818
Posted: Thu, 2007-03-01 08:22

Gallery 1.x _uses_ the phpnuke users when embedded.
When standalone it uses its on users.

Gallery 1.x does no syncronisation. The bridge for G2 does this (as far as i know). It duplicates the phpnuke users.
Jens
--
Last Gallery v1 Developer and v1 translation manager.

 
Tim_j
Tim_j's picture

Joined: 2002-08-15
Posts: 6818
Posted: Thu, 2007-03-01 11:31

I installed phpNuke 7.9.
It works fine with Gallery 1.6
http://jems.de/postnuke/html/index.php?name=Gallery
And search for "Snoopy"

So i assume something in your (imho really overloaded site) is disturbing Gallery.

Jens
--
Last Gallery v1 Developer and v1 translation manager.

 
star3am
star3am's picture

Joined: 2007-02-27
Posts: 4
Posted: Sun, 2007-03-04 16:49

hi Tim_j
thanks for the reply, uhm ... you installed postnuke 0.7.6.4 (http://www.postnuke.com/) and not phpnuke 7.9 (http://phpnuke.org/) which is what i am using :)

i have disabled search now, so that takes care of that, thanks anyway

ciao/riaan
3am.co.za Psytrance
edited*

 
Tim_j
Tim_j's picture

Joined: 2002-08-15
Posts: 6818
Posted: Fri, 2007-03-02 11:33

Oh, hoppla.

I meant: http://jems.de/phpnuke/html/modules.php?name=gallery

My fault.

Jens
--
Last Gallery v1 Developer and v1 translation manager.

 
--Peter

Joined: 2005-08-30
Posts: 88
Posted: Wed, 2007-03-07 22:37

sooner than expected I got bleeding b45:

here some findings:

  1. (function) when using the new crop function for full pics I get the following error: The requested URL /path2gallery/popups/crop_photo.php was not found on this server.
  2. (cosmetic) for the new crop function 3:4 screen ratio would be helpful in some cases
  3. (cosmetic) for my understanding the defaults for letterbox and 16:9 hdtv should be landscape format (funny look though...)
  4. (permission) user2 has a subalbum test2 in album test1 of user1. user2 belongs to group1 that has permission to create subalbums in test1. the drop down menu below the thumb of subalbum test2 in test1 album display contains 'Move'. selecting 'Move' generates a popup window with no valid html code, but just with the text 'You are not allowed to perform this action!' when setting group1 permission for 'Modify items' in album test1, then subalbum test2 can be moved properly. the 'Move' command should probably be disabled in the first case.
  5. (cosmetic) layout problem for the 'Move' command: selection combobox for new album is much wider than popup window (drop down arrow not accessible without enlarging window or scrolling. this is probably related to a very long album name, the album names should probably be truncated to a useful length to not disrupt the layout (the problem is illustrated in the file attachment).

that's it for now...

cheers,
-- Peter
[img]http://www.schumacher.ch/logob.jpg[/img]

 
draccie

Joined: 2007-03-08
Posts: 1
Posted: Thu, 2007-03-08 13:19

Have minor cosmetic problem with b42 embedded into postnuke 764

When the 'view comments' link is used as an admin to check for any spam comments, somehow the main theme block text css gets overwritten and so looks a bit unusual. This is a normal hard coded theme and not one that uses any theme engine.

Doesn't affect functionality though and being as users cant access this particular link, would class this as very minor

The attached screen snippet shows the correct version on the right, and what gallery does on the left

Dave

 
Tim_j
Tim_j's picture

Joined: 2002-08-15
Posts: 6818
Posted: Thu, 2007-03-08 16:03

@Peter:

Thanks again for this very good testing.

1.) I was not able to reproduce this. How did you manage to get this ?
2.) Done in b47
3.) Well i would have to make a fancy Javascript that changes the right box to reflect 16:9, or change ALL entries to landscape ;)
4.) Wooow ! I would never have been found this. I agree and fixed this in b48.
Question: What about deletion ? user2 owns the subalbum, but its also an item of the parent album?
5.) HMMM. How would you truncate "DonauDampfschiffartskapitänsalbum" ?
a.) "...änsalbum"
b.) "DonauDam..."
c.) "Dona...lbum"

Jens
--
Last Gallery v1 Developer and v1 translation manager.

 
Tim_j
Tim_j's picture

Joined: 2002-08-15
Posts: 6818
Posted: Thu, 2007-03-08 17:23

@draccie:

Your first post, and it made you an entry in the Changelog :-)
Try b49 and tell me if its fixes your problem.

Thanks,

Jens
--
Last Gallery v1 Developer and v1 translation manager.

 
--Peter

Joined: 2005-08-30
Posts: 88
Posted: Thu, 2007-03-08 22:51
Quote:
Thanks again for this very good testing.

glad to help, thank you for keeping G1 alive and improving it!

Quote:
1.) I was not able to reproduce this. How did you manage to get this ?

well I was just using the crop feature. the 'Preview' button works and shows a properly cropped pic, but when I press the 'Crop' button I get the above mentioned file not found error. when looking at the code the form generation in crop_photo.php is done with

	echo makeFormIntro('crop_photo.php',
		array('name' => 'crop'),
		array('index' => $index, 'type' => 'popup')
	);

which in turn calls - through some wrappers - makeGalleryUrl which contains the following

	if (stristr($target, 'help') === false) {
		if((isset($args['type']) && $args['type'] == 'popup') ||
			!empty($args['gallery_popup'])) {
			$target = "popups/$target";
		}
	}

in url.php. I can't understand why you can't reproduce, because the submit url in the form tag is always generated as gallerybasedir/popups/crop_photo.php

Quote:
2.) Done in b47

thanks!

Quote:
3.) Well i would have to make a fancy Javascript that changes the right box to reflect 16:9, or change ALL entries to landscape ;)

well, when I check my pics I have an awful majority of landscape pics, so yes, why not landscape as default? it's ok with me...

Quote:
4.) Wooow ! I would never have been found this. I agree and fixed this in b48.
Question: What about deletion ? user2 owns the subalbum, but its also an item of the parent album?

hmmm, tricky logic. but I think as there is a separate permission setting for deleting things in an album a user that is only allowed to create/add something to that album is therefore not allowed to delete that again.

Quote:
5.) HMMM. How would you truncate "DonauDampfschiffartskapitänsalbum" ?
a.) "...änsalbum"
b.) "DonauDam..."
c.) "Dona...lbum"

hmmm, got your point. the änsalbum has some appeal, but is probably not very helpful. unique identification of an album is not possible in all cases as soon as some truncating is applied, but IMHO the best way of doing it is your example c).

cheers,
-- Peter
[img]http://www.schumacher.ch/logob.jpg[/img]

 
Tim_j
Tim_j's picture

Joined: 2002-08-15
Posts: 6818
Posted: Fri, 2007-03-09 12:02

1.) Fixed in b50
3.) I'll think about it. As a lot photos are portrait format.
4.) Hmm, tricky tricky ..
"delete items" description says its for photos. So we could really use this for photos/movies ONLY, or use it for any kind of items.
If we use it for photos/movies only, then an subalbum owner should be allowed to delete the album.
If not, we must also forbid to delete the album for owner in the options inside the subalbum

And we have "modify items". Currently it also says its for photos(movies) But if "move" is not allowed when "modify items" is not set, then the owner should not be allowed to modify the album name etc etc.
But then this also shouldnt be allowed inside the album ... Which is not nice for owners.

5.) Done in b52

Jens
--
Last Gallery v1 Developer and v1 translation manager.

 
AndrewVasilyev

Joined: 2005-03-24
Posts: 20
Posted: Tue, 2007-04-10 01:05

Bugs in 1.6-RC1-svn-b54:

1. Albums sub-tree is not displayed for large number of albums
(see http://foto.L7.ru/gallery-1.6/ vs http://foto.L7.ru/gallery/ - the last is 1.5.6).
Checked in IE 6 and FireFox 1.5.

2. At stats-wizard.php and validate_albums.php the order of "return to admin page" and "return to gallery" links
is reverse those at "Filesystem Usage", "find comment spam" and "find orphans" pages.

 
Tim_j
Tim_j's picture

Joined: 2002-08-15
Posts: 6818
Posted: Tue, 2007-04-10 09:47

Hello Andrew,

thanks for testing Gallery 1.6 and reporting issues!

1.)
I think its not a problem of large albums. It seems its a naming problem.
Your Gallery produces JS error which shouldnt be there.
Can you go to my Gallery http://jems.de/gallery-1.6/ login with gallery/gallery and make albums with the same names?
So i can test.

2.)
You are right.
What would you prefer ?

a.)
[return to admin page] [return to gallery]

or

b.)
[return to gallery] [return to admin page]

Jens
--
Last Gallery v1 Developer and v1 translation manager.

 
AndrewVasilyev

Joined: 2005-03-24
Posts: 20
Posted: Tue, 2007-04-10 11:15

0. Thank you for your support of 1.x branch! I'll prefer to use it rather than 2.x as long as I can.
If one could help me to create a theme for 1.6 looking like my favorite skin "none" in 1.5.x,
I'll be even more happy!

2. IMHO the a) is better ([return to admin...] [return to gallery]): the last link appeared alone
at the Admin page, so it should remains most right in the upper corner :-))

1. First of all, I've got
Warning: html_entity_decode() [function.html-entity-decode]: cannot yet handle MBCS! in /home/jens/public_html/gallery-1.6/lib/lang.php on line 763
after switching to Russian (KOI8-R) locale.

> and make albums with the same names?

Do you mean the same URL-s (directory names) or the same Titles (in Russian)?

 
Tim_j
Tim_j's picture

Joined: 2002-08-15
Posts: 6818
Posted: Tue, 2007-04-10 11:47

0.) You like the blue 1.5.x skin ?!?! Amazing. You are the second (i am the first ;) )
I will try to make a 1.5 skin for you this week.

2.) Okay, i will make it so.

1.) Hmm, according to the PHP-dev list, this was fixed in PHP5, i use 5.2.1 :-|

If possible both.

Jens
--
Last Gallery v1 Developer and v1 translation manager.

 
AndrewVasilyev

Joined: 2005-03-24
Posts: 20
Posted: Tue, 2007-04-10 22:11

One more issue when building the albums tree: if we have the album title ending with CRLF (\r\n),
the problem still exists. Here is the dump of album.dat file:
O:5:"album":5:{s:6:"fields";a:69:{s:5:"title";s:11:"Маерхофен\r\n
";[...]. And the page js fails.
Probably we need more escaping in content.php?

And what about KOI8-R? I have no problems with it in 1.6-RC1-b55 (uncommented in lang.php)
under PHP 4.4.4.

 
Tim_j
Tim_j's picture

Joined: 2002-08-15
Posts: 6818
Posted: Wed, 2007-04-11 07:55

How can you put CRLF into the title?

The form is submitted when hitting the enter key.

Jens
--
Last Gallery v1 Developer and v1 translation manager.

 
AndrewVasilyev

Joined: 2005-03-24
Posts: 20
Posted: Wed, 2007-04-11 11:02

I don't know. The fact is that CRLF is there. Probably the result of copy&paste.
Nobody touched album.dat by hands/editors/etc.

 
Tim_j
Tim_j's picture

Joined: 2002-08-15
Posts: 6818
Posted: Wed, 2007-04-11 11:24

Okay, i made b56.
This version does a different approach then quoting.
It trims the whitespace on saving the title.

So you have to go into properties of the album with the CLRF and just do a save.

Thanks,
Jens
--
Last Gallery v1 Developer and v1 translation manager.

 
AndrewVasilyev

Joined: 2005-03-24
Posts: 20
Posted: Wed, 2007-04-11 11:36

Should we start a new thread for features/improvements of 1.6 branch?

Two things are appreciated at first glance for the 1-st page:
- Ability to choose the order of albums (not only "sort by ..."), like action Reorder in a simple album.
- Ability to switch off the animation for sub-albums tree (in my case it breakes the font of g-subalbumTree-box).

 
Tim_j
Tim_j's picture

Joined: 2002-08-15
Posts: 6818
Posted: Wed, 2007-04-11 11:48

Sure, this thread is only for bugs.

You can use the existing feedback and suggestions for Gallery 1.6 thread...

Jens
--
Last Gallery v1 Developer and v1 translation manager.

 
AndrewVasilyev

Joined: 2005-03-24
Posts: 20
Posted: Wed, 2007-04-11 12:04

About CRLF in album.dat: probably you should add a check in the "Validate albums" action?

 
AndrewVasilyev

Joined: 2005-03-24
Posts: 20
Posted: Wed, 2007-04-11 12:18

> So you have to go into properties of the album with the CLRF and just do a save.

The problem is that nobody except you (and /me :-)) knows about which exactly album is bad.
What is better - to say: "Open HTML source and find all strings of Java Script with multi-line titles, then save all such albums."
or simply: "Validate your albums and press 'Correct the problem'"
?
Or even to add trim($content['title']) in printChildren().

 
AndrewVasilyev

Joined: 2005-03-24
Posts: 20
Posted: Wed, 2007-04-11 15:41

Could you please check if "Filesystem usage" statistics works correctly for
"Show usage per album" sorted by "used space". I see no ordering by space,
random figures.

 
Tim_j
Tim_j's picture

Joined: 2002-08-15
Posts: 6818
Posted: Wed, 2007-04-11 16:21

Its sorted by used space of the mainalbums.
Space of Subalbums is not used for overall sorting.

I did this to have a better overview which subalbums belongs to which parent.

I made a visual change in my Gallery. Check with the gallery user.

Jens
--
Last Gallery v1 Developer and v1 translation manager.

 
AndrewVasilyev

Joined: 2005-03-24
Posts: 20
Posted: Wed, 2007-04-11 16:33

Got it, thank you!
Is it very difficult to add ordering to sub-albums too?

 
Tim_j
Tim_j's picture

Joined: 2002-08-15
Posts: 6818
Posted: Wed, 2007-04-11 18:00

no.

Jens
--
Last Gallery v1 Developer and v1 translation manager.

 
AndrewVasilyev

Joined: 2005-03-24
Posts: 20
Posted: Wed, 2007-04-11 21:47

>> 1. First of all, I've got
>> Warning: html_entity_decode() [function.html-entity-
>> decode]: cannot yet handle MBCS!
> 1.) Hmm, according to the PHP-dev list, this was fixed in PHP5, i use 5.2.1 :-|

Please note that KOI8-R is not a multi-byte encoding!
Should work without MBCS support.

 
supremeox

Joined: 2007-04-17
Posts: 6
Posted: Tue, 2007-04-17 06:31

I know this thread is for bugs & such, but I just wanted to say "Make that three votes for the simple blue skin."

I "upgraded" to G2 after my web host hosed the permissions or ownership or SOMETHING on my photos directory when I tried to make a copy (they somehow messed up the originals), and not having shell access I had no easy way to get it all fixed. I've been running G2 for a couple of days and so far I can't stand it. I'm a KISS fan, I don't need a bunch of weird skins to make me happy and I don't want to go through a 90 option screen to hide an image or change a description. I really liked the simplicity of 1.5.

I'm looking forward to trying Alpha3 to see how the groups work (the lack of was the only thing I didn't like about 1.5.) If I notice anything going awry I'll be sure to let you know.

Keep it up - New is not always improved!

(Still running Win2k)
Supreme Ox

 
Tim_j
Tim_j's picture

Joined: 2002-08-15
Posts: 6818
Posted: Tue, 2007-04-17 07:29

Hi,

Dont try the alpha3. Get a later version from my archive, or svn.

Jens
--
Last Gallery v1 Developer and v1 translation manager.

 
supremeox

Joined: 2007-04-17
Posts: 6
Posted: Tue, 2007-04-17 07:44

Now you tell me! :-)

I'll reinstall it. I need to go to bed and stop playing with it tonight anyway. I'm new to this place - where is "my archive, or svn" located?

One thing I noticed that was an annoyance on 1.5 and still remains - When you go into the Configuration Wizard once the gallery is all set up, it always reverts back to en_AU.ISO8859-15 and you ALWAYS need to go to the locales section and change it (well, in my case anyway since I have no idea where you are - if you're in Australia I guess you wouldn't have noticed) to a US English setting or the dates go DD/MM/YY instead of MM/DD/YY.

 
Tim_j
Tim_j's picture

Joined: 2002-08-15
Posts: 6818
Posted: Tue, 2007-04-17 08:17

Archive: http://jems.de/archive

i dont understand the locale issue.
Can you explain it a little more?

Jens
--
Last Gallery v1 Developer and v1 translation manager.

 
AndrewVasilyev

Joined: 2005-03-24
Posts: 20
Posted: Tue, 2007-04-17 22:44

Captcha is not working for me! :((
The latest 1.6, PHP 4.4.6. phpinfo.php says about full GD support.

After entering "Add comment" the following HTML appeared:
[...]
<tr>
<td class="right">Captcha Protection:</td>
<td>

-- this is the end, no submit forms, no </body></html> tags. Nothing in error_log.

How can I debug the Captcha further? Any test scripts?

 
supremeox

Joined: 2007-04-17
Posts: 6
Posted: Thu, 2007-04-19 01:52

I wrote that because I noticed that in the options screen it defaulted to going back to the "wrong" setting, but before I hit POST I went back to see if it still actually acted like the old version and showed the date wrong and it seems not to. I don't know if that's because I don't have all the language packs I did when I had 1.5 But if you want to see what I'm talking about so you can decide for yourself, go into the Locales tab in the setup and look at what it says in the dropdown list. If yours is like mine it will have the en_AUxxx showing instead of whatever you selected and saved the last time. I meant to delete my message, but I guess I hit post without thinking. I installed the latest update version and all seems OK. I've got 6000 photos in about a dozen sub-albums and all is working OK.

I did notice (and tested thoroughly :-) )that if I try to change ownership of a sub-album from outside it (that is, on the page that shows the sub-album as a single thumb and not inside where all the pictures are), no matter which sub-album I select it always goes to change ownership of the first sub-album on the page. So if I have an album called "Birthdays" and in that I have "Mike's 1st Bday", "Mike's 2nd Bday", and "Mike's 3rd Bday" and I select the drop-down under "Mike's 3rd Bday" and select Change Owner, it shows the thumbnail from "Mike's 1st Bday" (the one in the upper left) and the option to select the owner. It also shows the owner as "Nobody". If I go into the sub-album and make the change from Permissions in the the drop-down in the upper right from there it works OK, and it shows me as the owner.

Also, if you have a drop-down open with an item highlighted, decide not to do it and click off of the menu to make it disappear, when you click on any link either into a sub-album or up one level it will pop up the window to make whatever settings you last highlighted.

 
--Peter

Joined: 2005-08-30
Posts: 88
Posted: Mon, 2007-06-18 22:51

hi Jens,

since there is now - galdly - reason again to test G1.6 I did some initial tests of B72 and found the following, all related to cropping:

  • some errors when activating 'crop image'
    Notice: Undefined variable: imageWidth in /path2gallery/gallery-1.6/includes/definitions/cropOptions.php on line 40
    Notice: Undefined variable: imageHeight in /path2gallery/gallery-1.6/includes/definitions/cropOptions.php on line 40
    
  • width in div style for box around photo is not adjusted to new cropped image width
  • thumb is not cropped as original photo, but when using 'Edit Thumb' only a cropped version is available for thumb editing

in this and in earlier threads we discussed a number of issues regarding G1.6 look&feel. sometimes it ended with a 'I have to think about this'-answer from your part. is the current B72 release the result of this thinking or are there still 'open issues'?

a must have for me is the non java scripted album tree in the root album. could you possibly reinsert 1.5.x code and provide a user option for this?

that's it for now, thanks again for all your efforts!

cheers,
-- Peter
[img]http://www.schumacher.ch/logob.jpg[/img]