Gallery 1.6 Alpha3 Bugs

Tim_j
Tim_j's picture

Joined: 2002-08-15
Posts: 6818
Posted: Mon, 2007-06-18 23:02

Hi Peter,

thanks for your feedback. I will look at the notice issue and bugs soon.

Gallery 1.6 is still open for ideas.
I guess you are refering to the icons below the thumbs in the album view, right?
You dont like them, right?

Whats the advantage of the non Javascript album tree?

I also think you are answering because of the "G1 1.6 week". I made a special thread (link sould be in the announcement)
Maybe we should continue there...

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

 
snoopspecial

Joined: 2005-02-17
Posts: 24
Posted: Tue, 2007-07-17 04:42

hi,
i don't know if i am posting this in the right section but anyways.
i am installing on a virgin machine using gallery-1.6-RC1-svn-b89.tar.gz.

i get the following after selecting Advanced on the installation script.

There are problems with the following files. Please correct them before configuring Gallery.
block-feature-item.php: Missing version
css/yui/container.css: File missing or unreadable.
images/donate.jpg: File missing or unreadable.
images/nav_dot.gif: File missing or unreadable.
images/nav_dot_left.gif: File missing or unreadable.
images/nav_dot_right.gif: File missing or unreadable.
images/nav_home.gif: File missing or unreadable.
images/nav_page.gif: File missing or unreadable.
popups/login.php: File missing or unreadable.

One file is older than expected.
The following files are older than expected for this version of Gallery. Please update them as soon as possible.
popups/featured-item.php: Expected version 16551 (or greater) but found 15631.

33 files are more recent than expected.
The following files are more up-to-date than expected for this version of Gallery. If you are using pre-release code, this is OK.
Version.php: Expected version 16678 but found 16762.
albums.php: Expected version 16678 but found 16737.
classes/Album.php: Expected version 16678 but found 16737.
classes/AlbumItem.php: Expected version 16678 but found 16737.
classes/Mail/mimePart.php: Expected version 15552 but found 16762.
crop_photo.php: Expected version 15957 but found 16737.
css/base.css.default: Expected version 16662 but found 16748.
css/screen.css.default: Expected version 16675 but found 16748.
imagemap.php: Expected version 16662 but found 16737.
js/arrowkey_nav.js: Expected version 16668 but found 16737.
js/cropper/cropperInit.js: Expected version 16551 but found 16737.
js/wz_tooltip.js: Expected version 16662 but found 16737.
layout/navigator.inc: Expected version 16667 but found 16737.
layout/navphoto.inc: Expected version 16671 but found 16737.
lib/Form.php: Expected version 16678 but found 16684.
lib/albumItem.php: Expected version 16678 but found 16682.
lib/content.php: Expected version 16662 but found 16737.
lib/messages.php: Expected version 16662 but found 16682.
lib/popup.php: Expected version 16383 but found 16684.
lib/setup.php: Expected version 16675 but found 16748.
lib/url.php: Expected version 16662 but found 16737.
lib/valchecks.php: Expected version 15631 but found 16737.
manifest.inc: Expected version 16561 but found 16679.
popups/do_command.php: Expected version 15656 but found 16737.
popups/ecard_form.php: Expected version 16452 but found 16684.
popups/manage_groups.php: Expected version 15631 but found 16680.
popups/manage_users.php: Expected version 15631 but found 16684.
popups/modify_user.php: Expected version 15653 but found 16680.
popups/move_photo.php: Expected version 15631 but found 15959.
templates/info_donation-block.tpl.default: Expected version 14282 but found 16682.
util.php: Expected version 16662 but found 16737.
view_album.php: Expected version 16678 but found 16750.
view_photo.php: Expected version 16662 but found 16737.

 
Tim_j
Tim_j's picture

Joined: 2002-08-15
Posts: 6818
Posted: Tue, 2007-07-17 05:38

Ignore all those ;-)

Jens
--
Last Gallery v1 Developer.
Tryout the TEST-Version of Gallery 1.6

 
snoopspecial

Joined: 2005-02-17
Posts: 24
Posted: Wed, 2007-09-19 04:05

Hi,

I am trying to install the nightly build: gallery-1.6-RC1-svn-b108.tar.gz
into a clean install.

When I go through the wizard, I get to the end and then it says it cannot save the config.php due to errors:

* Version */
$gallery->app->config_version = '101';

/* Features */
$gallery->app->feature["zip"] = 0; // (missing zipinfo -- it's optional, missing unzip -- it's optional)
$gallery->app->feature["rewrite"] = 0; // (missing GALLERY_REWRITE_OK -- it's optional)
$gallery->app->feature["mirror"] = 0; // (missing mirrorSites -- it's optional)

/* Constants */
Missing value: Gallery Title!
Missing value: Admin password!
Missing value: Skin Name!
Missing value: Use Icons ?!
Missing value: Default upload method!
Missing value: Format for commenter and owner names!
Missing value: Album directory!
Missing value: Temporary directory!
Missing value: Gallery URL!
Missing value: Albums URL!
Missing value: Thumbnail image!
// optional mirrorSites missing
Missing value: Graphics suite to use!
// optional ImPath missing
// optional pnmDir missing
Missing value: PNM to JPEG converter!

ETC

I've filled them in a bunch of times... what is going on here?!! This same thing happened with gallery-1.6-RC1-svn-b89.tar.gz

Thanks!

 
songlines

Joined: 2007-11-09
Posts: 14
Posted: Fri, 2007-11-09 10:35

Hallo,

I have installed G1 1.6 alpha3 as an upgrade to 1.5.3 just because I was tired of all spam comments and wanted the new CAPTCHA feature. All went ok, included the update of the album structure and I an thankful to the developers. I have now only one problem that I believe is a bug: when you click on "view comments" most of the thumbnails of albums containing commented pictures simply break! You can have a look at this behaviour at the page

http://www.ciaf-milano.com/gallery/view_comments.php?set_albumName=lipori

I guess the the problem generated during the albums update, in any case what happens is that a <span> tag is introduced inside the correct links of the thumbnails, so for some reason

<img alt="" title="" width="200" height="133" src="http://www.ciaf-milano.com/gallerie/io/113_1313.highlight.jpg">

becomes

<img alt="" title="" width="200" height="133" src="http://www.ciaf-milano.com/gallerie/io/113<span class="g-accesskey">1</span>313.highlight.jpg">

I guess this has something to do with the underscore, can anybody help me fix it?

thank you

 
Tim_j
Tim_j's picture

Joined: 2002-08-15
Posts: 6818
Posted: Fri, 2007-11-09 14:57

Hello,

thanks for the feedback.
Can you please go to http://jems.de/archive/1.6
and get the latest 1.6 development release.
Does the problem still exist?

If yes, i will investigate and make a fix.

Jens
--
Last Gallery v1 Developer.
Tryout the TEST-Version of Gallery 1.6

 
songlines

Joined: 2007-11-09
Posts: 14
Posted: Fri, 2007-11-09 17:19

dear Tim_j,

I did upgrade to version gallery-1.6-RC1-svn-b110 (did the album update too) but unfortunately the problem is still there, as you can see at page

http://www.ciaf-milano.com/gallery/view_comments.php?set_albumName=lipori

do you have any clue on what could be the problem? I premise that I am not an expert of php programming.

 
Tim_j
Tim_j's picture

Joined: 2002-08-15
Posts: 6818
Posted: Fri, 2007-11-09 18:38

You found a bug :-)

Quick fix as my current developer version (pre 111) is broken.

Open: templates/commentbox.tpl.default

find: <td width="150" valign="top" ><?php echo galleryLink(makeAlbumUrl($myAlbumName), $myHighlightTag); ?></td>
Change to: <td width="150" valign="top" ><?php echo galleryLink(makeAlbumUrl($myAlbumName), $myHighlightTag, array(), '', false, false); ?></td>

The last 'false' is default to 'true' if not set. This enables the accesskey code and brakes the display of the thumbnail.
(in case you wanted to know *g*)

Thanks, Jens
--
Last Gallery v1 Developer.
Tryout the TEST-Version of Gallery 1.6

 
songlines

Joined: 2007-11-09
Posts: 14
Posted: Fri, 2007-11-09 23:01

Your solution works perfectly well, I am impressed by the rapidity with which you answered and solved the problem. I'll keep an eye on your archive to update to the next development versions.

thankful,

songlines

 
Tim_j
Tim_j's picture

Joined: 2002-08-15
Posts: 6818
Posted: Fri, 2007-11-09 23:10

Your're welcome.

Keep in mind its really a DEVELOPMENT version ;-)

Jens
--
Last Gallery v1 Developer.
Tryout the TEST-Version of Gallery 1.6

 
songlines

Joined: 2007-11-09
Posts: 14
Posted: Wed, 2007-11-14 11:17

There is indeed one bug/defect I noticed today in the development version 110: the counter of how many times an object has been viewed works for albums, but does not work for images. In fact images are labelled to have been viewed exactly as many times as the albums that contains them. Hope that this helps.

bye

 
Tim_j
Tim_j's picture

Joined: 2002-08-15
Posts: 6818
Posted: Wed, 2007-11-14 15:31

You found a bug!

Fix is easy:

open view_album.php
find:

$albumItems[$nr]['clickcounter'] =
    gTranslate('core', "Viewed: 1 time.", "Viewed: %d times.", $gallery->album->getClicks($i), '', true);

Change getClicks in getItemClicks

Thaks for reporting,

Jens
--
Last Gallery v1 Developer.
Tryout the TEST-Version of Gallery 1.6

 
AndrewVasilyev

Joined: 2005-03-24
Posts: 20
Posted: Wed, 2007-11-14 17:05

Is this also true for 1.5?
Lines 860 and 862 in view_album.php

 
Tim_j
Tim_j's picture

Joined: 2002-08-15
Posts: 6818
Posted: Wed, 2007-11-14 18:38

no.

Jens
--
Last Gallery v1 Developer.
Tryout the TEST-Version of Gallery 1.6

 
AndrewVasilyev

Joined: 2005-03-24
Posts: 20
Posted: Mon, 2008-01-14 23:08

1.6 is still in beta. Any chance to see Blue skin until release? :((
Sorry, but have no idea how to make it myself - any template or manual? Probably someone but Tim can help?

 
Plug

Joined: 2008-03-14
Posts: 9
Posted: Mon, 2008-03-17 13:43
AndrewVasilyev wrote:
1.6 is still in beta. Any chance to see Blue skin until release? :((
Sorry, but have no idea how to make it myself - any template or manual? Probably someone but Tim can help?

Check http://gallery.menalto.com/node/75627.

Craig

 
songlines

Joined: 2007-11-09
Posts: 14
Posted: Sun, 2008-05-18 00:40

hello Tim_j,

I just upgraded to 1.6 alpha 3 svn122 to see if this would solve a problem I had with svn120, but it didn't help. The problem is that the option to hide albums does not work. I have a guest album (protected with a password) and I cannot manage to hide one album so the guests would not see it. If I try to, the word "(hidden)" appears, but in fact it is not hidden (still visible). I am forced to deny the guests the permission to view its pictures, but they can still see the album thumbnail. I hope I did not miss anything useful to explain the problem. Thank you for your help,

songlines

 
Tim_j
Tim_j's picture

Joined: 2002-08-15
Posts: 6818
Posted: Sun, 2008-05-18 00:53

When you say its "visible" do you mean that someone can still go to it via URL?

I just tried to hide a subalbum in b122 and it works fine, the album is not visisble for guests anymore.

Jens
--
Last Gallery v1 Developer.
Tryout the TEST-Version of Gallery 1.6

 
songlines

Joined: 2007-11-09
Posts: 14
Posted: Sun, 2008-05-18 01:04

Dear Jens, I was about to cancel my post (I hoped you were asleep, but you're always so quick to answer...BTW here in Italy it's 3 am, maybe I have an excuse for my state of confusion...), it was a stupid problem of permissions (the guests had some permission they shouldn't have). However, there might be one small bug I found so to make my contribution useful: if I click on a sliding menu option (like "permissions", eheh) of one album (let's call it "A") and then on the same option of another album ("B", I was doing it to compare the permission settings) it works fine (the pop-up content changes), then if I close the pop-up window and try to open again the permissions of album A it wouldn't open, I have either to close and reopen the browser (firefox) or click on another menu option (like "edit title" for instance) to kind of reabilitate the pop-ups.

sorry for the previous unconvient, bye (and goodnight)

songlines

 
Tim_j
Tim_j's picture

Joined: 2002-08-15
Posts: 6818
Posted: Sun, 2008-05-18 01:11

Hi,

i assume you are in the thumbs view, right?

I understand what you mean, but i do not know, how to solve this easily (or quick).
The problem is, that selectbox reacts on the "onChange" event which of course can not be fired when the entry stays on the same value.

I'll think about a solution.

Thanks for testing 1.6 and giving feedback.

Jens
--
Last Gallery v1 Developer.
Tryout the TEST-Version of Gallery 1.6

 
songlines

Joined: 2007-11-09
Posts: 14
Posted: Sun, 2008-05-18 08:42

yes, in thumbs view, I think you got the point right!

 
songlines

Joined: 2007-11-09
Posts: 14
Posted: Sat, 2008-05-24 15:18

Hi Jens,

I suppose I will explain this better with an example: if you have a look at http://www.ciaf-milano.com/gallery/view_photo.php?set_albumName=indiaBW&id=curiosit_Orchha
you will see that the texts of comments is white over a white background. As I use the black skin, with white text,
I guess the problem is with the background of the comment box which is not correctly set to black.

thank you

songlines

 
Tim_j
Tim_j's picture

Joined: 2002-08-15
Posts: 6818
Posted: Sun, 2008-05-25 12:04

Will be fixed in the next version. Thanks.

Jens
--
Last Gallery v1 Developer.
Tryout the TEST-Version of Gallery 1.6