Can't Login To Configfuration Wizard After Upgrading

baldacchino

Joined: 2009-02-10
Posts: 16
Posted: Tue, 2009-02-10 09:38

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://rachelnmiller.com/gallery
Gallery version:1.51
Apache version: 2.0
PHP version (don't just say PHP 4, please): 5.2.4-2
Graphics Toolkit: NetPBM
Operating system: Ubuntu 8.04.1
Web browser/version (if applicable): N/A

Hi Guys,
At a loss here hence the post. Firstly this is not my forte. My back ground is in programming languages and infrastructure based on the Microsoft plaform.

I setup at home a server with Ubuntu and moved 3 galleries form my previous host to my home server. I moved all 3 okay and upgraded 2 of them no problem. I tried to upgrade my girlfriends and no luck.

I think I have an inherit problem with this site. To put it bluntly I simply can not login.

I can't login to the gallery admin or the configuration wizard. When I put the corrcet password in the form simply re-displays.

It is as if the PHP session is not being created.

At a loss. I know if this was ASP/ASP.NET and IIS I would have this solved in no time, but its not.

Appreciate the help ;)

Thank you in advance

Shane Baldacchino

 
baldacchino

Joined: 2009-02-10
Posts: 16
Posted: Tue, 2009-02-10 09:45

Hi Guys,
What is happening to me is exactly like http://gallery.menalto.com/node/84374.
I looked at my php.ini and set my session path "/var/li/php5" to 777 for the user www-data (apache). This didnt help.

Shane Baldacchino

 
Tim_j
Tim_j's picture

Joined: 2002-08-15
Posts: 6818
Posted: Tue, 2009-02-10 13:36

Hello Shane,

when you say you can not log in, what exactly happens when you try to log in?

Jens
--
Jallery Developer

 
Cocodaily

Joined: 2009-01-29
Posts: 3
Posted: Fri, 2009-03-20 17:09

thanks!

 
baldacchino

Joined: 2009-02-10
Posts: 16
Posted: Tue, 2009-02-10 19:49

Hi Jens,
When I try and login the form simply just re-presents it's self. For example if I create a reset password file. It tells me to enter specific text inside it and hit refresh. Once I do that, it just keeps asking to do the same. I am essentially in a loop. If you put the wrong password in to any login box it will tell you. How ever if you use the correct credientals you are just stuck in a loop.

Any time I need to login I simply can't. I am sure it has to do with either config.php or my PHP installation. This site has come straight off another host.

I am getting tempted to blow it all away and start from scratch. If I can't debug this Jens what would happen if I was to delete and recreat gallery. Once recreated if I was to replace the 'albums' directory, would gallery pick up on this?

I wish I could give you my girlfriends login to gallery but I simply cant.

- Shane Baldacchino

 
Tim_j
Tim_j's picture

Joined: 2002-08-15
Posts: 6818
Posted: Tue, 2009-02-10 19:54

Okay, lets check whether your session support is working.

Rename config.php to akjhq4irhadif0i8.jens.rox (or something else ;-) )

Then you can access to config wizard without any password. Go to the diagnostic page and then to the session test.
Does the counter increase when you reload the page?

Jens
--
Gallery Developer

 
baldacchino

Joined: 2009-02-10
Posts: 16
Posted: Wed, 2009-02-11 03:58

Hi Jens,
Thank you for your useful reply. I renamed the config.php file and all of my issues went away. I then went through the configuration wizard and ensuring it built a config file like my 1.4 version. My galleries were picked up.

I no longer have any issues. I havent gone through line vs line to my other sites but it had to have something to do with config.php.

Thank you for the hints, you certainly put me in the correct direction

Shane

 
Tim_j
Tim_j's picture

Joined: 2002-08-15
Posts: 6818
Posted: Wed, 2009-02-11 17:53

Glad you got it working

Jens
--
Gallery Developer