Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Admin Login Problem
Sorry to post this here but it is urgent and the Troubleshooting forum doesn’t get as many visitors …
Hi,
I can’t login to the admin side of one of my sites.
I’ve reset the password using phpmyadmin as instructed in the reference – using Password from the dropdown.
I get the login page then on entering my details I get a 500 server error message.
I then have to clear cookies to get the login page again … then the same thing happens.
The front end is working.
Anyone any ideas what could be happening?
Thanks
There are 10 types of people in the world: those who understand binary, and those who don’t.
Offline
Re: Admin Login Problem
Did you change your .htaccess recently ?
Offline
Re: Admin Login Problem
Hi
The password hash has changed since 4.4 and how have you reset your password using phpmyadmin?
Cheers
Online
Re: Admin Login Problem
from the FAQ
With phpMyAdmin, or at the MySQL command prompt, run the following query:
update txp_users set pass=password(lower('pass')) where name='user';
..where pass is the new password, and user is the login username.
is this what you did?
Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.
Offline
Re: Admin Login Problem
Dragondz wrote:
The password hash has changed since 4.4 and how have you reset your password using phpmyadmin?
NB: The password reset instructions from previous versions are still valid in 4.4+
Offline
Re: Admin Login Problem
Thanks for the replies.
No I haven’t changed my .htaccess file recently.
I changed my password by writing to the table.
I have since used the SQL command prompt and executed the query Colak suggested.
No luck.
There are 10 types of people in the world: those who understand binary, and those who don’t.
Offline
Re: Admin Login Problem
Anything in the PHP error logs that might give us a clue? You can usually access these from your host’s cpanel or, depending on the severity of the problem, you may get an error_log
file in your textpattern root, or /textpattern
subfolder which you can download via your FTP client. Sometimes these give file names and line numbers of encountered errors and we can work back from there.
Last edited by Bloke (2011-07-03 18:42:39)
The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.
Txp Builders – finely-crafted code, design and Txp
Offline
Re: Admin Login Problem
Hi Stef,
There is an error log file in the root but the last entry was June 2010 and was to do with mail.
No error log in the textpattern folder.
There are 10 types of people in the world: those who understand binary, and those who don’t.
Offline
Re: Admin Login Problem
wet a écrit:
Dragondz wrote:
The password hash has changed since 4.4 and how have you reset your password using phpmyadmin?
NB: The password reset instructions from previous versions are still valid in 4.4+
Sorry my mistake, i thinked that using phppass in txp has changed the manner that the password is stored in DB.
Online
Re: Admin Login Problem
It has, but there’s a password upgrade path which also works for the “old” password recovery procedure.
Offline
Re: Admin Login Problem
wet a écrit:
It has, but there’s a password upgrade path which also works for the “old” password recovery procedure.
Thanks for the precision wet
Online
Re: Admin Login Problem
Hi,
I temporarily swapped databases with another txp install on the same server.
The site worked so I know the textpattern files 4.4.1 are not corrupted and it’s not a permissions problem.
I also tried changing the password on another txp site using the method given, it worked.
So I’m presuming that the password isn’t an issue on my problem site.
I think it may be possibly be a cookie problem but I’m not really sure.
I’ve looked at the cookie on the problem site and one that is working and they contain similar data.
Any one got a clue what may be causing this?
Thanks
There are 10 types of people in the world: those who understand binary, and those who don’t.
Offline