Locked out of ADMIN..unable to recover using login.txt

fberardi
fberardi's picture

Joined: 2006-10-19
Posts: 77
Posted: Sun, 2008-12-21 23:47

Hello;
Since I am locked out, I unfortunately cannot provide you with the required settings that I normally would!
This is Gallery 2.3

I tried the CAPTCHA recover screen.. No Joy!
I tried the login.txt solution discussed here:
http://gallery.menalto.com/node/68224 NO JOY!!
I tested the function of sending mail to the email address I registered as admin...mail works.

but... I received no email from either of the methods described to "recover password". I can ftp to the site and the config.php looks fine.
When I enter the password, I just go back to the main Gallery screen without being logged in!!
What should I look for???
THANKS

 
redmondwrangler

Joined: 2008-08-01
Posts: 3
Posted: Mon, 2008-12-22 06:21

I am having exactly the same problem. And I am sure of my admin password. Help!

fberardi wrote:
Hello;
Since I am locked out, I unfortunately cannot provide you with the required settings that I normally would!
This is Gallery 2.3

I tried the CAPTCHA recover screen.. No Joy!
I tried the login.txt solution discussed here:
http://gallery.menalto.com/node/68224 NO JOY!!
I tested the function of sending mail to the email address I registered as admin...mail works.

but... I received no email from either of the methods described to "recover password". I can ftp to the site and the config.php looks fine.
When I enter the password, I just go back to the main Gallery screen without being logged in!!
What should I look for???
THANKS

 
fberardi
fberardi's picture

Joined: 2006-10-19
Posts: 77
Posted: Mon, 2008-12-22 16:50

Looks like many people are having this problem...http://gallery.menalto.com/node/82943
Sounds like a known issue but, I haven't seen a real solution from anyone..I guess the whole programming team is still recovering from their "Google experience".

From reading the threads here, it seems like a whole community of your "user admins" are getting locked out. I would hope that would get some attention from the development team...even if they are trying to move to "3"...Anyone find a solution beside "nuking it all" and sorting out the survivors/re-installing??

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Tue, 2008-12-23 09:18

> sounds like a known issue

how to you come to that conclusion? no, it isn't. and yes, most of us have been pretty busy lately.

everyone, please create a separate topic to discuss your specific case. i'll follow up.
the problem with "i have the same problem" threads is that the symptoms might be similar, but there's no way to address all the issues at once without getting all the details from everybody or ending in a chaotic, huge thread.

--------------
Documentation: Support / Troubleshooting | Installation, Upgrade, Configuration and Usage

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Tue, 2008-12-23 09:19

@redmondwrangler:
please create a new forum topic to discuss your case. please include as much information in that topic as possible.
see: FAQ: What information is required when I ask for help in the forums?

--------------
Documentation: Support / Troubleshooting | Installation, Upgrade, Configuration and Usage

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Tue, 2008-12-23 09:24

@fberardi:

- what's the url to your gallery?

- what exactly happens when you submit the login form with the correct username / password? (what exact screen do you see / what messages does it show?)

> but... I received no email from either of the methods described to "recover password".

- did you configure your admin account with an email address?
- did you ever test the email functionality of your gallery?

> When I enter the password, I just go back to the main Gallery screen without being logged in!!

without knowing the details and trying things myself, it could be that your baseUri is not configured correctly.
e.g. if your baseUri (a setting in config.php) is set to 'http://example.com/gallery/index.php' or 'http://example.com/gallery/', then your login form submissions are sent to 'index.php' instead of main.php. it then redirects to main.php and in that redirect, the username / password is lost.

--------------
Documentation: Support / Troubleshooting | Installation, Upgrade, Configuration and Usage

 
fberardi
fberardi's picture

Joined: 2006-10-19
Posts: 77
Posted: Tue, 2008-12-23 17:54

Vailant;

Glad to hear you are all busy and I am sure we will all move to buy/use Gallery3 when we can. Unfortunately, we are just getting over the move to 2.3 and once we get all the questions resolved and the build settles down, you should have lots more time to work on the new release.

I like the product and hope you are making money doing this, 'cause you often have difficult users to deal with and compensation should fit the effort!!! But, email and forums are always "tonal" so we should take extra care not to appear TERSE or ABUSIVE. With power comes responsibility, so chill a little if you can.

Sometimes, people who have the same problem congregate in the same area for their OWN support. Do you know how many posts I looked at before I started this thread?

Unfortunately, the threads often stop once a solution is found, WITHOUT adding what was accomplished to the end. It is awful to have problems and feel alone and adrift in a sea of ones-and-zeros...so we users(if I may generalize) find a post that sounds like our problem, and we gather around it. Watching what happens...hoping it uncovers the solution needed for OUR problem.

1. I said "it sounds like a known issue" because I read lots of forum posts (searching "Admin locked" and "admin login") relating to Admin users being locked out (BEFORE I created my own) and didn't see any resolutions.
2. - what exactly happens when you submit the login form with the correct username / password? (what exact screen do you see / what messages does it show?) It goes directly back to the main Gallery Screen without logging you in
3. but... I received no email from either of the methods described to "recover password".
- did you configure your admin account with an email address? YES
- did you ever test the email functionality of your gallery? YES
4. When I enter the password, I just go back to the main Gallery screen without being logged in!!
without knowing the details and trying things myself, it could be that your baseUri is not configured correctly.
e.g. if your baseUri (a setting in config.php) is set to 'http://example.com/gallery/index.php' or 'http://example.com/gallery/', then your login form submissions are sent to 'index.php' instead of main.php. it then redirects to main.php and in that redirect, the username / password is lost. I AM ENTERING THE CORRECT PASSWORD and case and the baseUri is correctly configured

NOTE: I find that the host I am using is having a PHP problem that is due to something THEY changed. An error shows up in their error_log file and the result is that all PHP scripts on their servers are failing with a memory error

(EXAMPLE = PHP Warning: POST Content-Length of 16034 bytes exceeds the limit of -1149239296 bytes in Unknown on line 0)

when trying to execute. I will report back when I have resolved the issue with them.

To re-state...this is PROBABLY NOT a Gallery2 issue but I am appreciative of the fact that you ALL support the product here.

 
alecmyers

Joined: 2006-08-01
Posts: 4342
Posted: Tue, 2008-12-23 18:21
Quote:
we should take extra care not to appear TERSE or ABUSIVE

He's not terse or abusive, just Swiss ;-)

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Tue, 2008-12-23 18:42

oh well :)
my conclusion from email as a medium lacking context / signals is a slight variation of "Never attribute to malice that which can be adequately explained by stupidity":
never attribute to malice that which can be adequately explained by whatever's going on in the head of the person at the other end, by cultural differences, by intent (being efficient), etc.
anyhow, let's get back on topic.

--------------
Documentation: Support / Troubleshooting | Installation, Upgrade, Configuration and Usage

 
fberardi
fberardi's picture

Joined: 2006-10-19
Posts: 77
Posted: Tue, 2008-12-23 18:54

Alecmyers and Valiant;
Two very obtuse comments!! But, I never considered you stupid!!
Back on track...No resolution, as of this moment from the host..I am sure that the problem is theirs and once their PHP problem is resolved, my previously, fully functional, gallery will open up for me again.

More when this is done. And thanks again!

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Tue, 2008-12-23 19:00

ok, more meta discussion:

Quote:
Unfortunately, the threads often stop once a solution is found, WITHOUT adding what was accomplished to the end. It is awful to have problems and feel alone and adrift in a sea of ones-and-zeros...so we users(if I may generalize) find a post that sounds like our problem, and we gather around it. Watching what happens...hoping it uncovers the solution needed for OUR problem.

unfortunately, that doesn't help. the support staff has to go through all these questions with each individual case to properly identify the issue. people providing technical support are used to this repetitive process, used to being pedantic and anal about details. and for a good reason. people providing support have trained eyes. what escapes the normal user when identifying a specific thread as "that's exactly what happened to me" won't escape the support staff when performing the trouble shooting.

i could add this disclaimer when i ask people to create separate forums topics. usually a short sentence does the job without offending anyone.

Quote:
1. I said "it sounds like a known issue"

we have a different definition of "known issue."
- the first meaning is from our known issues page (http://codex.gallery2.org/Gallery2:Known_Issues), listing issues that are known, that may have a workaround, but that won't or can't be fixed by g2 as a product.
- you can also see it as a known bug, e.g. a bug in our bug tracker that has received an initial assessment but not been fixed yet.

that's from the g2 developer / maintainer perspective. from a community / user perspective, there can be known issues (known among the users) which the developers aren't aware of.

the probable source of this disconnect is that some of the developers didn't keep track of the forums very closely lately.

--------------
Documentation: Support / Troubleshooting | Installation, Upgrade, Configuration and Usage

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Tue, 2008-12-23 19:07
Quote:
and the baseUri is correctly configured

if this issue's still unresolved, please post a link to your gallery and specify the configured value for baseUri.
thanks.

Quote:
PHP Warning: POST Content-Length of 16034 bytes exceeds the limit of -1149239296 bytes in Unknown on line 0

if i had control over the apache / php config, i'd look at apache's LimitRequestBody directive and php's post_max_size setting. looks like either of the two is misconfigured with a too large number -> signed integer overflow.

--------------
Documentation: Support / Troubleshooting | Installation, Upgrade, Configuration and Usage

 
fberardi
fberardi's picture

Joined: 2006-10-19
Posts: 77
Posted: Tue, 2008-12-23 19:24

Yes, our (user) perception that a problem is "EXACTLY" the same is often incorrect. And, for example = MY incorrect initial perception that this was a GALLERY2 problem really confused the issue.

I appreciate that starting all over and trying to make Gallery3 may have taken some of the developers bandwidth away from monitoring the forums.

Known issues- I waited for (and upgraded to) Gallery23 because I wanted the feature that let me receive an email when a user added new content. It wasn't until AFTER the version was released that I started seeing indications that the notification only worked when the user ADMIN added or changed ( http://gallery.menalto.com/node/82931 ). I don't see that in the known issue list but do see it reported as a bug: https://sourceforge.net/tracker/?atid=107130&group_id=7130&func=browse .

Ok, so I am sure there are bigger fish to "fry" for you guys than me!!! I really will close this thread when I am sure that the PHP issue is resolved by the HOST!

Cya

 
redmondwrangler

Joined: 2008-08-01
Posts: 3
Posted: Wed, 2008-12-24 14:49

http://www.redmondwrangler.com/gallery/main.php
I apologize for the 'me too' post but it was accurate.
Except I did no upgrade...nothing. One day I simply could not log on to admin the site. It simply returns me to the public pages.

 
redmondwrangler

Joined: 2008-08-01
Posts: 3
Posted: Wed, 2008-12-24 14:56

To follow up on my previous post. I'm not knowledgeable enough to say but, I'd guess it was an apache server issue, not a gallery issue, as the problem corrected itself.
Thanks for the patience.

Good luck fberardi.

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 26107
Posted: Wed, 2008-12-24 16:39

@redmondwrangler, so you are saying it fixed itself in 7 minutes? ( 2008-12-24 07:49 - 2008-12-24 07:56 )

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
fberardi
fberardi's picture

Joined: 2006-10-19
Posts: 77
Posted: Wed, 2008-12-24 17:06

Hey! Quit pummeling the users on MY POST!! LOL
Mine is also an Apache issue and is related to PHP, but...based on the quickness with which all the "HELP" came out of the woodwork to pounce on redmondwrangler, I am now uncertain I should ask for anyone to look at, or discuss it further.

The host said they had to recompile PHP and now I get different errors. If anyone is willing to take this on, please PM me.

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 26107
Posted: Wed, 2008-12-24 17:18
Quote:
and now I get different errors.

I would start a new thread.

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
fberardi
fberardi's picture

Joined: 2006-10-19
Posts: 77
Posted: Wed, 2008-12-24 17:29

I STARTED THIS ONE!!! But, I can see this is going nowhere so "what the heck", I will do it even though it will piss off Albert:

Insanity: doing the same thing over and over again and expecting different results.
Albert Einstein

 
pjmorse

Joined: 2007-01-11
Posts: 16
Posted: Sat, 2009-01-17 19:41
Quote:
Posted: Tue, 2008-12-23 09:24

@fberardi:

without knowing the details and trying things myself, it could be that your baseUri is not configured correctly.
e.g. if your baseUri (a setting in config.php) is set to 'http://example.com/gallery/index.php' or 'http://example.com/gallery/', then your login form submissions are sent to 'index.php' instead of main.php. it then redirects to main.php and in that redirect, the username / password is lost.

For the benefit of those who may come later: I was having this problem as well (login attempts were redirecting to my Gallery front page, and the login.txt means of getting in as admin was failing) and changing my baseUri setting to '' (it had previously been set to 'http://sub.domain.com/photos/') let me log in successfully again. Thanks for pointing out that troubleshooting step.