Gallery v1.4.1 Release Candidate 4 Available!

The fourth *release candidate* for Gallery v1.4.1 is now available. This has several critical updates to RC3. New features for version 1.4.1 include:
    • Voting/ranking of images
    • Optional user self-registration
    • Lost password reset feature
    • Optional e-mail notification of changes/updates
    • Option to restrict commenting permissions
    EZ Prints photo print service added
    • Support for "skins" to customize Gallery's look and feel
    • New image frame styles
    • Clearer, easier to follow Config. Wizard
    • Optional auto-resize of images on upload
    • Gallery-wide slideshow, and choice of random order
    • Copy image feature
    • Gallery internationalized in many more languages!
    • Tons of small improvements and bugfixes
Download Gallery v1.4.1-RC4 from the Gallery Download Page now!

Note: This is a *pre-release* version, and you should be sure to BACK UP YOUR GALLERY *before* installing and upgrading your current Gallery. Read on for information on how to back up critical data...We have provided a small PHP script with this version to assist you in making a backup. When you download and decompress this release, the script will be located in:
    gallery/setup/backup_albums.php
To run this script, put your Gallery into configuration mode, install the new software over your exising Gallery installation and copy backup_albums.php out of its location in the setup directory and into your existing main Gallery directory. Run this script from your browser. It will package the important album data and save a backup to your computer, in one of two formats: .tar.gz (useful on Unix/Linux systems) or .zip (useful on Windows systems).

The script gives you the option of backing up your entire albums ("All files") directory or just the Gallery database files ("Data files only"). While you should have a backup copy of all your photos, for most upgrades, it is sufficient to just back up the data files only. Note that backing up all the files could produce a *huge* file, since all of your photos will be included.

Finally, verify the contents of the downloaded backup file to make sure the files were indeed saved. Once you have the data files backed up, you can confidently proceed with reconfiguring your Gallery and updating your albums. Make sure you remove the copy of backup_albums.php from the Gallery directory, so visitors can't make a copy of your entire Gallery!

IMPORTANT: For users who have a css/embedded_style.css file (IE you have customized your css files), you will need to add the following definitions to css/embedde_style.css:

.mod_title /* album title -- Text is controlled by .title */
{
border:1px solid #000000;
border-right-width:0px;
border-bottom-width:0px;
border-left-width:0px;
}
.mod_title_bg /* album title hightlight Text is controled by .title */
{
}
.mod_title_right /* album title hightlight Text is controled by .title*/
{
}
.mod_title_left /* album title hightlight Text is controled by .title */
{
}
.albumdesc /*album description includes all text and background*/
{
}
.modcaption /* modifies background for caption text to reside */
{
font-size: 10px;
}
.attention /* so far, just for voting instructions*/
{
font-family: Verdana, Arial, Helvetica, sans-serif;
font-weight: normal;
color: blue;
font-size: 12px;
}

.mod_headliner /* Gallery & Album titles. Text is controled by .head */
{
}
.mod_toplight_bg /* Gallery & Album titles. Text is controled by .head */
{
}
.mod_toplight_right /* Gallery & Album titles. Text is controled by .head*/
{
}
.mod_toplight_left /* Gallery & Album titles. Text is controled by .head */
{
}
.navtableborderbegin
{
border:1px solid #000000;
}
.navtableborderend
{
border:1px solid #000000;
border-top-width:0px;
}
.bordertop
{
border:1px solid #000000;
border-right-width:0px;
border-bottom-width:0px;
border-left-width:0px;
}
.borderright
{
border:1px solid #000000;
border-top-width:0px;
border-bottom-width:0px;
border-left-width:0px;
}
.borderleft
{
border:1px solid #000000;
border-top-width:0px;
border-bottom-width:0px;
border-right-width:0px;
}
.modnavbox /* main navigation bar next and previous */
{
}
.search /* used in search text */
{
font-size: 10px;
font-weight: bold;
}
.leftspacer /* amount of space to the left of the header and titles */
{
width: 0px;
}
.modnavboxtop /*navagation bar top of screen where admin buttons show*/
{

}
.modnavboxmid /*navagation bar middle where the link for the albums show*/
{

}
.modfooter /*footer where the Gallery version is located*/
{
}

bgraabek's picture

Really minor problem, but the "Powered by..." text still refers to RC3.

Taomyn's picture

Problems encountered during upgrade from RC-3 so far:

<li>Complained that get_magic_quotes_gpc is on, which I had to do for PostNuke - let's hope it's not a major headache as I'm not aware of an equivalent to using .htaccess for Windows PHP and IIS?</li>
<li>Complained that two out of all the languages I could download last week were missing information regarding date formats. Didn't say which two, so please can you gzip all the language packs as a single file - do you realise how long it takes to get them all individually? (yes all, otherwise it's not a test)</li>
<li>I renamed "admin" to "Admin" and it complains I don't have and "admin" account</li>
<li>Thumnail image name had all its slashes removed</li>

<br><br>Apart from that, all seems well.

Taomyn

Taomyn's picture

Mine says "RC-4" - odd.

Taomyn's picture

Update:<br><br>

<li>I downloaded a couple of langauges, and Spanish produces "Warning: Unterminated comment starting line 41 in D:\wwwroot\modules\Gallery\locale\es_ES\es_ES-nls.php on line 41"</li>
<li>Any chance of a manual override of the setting for mod_rewrite during config seeing as I have it working under Windows and IIS?</li>

joan's picture

bgraabek, if your install still says RC3, then your upgrade was not complete. You have not upgraded Version.php successfully.<br />
<br />
I suggest you install util.php, manifest.inc and setup/check_versions.php by hand, then visit gallery/setup/check_versions.php with your browser, to check all the other files are up-to-date.

joan's picture

<ul><li>There was a problem with many of the the RC3 language packs on SF. Download from http://www.jems.de/archive/1.4.1/<br />
<li><br />
http://yoursite.com/gallery/setup/index.php?init_mod_rewrite=1<br />
</ul>

Taomyn's picture

Thank-you.

I've got a rather large album I have not split up yet. When I try to open it with 1.4.1-RC4, I get the following error message.<br />
<br />
--<br />
Guillaume Etorre<br />
<br />
<br />
Upgrading item 410 of 535 . . . done.<br />
Upgrading item 411 of 535 . . . done.<br />
Upgrading item 412 of 535 . . . done.<br />
Upgrading item 413 of 535 . . . <br />
Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 4097 bytes) in /export/www/www/gallery/util.php on line 380<br />
<br />
Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 177 bytes) in Unknown on line 0<br />

joan's picture

<a href="http://gallery.menalto.com/modules.php?op=modload&name=GalleryDocs&file=index&page=gallery1-install.faq.c.php#gallery1-install.faq.c.16">FAQ 16</a>

On the red-marble theme a lot of the text in the various popups is really hard to read. Perhaps if it was a lighter color?<br />
<br />
The login popup is a good example of the problem.<br />
<br />
Other than that, RC-4 looks pretty nice.

joan's picture

Thanks, fixed. But <b>please</b> report bugs in the forums or on <a href="http://sourceforge.net/tracker/?group_id=7130&atid=107130">sourceforge</a>

Rascal's picture

Is it just me? The default or "none" color scheme has font AND background as black (or dark). The text cannot be read. A few of the themes I tried look better, but the drop down lists do not show the selectable items. You have to highlight each selection to see what is available.<br />

Warning: fopen("/home/httpd/html/albums/.users/userdb.dat.lock","a+") - Permission denied in /home/httpd/html/gallery/platform/fs_unix.php on line 55<br />
Error: Could not open lock file (/home/httpd/html/albums/.users/userdb.dat.lock)!<br />
<br />
=======<br />
This is the error that I am receiving. It appears on each page. Only when I login as admin does the message cease to appear. Also within sub-albums a similar error message occurs. An example is below.<br />
=======<br />
<br />
Warning: fopen("/home/httpd/html/albums/flowers/photos.dat.lock","a+") - Permission denied in /home/httpd/html/gallery/platform/fs_unix.php on line 55<br />
Error: Could not open lock file (/home/httpd/html/albums/flowers/photos.dat.lock)!

Here's one quick way (of many) to update all your albums to avoid having your users see the 'The following albums in your gallery were created with an older version of the software and are out of date.' message:

<p>

<tt>
<pre>
$ find /var/www/example.com/albums/ -type d \
| xargs -i basename {} \
| xargs -i wget --delete-after http://www.example.com/gallery/{}
</pre>
</tt>

Paul<br>
<a href="http://pauljohnston.com/gallery">http://pauljohnston.com/gallery</a>

joan's picture

A much better way of doing it is login as admin, and click on any of the "upgrade now" links. These have a button to upgrade all albums at once.

joan's picture

This is covered in the FAQ. But please, post support problems in the forums.

joan's picture

It's just you :-) This is not happening for us, so can you please post this problem to forums so we can investigate it.

It may be covered in the FAQ, but the stated solution in the FAQ is not correct. The error persists after changing the file permissions.<br />
<br />