Some Albums Didn't Upgrade Properly
|
gregchet
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: |
|

Posts: 105
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.
Posts: 6818
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.
Posts: 105
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).
Posts: 105
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?
Posts: 6818
Sorry, its Version.php
$gallery->album_version = 37;
increase to 38 and then back to 37.
Jens
--
Last Gallery v1 developer and translation manager.
Posts: 105
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?
Posts: 105
Has anyone else run into this problem before?
Posts: 105
D'oh! Nobody else has any other suggestions on how to possibly fix this?
Posts: 105
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
Posts: 105
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
Posts: 105
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".