Thursday, August 21, 2008

how do I manually add an administrator user for joomla?

huhu backup ur db first b4 do this.....
all this related 3 table to insert operation....

INSERT INTO `jos_users` VALUES

(62, 'Administrator', 'admin', ' your-email@email.comThis e-mail address is being protected from spam bots, you need JavaScript enabled to view it ', '21232f297a57a5a743894a0e4a801fc3', 'Super Administrator', 0, 1, 25, '2005-09-28 00:00:00', '2005-09-28 00:00:00', '', '');


INSERT INTO `jos_core_acl_aro` VALUES (10,'users','62',0,'Administrator',0);


INSERT INTO `jos_core_acl_groups_aro_map` VALUES (25,'',10);



Note the extra two tables. If you are not sure what you are doing, please take care. This is directly editing the database

No comments:

Locations of visitors to this page
DROP ME A MSG :D