[Solved] Redirect loop after upgrading to 2.3

accphotography

Joined: 2008-05-14
Posts: 66
Posted: Sat, 2009-01-10 04:51

Hi there,

I upgraded to 2.3 tonight and everything went smoothly, until I attempted to access the gallery. LOL! Firefox gives me this error:

Redirect Loop

Firefox has detected that the server is redirecting the request for this address in a way that will never complete.

The browser has stopped trying to retrieve the requested item. The site is redirecting the request in a way that will never complete.

* Have you disabled or blocked cookies required by this site?
* NOTE: If accepting the site's cookies does not resolve the problem, it is likely a server configuration issue and not your computer.

That is when I attempt to go to www.accphotography.com/gallery. When I try www.accphotography.com/gallery/main.php it works. However whenever I click on anything it sends me back to the loop error. I strongly suspect this has to do with URL rewrite and/or the little "fix" to use index.php instead of main.php.

I can't get to much of anything to show you anything or try anything. Any ideas?

Thanks!

ACC

 
accphotography

Joined: 2008-05-14
Posts: 66
Posted: Sat, 2009-01-10 05:33

I figured it out!!! YAY!!!! I'm SOOOO excited!!! I was really worried.

I'm not sure *exactly* what I did, but I have a pretty good idea and can retrace my steps if anyone ever needs it.

Thanks anyway guys!

ACC

 
stickboy11

Joined: 2008-05-02
Posts: 10
Posted: Mon, 2009-01-12 14:21

I'm also experiencing an upgrade loop when moving from gallery 2.2.5 to 2.3. The upgrade goes well and then when I click "Go to my gallery" in step 7, I get sent back to step 1 of the upgrader. I've tried many things:

-clear browser cache
-clearing gallery2 caches at emergency page at http://site.com/gallery2/lib/support/index.php
-re-untarring the gallery-2.3-full-en.tar package
-editing my database directly to change the default theme to a core theme (rather the third-party theme I was using)
-enabling debug mode, but none of the printouts are particularly helpful

The server is running Linux with PHP 4.4.8 and MySQL 4.1.22 and apache 1.3.41

Any tips? Thanks...

 
stickboy11

Joined: 2008-05-02
Posts: 10
Posted: Mon, 2009-01-12 17:30

I have fixed my broken gallery. After re-reading the debug output I saw some mention of a missing theme. I had changed my theme in the database manually to matrix, but I guess I didn't even have matrix activated. The fix was to log in manually as suggested on the FAQ.

4.29 Images don't show up and the album / photo links don't work, what can I do?

Basically, visit this manual login link and then change the theme from the admin page:

http://www.example.com/gallery/main.php?g2_controller=core.UserLogin&g2_form[formName]=UserLogin& g2_form[action][login]=Login&g2_form[username]=admin&g2_form[password]=secret (replace "secret" with your own password)

Everything is working fine now...