Hi Rob- I followed your suggestions and was not able to find an admin user in my db after I ran the phpbb. Following your next instruction I typed the following into the SQL tab in phpAdmin:
Code:
SQL query:
INSERT INTO `jos_users` VALUES (62, 'Administrator', 'admin', 'spyro@veggiefest.com', '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);
MySQL said: Documentation
#1064 - You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near '2005-09-28 00:00:00', '2005-09-28 00:00:00', '', '');
INSERT I
I am by no means a SQL buff, so any help you can provide would be appreciated. I did backup my db finally, so there is little risk at this point.
-Thanks for your help in advance.
RobInk wrote:
Hi,
You might want to have a look at this FAQ
http://forum.joomla.org/index.php/topic,10985.0.htmlIf that does not help, first make a backup of your database ! After that you could check jos_users table for your admin account. If not there, or it is but incorrect, you could remove it and try running this:
Code:
INSERT INTO `jos_users` VALUES (62, 'Administrator', 'admin', 'your-email@email.com', '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, I would not use this script.