I’m working on a site for a client and this is the first time I’ve experienced this problem and I’m finding it infuriating.
I’ve got a copy of the site locally, the host is all correct and the config and path files are correct as far as I can tell. The database was exported and imported locally both using phpMyAdmin.
When I attempt to login I get the following error: The username you submitted was not found in the database.
It’s in the database because I’m looking at it. I’ve spent almost 4 hours on this now and EE gives me zero clues as to what might be the problem. Nothing in the error logs.
I’ve made sure the encoding was correct on the database.
I’ve added $conf[‘admin_session_type’] = “s”; although this made no difference at all.
I’ve been through most of the other advice on the forum for this issue that I’ve found through searching and nothing has brought me closer to the simple task that is logging into the admin panel.
The client is using ExpressionEngine v 1.6.1 for the website
My config looks like this…
<?php
if ( ! defined('EXT')){
exit('Invalid file request');
}
$conf['app_version'] = "161";
$conf['license_number'] = "xxx";
$conf['debug'] = "1";
$conf['install_lock'] = "1";
$conf['db_hostname'] = "localhost";
$conf['db_username'] = "root";
$conf['db_password'] = "root";
$conf['db_name'] = "oyster_db";
$conf['db_type'] = "mysql";
$conf['db_prefix'] = "exp";
$conf['db_conntype'] = "0";
$conf['system_folder'] = "system";
$conf['cp_url'] = "http://mysite:8888/system/index.php";
$conf['doc_url'] = "http://expressionengine.com/docs/";
$conf['is_system_on'] = "y";
$conf['allow_extensions'] = "n";
$conf['multiple_sites_enabled'] = "n";
$conf['admin_session_type'] = "s";
?>
Help would be gratefully appreciated.