CREATE TABLE `modx_user_attributes` ( `id` int(10) NOT NULL auto_increment, `internalKey` int(10) NOT NULL default '0', `fullname` varchar(100) collate utf8_unicode_ci NOT NULL default '', `role` int(10) NOT NULL default '0', `email` varchar(100) collate utf8_unicode_ci NOT NULL default '', `phone` varchar(100) collate utf8_unicode_ci NOT NULL default '', `mobilephone` varchar(100) collate utf8_unicode_ci NOT NULL default '', `blocked` int(1) NOT NULL default '0', `blockeduntil` int(11) NOT NULL default '0', `blockedafter` int(11) NOT NULL default '0', `logincount` int(11) NOT NULL default '0', `lastlogin` int(11) NOT NULL default '0', `thislogin` int(11) NOT NULL default '0', `failedlogincount` int(10) NOT NULL default '0', `sessionid` varchar(100) collate utf8_unicode_ci NOT NULL default '', `dob` int(10) NOT NULL default '0', `gender` int(1) NOT NULL default '0' COMMENT '0 - unknown, 1 - Male 2 - female', `country` varchar(5) collate utf8_unicode_ci NOT NULL default '', `state` varchar(25) collate utf8_unicode_ci NOT NULL default '', `zip` varchar(25) collate utf8_unicode_ci NOT NULL default '', `fax` varchar(100) collate utf8_unicode_ci NOT NULL default '', `photo` varchar(255) collate utf8_unicode_ci NOT NULL default '' COMMENT 'link to photo', `comment` varchar(255) collate utf8_unicode_ci NOT NULL default '' COMMENT 'short comment', PRIMARY KEY (`id`), KEY `userid` (`internalKey`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='Contains information about the backend users.' AUTO_INCREMENT=2 ;
got it ...
i had to run an SQL query UPDATE modx_user_attributes SET blockeduntil=0 WHERE id=1;
You need to have access to phpMyAdmin on your host, if you have not then ask your service provider.
- Now open phpMyAdmin.
- Select your database from dropdown list in left menu of phpMyAdmin. ( e.g. modx )
- Now, you see the list of tables displayed in left menu.
- Find table name with "table_prefix_user_attributes". ( e.g. modx_user_attributes )
- Find your username in the list.
- In your username row, you will find field named "blockeduntil" and this field contains 10 digits value (e.g. 1116602445)
- Edit the field, and set the value to "0" (zero).
- Exit from phpMyAdmin, and you are done.