After long hours of failure, I was trying to install CKFinder today, a function that I feel belongs in Drupal core, and that day is coming, I'm told. All of a sudden I could no longer log in to my admin panel. I can't plant a cursor in the box, that is. I tried several solutions posted to the forum, such as adding ?q=user to the URL but no luck. I had been editing CKFinder's config.php according to the CKFinder install tips when the problem started. I added a few lines to the file, such as session_start() and function CheckAuthentication and $_SESSION['CKFinder_UserRole'] = "admin" as shown below.
// WARNING : DO NOT simply return "true". By doing so, you are allowing
// "anyone" to upload and list the files in your server. You must implement
// some kind of session validation here. Even something very simple as...
// return isset($_SESSION['IsAuthorized']) && $_SESSION['IsAuthorized'];
// ... where $_SESSION['IsAuthorized'] is set to "true" as soon as the
// user logs in your system. To be able to use session variables don't
// forget to add session_start() at the top of this file.
$_SESSION['CKFinder_UserRole'] = "admin";
Then when I became locked out, I changed it all back, but that didn't let me log in. I know this is a tough one but does anybody have a clue
what I can do if anything? It looks like there are many ways to get locked out but mine has to do with php code I think.