[SOLVED] Locked Myself Out...

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
CapereSpiritum
Forum Members
Forum Members
Posts: 223
Joined: Wed Dec 28, 2011 12:11 pm

[SOLVED] Locked Myself Out...

Post by CapereSpiritum »

HELP

I've locked myself out of my CMSMS ::)

Have tried
UPDATE cms_users SET password = '21232f297a57a5a743894a0e4a801fc3' WHERE user_id = 1;
Which, if I read right should change password to 'admin'

No good.

Have also tried
UPDATE cms_users SET password = md5('type_new_pass_here') WHERE user_id = 1;
Still no good.

I'm inputing the two commands above in the PHPMyAdmin window called 'Run SQL query/queries on database DBNAME'

But still cannot gain access....
Last edited by CapereSpiritum on Wed Nov 21, 2012 5:54 pm, edited 1 time in total.
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm

Re: Locked Myself Out...

Post by calguy1000 »

Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
CapereSpiritum
Forum Members
Forum Members
Posts: 223
Joined: Wed Dec 28, 2011 12:11 pm

Re: Locked Myself Out...

Post by CapereSpiritum »

Thanks Calguy

Think I panicked cause I 'forgot' about the Lost Password link.....

It all happend when I was changing the username & password

My stats show several failed hack attempts

Are there any characters not allowed? i.e. can I use <, %, £ etc?

What are the limits on numbers of characters in both username and password?
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm

Re: Locked Myself Out...

Post by calguy1000 »

There are reports about special characters like ! and $ not working in passwords... but I've never had a problem. The input field accepts a limited number of characters but it's reasonable (50 or something)... this is hashed into a 16 byte value anyways.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Post Reply

Return to “CMSMS Core”