too many redirections after upgrade from 2.0 to 2.3

randomguy2

Joined: 2009-11-01
Posts: 4
Posted: Sun, 2009-11-01 22:23

Hi,

I get some kind of a nested redirection problem with the new version of gallery. If I do a totally clean install, it works ok. If I use the database from my original installation, I get the error. I suspect it has something to do with the rewrite module.

I tried just changing the name of the .htaccess file, but that didn't work. I've enabled debugging, but I don't get any clues from it. The last few lines before it stops are:

2009-11-01 15:18:55 [TMP_SESSION_ID_DI_NOISSES_PMT] getParameter id.adminGroup for core plugin
2009-11-01 15:18:55 [TMP_SESSION_ID_DI_NOISSES_PMT] getParameter id.anonymousUser for core plugin
2009-11-01 15:18:55 [TMP_SESSION_ID_DI_NOISSES_PMT] Loading plugin core
2009-11-01 15:18:55 [TMP_SESSION_ID_DI_NOISSES_PMT] core plugin successfully instantiated
2009-11-01 15:18:55 [TMP_SESSION_ID_DI_NOISSES_PMT] Check the version of the core plugin
2009-11-01 15:18:55 [TMP_SESSION_ID_DI_NOISSES_PMT] The version of the core plugin is ok
2009-11-01 15:18:55 [TMP_SESSION_ID_DI_NOISSES_PMT] getParameter id.anonymousUser for core plugin
2009-11-01 15:18:55 [TMP_SESSION_ID_DI_NOISSES_PMT] getParameter language.useBrowserPref for core plugin
2009-11-01 15:18:55 [TMP_SESSION_ID_DI_NOISSES_PMT] getParameter default.language for core plugin

Firefox gives me this:

The page isn't redirecting properly

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

* This problem can sometimes be caused by disabling or refusing to accept
cookies.

[Try again button]

Any hints most appreciated.

Mickey


Gallery version (not just "2"): 2.3
PHP version (e.g. 5.1.6): 5.2.9
PHPInfo Link (see FAQ): http://rv8.ch/gallery/phpinfo.php
Webserver (e.g. Apache 1.3.33):
Database (e.g. MySql 5.0.32): 5.0.81
Activated toolkits (e.g. NetPbm, GD):
Operating system (e.g. Linux):
Browser (e.g. Firefox 2.0): Firefox 3.5

Login or register to post comments
alecmyers

Joined: 2006-08-01
Posts: 3371
Posted: Sun, 2009-11-01 22:57

Disable the rewrite module, and re-enable it.

Login or register to post comments
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 9283
Posted: Mon, 2009-11-02 03:27

Also, did you first upgrade to 2.1 or 2.2 before upgrading to 2.3? If so, I'm curious as to how you have a working install (minus the redirection issue)

You might have to go through this:
FAQ: I enabled mod_rewrite, but it's not working, and now I can't get back to disable it - how else can I do this?

And if you in fact didn't successfully upgrade to 2.3, you can get 2.1 from here:
www.kevinnehls.com/temp/gallery2.1.zip
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

Login or register to post comments
randomguy2

Joined: 2009-11-01
Posts: 4
Posted: Mon, 2009-11-02 06:36

Thanks a lot for the hints.

I removed the rewrite option using sql via phpadmin as shown in the FAQ, cleared the cache as shown in the FAQ, and I still have the same problem.

I did a "complete overwrite" update to 2.3 where I installed it in a different directory and then copied all the files over the top of 2.0 and then when I went to my gallery/update directory via a web browser. This walked me through an update process that seemed to work - at least there were no error messages.

I am guessing that something is not right in my DB - I have a feeling that it was recently upgraded by Bluehost, but I'm not sure.

Any other suggestions would be most welcome.

Thanks, Mickey

Login or register to post comments
alecmyers

Joined: 2006-08-01
Posts: 3371
Posted: Mon, 2009-11-02 09:37

You could try switching on debug mode, which may allow you to step through the redirection loop, and give you more info:
FAQ: How to set/use Gallery in debug mode?

Login or register to post comments
floridave
floridave's picture

Joined: 2003-12-22
Posts: 16320
Posted: Mon, 2009-11-02 13:59

Is there a .htaccess file in the gallery directory?
gallery/lib/support seems to work
gallery/upgrade/ seems to work as well

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

Login or register to post comments
randomguy2

Joined: 2009-11-01
Posts: 4
Posted: Wed, 2009-11-04 18:23

I tried the debug mode, but no hints there that were useful to me. The file is quite large.

Login or register to post comments
randomguy2

Joined: 2009-11-01
Posts: 4
Posted: Wed, 2009-11-04 18:23

I've tried removing the .htaccess file with no effect.

Login or register to post comments
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 9283
Posted: Wed, 2009-11-04 19:05

Check the integrity of the files:
FAQ: How can I make sure that my installation files are all intact?

Is there an .htaccess file above your gallery install?
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

Login or register to post comments