Left stuck in a redirect loop after an upgrade.

FreezerBurnt

Joined: 2008-12-04
Posts: 3
Posted: Thu, 2008-12-04 16:28

I've been running Gallery 2 for quite a while under Ubuntu Hardy Heron, and just recently upgraded it from the package repository. Since then, going into the Gallery causes an infinite redirect loop.

The update went fine, I can run the install and it seems happy, but there's just no joy on the gallery itself.

Here's a link to gallery: http://www.squids.ca/gallery2
I can throw it in a debug mode if anyone thinks it would help.

It would appear that the URL:

http://www.squids.ca/gallery2/main.php?g2_view=core.UserAdmin&g2_subView=core.UserLogin&
g2_return=%2Fgallery2%2Fmain.php%3Fg2_view%3Dcore.UserAdmin%26g2_subView%3Dcore.UserLogin%26

Just redirects to the same thing. I've tried cruising through the code, but I figured someone here must have a better idea what's going on than I do.

Thanks for any help you can offer, I'm really not sure where to go from here.

Ian


Gallery version: 2.2.4
PHP version: 5.2.4
PHPInfo Link: http://www.squids.ca/phpinfo.php
Webserver: Apache 2.2.8
Database: MySQL 5.0.51a
Operating system: Linux
Browser: Firefox or IE

 
FreezerBurnt

Joined: 2008-12-04
Posts: 3
Posted: Thu, 2008-12-04 20:29

Further to the above, I just discovered if I DON'T use the previous database or photo directory, it works fine; so, something in one of these causes the problem.

Ideas?

Ian

 
FreezerBurnt

Joined: 2008-12-04
Posts: 3
Posted: Thu, 2008-12-04 21:33

I had to:
o Turf the plugin tables
o Restore them from a clean install databse (basically resetting them)
o Restore my images from a backup (they got deleted along the way)
o Run through the install again
o Rebuild my thumbnails
o Clean the cache

Seems to be alright now, but who really knows.

Thanks for the help.

Ian