I would look at your two configure.php files:
/includes/configure.php
/admin/includes/configure.php
and make sure that you have the same paths, database and username and password set for these ...
Go to phpMyAdmin for your site and locate your database and reset it to the defaults:
First run this to remove and reset the structure:
Code:
DROP TABLE IF EXISTS admin;
CREATE TABLE admin (
admin_id int(11) NOT NULL auto_increment,
admin_name varchar(32) NOT NULL default '',
admin_email varchar(96) NOT NULL default '',
admin_pass varchar(40) NOT NULL default '',
admin_level tinyint(1) NOT NULL default '1',
PRIMARY KEY (admin_id),
KEY idx_admin_name_zen (admin_name)
) TYPE=MyISAM;
Next run this to set the login to Admin admin:
Code:
INSERT INTO admin VALUES (1, 'Admin', 'admin@localhost', '351683ea4e19efe34874b501fdbf9792:9b', 1);
WARNING: be sure to reset the Admin login as soon as you have access for the Admin password and email address ...
NOTE: if you are using prefixes on your database tables, as in your database table for admin reads: something_admin
then you will need to adjust the information above to address the proper database table name ...