Some Albums Didn't Upgrade Properly

gregchet
gregchet's picture

Joined: 2003-01-10
Posts: 105
Posted: Mon, 2005-10-10 00:37

I upgraded my Gallery version a couple weeks ago, and when the albums were upgrading during the upgrade it kept hanging. I would go back and restart the album upgrade, and it seemed to end up working fine (after quite a few restarts).

However, now when I click on certain albums in my gallery in kicks me back to the main gallery page instead of opening the album. I'm almost positive that this is related to the album upgrade.

Is there a quick way to have Gallery re-run through the album upgrade?

The following information is required to get an answer:
Get this information from the PHP diagnostic (in the configuration wizard).
Gallery URL (optional but very useful): http://www.greg.ca/__gallery/
Gallery version: 1.5-pl1
Apache version: Apache/1.3.33 (Unix)
PHP version (don't just say PHP 4, please): 4.3.11
Graphics Toolkit: NetPBM
Operating system: Linux
Web browser/version (if applicable): Internet Explorer (but this problem happens in multiple browsers, so I don't think it's related)

 
gregchet
gregchet's picture

Joined: 2003-01-10
Posts: 105
Posted: Mon, 2005-10-10 00:42

PS - Here's an example of one of the affected albums.

http://www.greg.ca/__gallery/NOV-28-2003-2

Click on one of the individual pictures and you'll see what I mean.

 
Tim_j
Tim_j's picture

Joined: 2002-08-15
Posts: 6818
Posted: Mon, 2005-10-10 11:59

Hello,

you could try to upgrade to 1.5.1 or do a "fake update".
this means you increase the album version number in Version.php
then gallery will make an "upgrade".
after that you decrease the version number and gallery will make again an "uprade" ;)
(Which actually would be a downgrade, but only changes the version number)

Jens
--
Last Gallery v1 developer and translation manager.

 
gregchet
gregchet's picture

Joined: 2003-01-10
Posts: 105
Posted: Mon, 2005-10-10 20:12

Thanks for the info, I just finished upgrading to the newest version.

Almost 3 hours later and my site's finally back up and running! (sometimes I wish I hadn't made so many mods to my Gallery install :P).

 
gregchet
gregchet's picture

Joined: 2003-01-10
Posts: 105
Posted: Mon, 2005-10-10 20:17

aaahahaha... I guess I should've tested things out before I just assumed the upgrade fixed my problem :P Still having the same problem when I click on one of the images in the above gallery (where it just boots me back to the album page).

I guess I'll try the 'fake upgrade' method now. Is this the line in my config.php that I need to change?

$gallery->app->config_version = '93';

So just change it to 94 and then run through the configuration wizard?

 
Tim_j
Tim_j's picture

Joined: 2002-08-15
Posts: 6818
Posted: Tue, 2005-10-11 14:31

Sorry, its Version.php

$gallery->album_version = 37;

increase to 38 and then back to 37.

Jens
--
Last Gallery v1 developer and translation manager.

 
gregchet
gregchet's picture

Joined: 2003-01-10
Posts: 105
Posted: Tue, 2005-10-11 15:47

D'oh! Still doesn't work.

I changed it to 38, upgraded the albums using gallery/upgrade_album.php, changed it back to 37 and 'upgraded' again, and they're still not working.

Any other suggestions?

 
gregchet
gregchet's picture

Joined: 2003-01-10
Posts: 105
Posted: Fri, 2005-10-14 16:49

Has anyone else run into this problem before?

 
gregchet
gregchet's picture

Joined: 2003-01-10
Posts: 105
Posted: Thu, 2005-10-27 17:42

D'oh! Nobody else has any other suggestions on how to possibly fix this?

 
gregchet
gregchet's picture

Joined: 2003-01-10
Posts: 105
Posted: Fri, 2005-12-09 21:20

Well I tried to migrate over to G2, but all the pictures that I was previously having problems with in G1 (see problem above) have imported only as thumbnails, the regular size pictures are nowhere to be found.

Does anyone have any suggestions? Haven't had a fully working gallery for 2 months :(

 
gregchet
gregchet's picture

Joined: 2003-01-10
Posts: 105
Posted: Fri, 2005-12-09 22:08

This looks like a very similar problem to what's happening to me, but I haven't changed any cookie related information on my site forever... loooong before these pictures stopped displaying.

http://gallery.menalto.com/node/14640?highlight=images%2Cwon%27t%2Cdisplay

 
gregchet
gregchet's picture

Joined: 2003-01-10
Posts: 105
Posted: Sat, 2005-12-10 01:55

WOOHOO! Fixed!

I guess when the album upgrade kept crashing it was leaving out bits of my permissions. Instead of "EVERYONE" being able to see the full-sized images in some of my albums, it hadn't updated this permission so it was set to "NOBODY".