I have tried to install this script , but when I finished, I couldn't log into the system with my username/password I set. why?
I tried to recreate the issue but it worked for me. I see three possibillities in your case, either that your password and username are the same or that you entered in some weird characters or that you just entered wrong username/password.
I'm sure that I have entered the correct username/password and the password doesn't contain some weird characters.
I've had a PM conversation with opdir and I solved his issue. Well it turned out that the login didn't worked when register_globals was turned off. So if anyone have login problems, I suggest this fix: ________________ Delete the '-' and add the '+' lines in admin_login: - $GLOBALS['MM_Username'] = $_POST['username']; - $GLOBALS['MM_UserGroup'] = 'Admin'; - - //register the session variables - session_register("MM_Username"); - session_register("MM_UserGroup"); + $_SESSION['MM_Username'] = $_POST['username']; + $_SESSION['MM_UserGroup'] = 'Admin'; Code (markup): ________________ This fix will be included in future versions of the script. But until rc3, you have to do it yourself(if the admin login doesn't work for you).
LOL.. sorry but I thought I could run a away with that simple explanation.. Anyway, I only checked a qoute from the PHP manual that explained this [QOUTE]If you want your script to work regardless of register_globals, you need to instead use the $_SESSION array as $_SESSION entries are automatically registered. If your script uses session_register(), it will not work in environments where the PHP directive register_globals is disabled.[/QOUTE] And after that fix, op got his copy to work. So I assumed it was the register_globals but obviously not in your case.. hehe
For those who are interested. OpenLD 1.1 Alpha has just been released. Recommended for experimental purposes and includes many new major features/changes.
This looks like an interesting little directory script... I think I might look into this. Thanks, latehorn.