Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Password rejected. What can I do?
G’day,
Having a very unusual problem with a client site. It’s been a while since any updates have been made, and my client now wants to change some of the text on his site. When either he or I try logging into Textpattern, however, we receive a message saying, “Could not log in with that name/password”. I know that I’m using the correct login; my login is the same for all my client sites. This is very, very bad. Does anyone know what to do?
Thanks,
Matthew
Offline
Re: Password rejected. What can I do?
Managed to get in by uploading TXP 4.0.3. Don’t know why I was locked out to begin with, though. Any incites would still be welcome. Thanks.
Offline
#3 2006-04-16 03:01:38
- Mary
- Sock Enthusiast
- Registered: 2004-06-27
- Posts: 6,236
Re: Password rejected. What can I do?
Sure, make use of a database program like phpMyAdmin, or whatever is provided by the host. Reset the password (table “txp_users”, make sure and use all lower-case), and run the function “password” on it (should be in the function dropdown in phpMyAdmin). Does that help?
Edit: okay, that’s weird…
Last edited by Mary (2006-04-16 03:02:08)
Offline
Re: Password rejected. What can I do?
I’ll keep that in mind if it happens again. Thanks! :)
Offline
#5 2006-05-08 07:40:52
- janw
- Member
- From: Groningen
- Registered: 2005-11-18
- Posts: 47
Re: Password rejected. What can I do?
I got the same problem. I used it on a different server already a lot. No problem.
Now this one is on a different server and I can’t login after initial setup. I know the password is correct and I tries resetting it with PHPMyadmin….
Any ideas?
Last edited by janw (2006-05-08 07:41:05)
Offline
#6 2006-05-08 13:16:51
- janw
- Member
- From: Groningen
- Registered: 2005-11-18
- Posts: 47
Re: Password rejected. What can I do?
Anyone? I’m a bit in a hurry with this one :-(
Offline
#7 2006-05-10 18:37:53
- janw
- Member
- From: Groningen
- Registered: 2005-11-18
- Posts: 47
Re: Password rejected. What can I do?
Nobody?
Offline
#8 2006-05-10 19:06:01
- els
- Moderator
- From: The Netherlands
- Registered: 2004-06-06
- Posts: 7,458
Re: Password rejected. What can I do?
janw wrote:
…after initial setup.
If this means that it’s a new install without any content, you could remove everything and re-install. But I suppose you’ve tried that…
Offline
#9 2006-05-10 19:17:21
- guiguibonbon
- Member
- Registered: 2006-02-20
- Posts: 296
Re: Password rejected. What can I do?
I guess you could temporarily hack it.
Open textpattern>index.php in a text editor
replace the following lines (from lines 74 to 75 if I think)
include txpath.'/include/txp_auth.php';
doAuth();
with
$txp_user = "youruserid";
you should find the user id in the txp_users table, with phpmyadmin
I haven’t tested this but normally it should work, and shure can’t damage anything. If it doesn’t work, reset everything. Now, obviously this is only a temporary solution, since your admin isn’t protected at all. So you will still need to find a long-term solution.
Offline
#10 2006-05-10 19:53:10
- janw
- Member
- From: Groningen
- Registered: 2005-11-18
- Posts: 47
Re: Password rejected. What can I do?
guigui: It says "restricted" and indeed this doesn't sound like a longterm solution :-)
Els: Yes I tried that :-(
@rest of the world: nobody had the same problem before?
2 different servers. What is the problem with this one?
Offline
#11 2006-05-10 20:20:23
- guiguibonbon
- Member
- Registered: 2006-02-20
- Posts: 296
Re: Password rejected. What can I do?
$txp_user = "Your Login";
this works. If ever it can help you move forward for a few days. Change “Your Login”, obiviously.
Last edited by guiguibonbon (2006-05-10 20:22:07)
Offline
#12 2006-05-15 13:36:10
- pencilneck
- Member
- From: Daarsit
- Registered: 2004-08-10
- Posts: 10
Re: Password rejected. What can I do?
Doesn’t work for me either, I’m having the exact same problem, and NONE of the proposed solutions, including the MYSQL method’s work for me.
I’ve even tried importing a working login from another txp site. and still no luck.
I’m thinking it might be something to do with the version of php/mysql on my site: 4.4.0/4.1.14-standard
OR maybe the nonce value is referenced in another field somewhere?
please help knowledgable ones, it seems such a shame to write off a whole site just because of a tiny login bug.
EDIT: oops. just fixed it. using the method above – $txp_user = “Your Login”;
got in and created another user that works.
yay!!!!
Last edited by pencilneck (2006-05-15 13:48:33)
Offline