Menu

#1 Cannot log in after setup

v1.0_(example)
open
nobody
5
2002-11-17
2002-11-17
Anonymous
No

After creating database, inserting .sql script, and
uploading files, cannot log in with default usr and pass
given in README file.

Discussion

  • Brian Jarrett

    Brian Jarrett - 2002-11-21

    Logged In: YES
    user_id=638476

    Go into scripts/login.php and change the
    $HTTP_POST_VARS["password1"] to just
    $HTTP_POST_VARS["password"] on line 7.

    or, you can change the name of the HTTP field in
    login.php from name = password to name = password1

    I don't know yet if either of these fixes causes other
    problems.

     
  • Richard Chen

    Richard Chen - 2003-07-10

    Logged In: YES
    user_id=806592

    Ditto. Here's a list:
    [If I use login and passwd] : [then]
    1. ["admin" and "password"] [same screen again]
    2. ["admin" and ""] [error to
    http://www.mydomainhere.com/~myusernamehere/error.php?
    e=Passwords Do Not Match ]
    3. [anything else] [error to
    http://www.mydomainhere.com/~myusernamehere/error.php?
    e=Passwords Do Not Match ]

    I'd fix it myself, but I hope this project is alive enough to yield
    a fix from more familiar members/users/etc.

     
  • mowen

    mowen - 2005-02-10

    Logged In: YES
    user_id=1147357

    Ensure you have 'register_globals = On' in your php.ini
    control file.
    Normally found in /etc/apache/php.ini.
    This fixed it for me.

     
  • mokuma

    mokuma - 2007-03-20

    Logged In: YES
    user_id=1476397
    Originator: NO

    I too did the install and it did not work...

    per martinrowen i activated the register_globals

    but in addition, the only user initially in the hd_users table is noone with a password of null. instructions does mention to create a user.

    so create an admin user and fill in password

    the program uses md5 encryption so if you don't have a encrypter available to you, do the following....

    edit the ..\scripts\login.php file
    comment line 11: $epassword = trim($m->encrypt_password($password));
    insert the following line below it
    $epassword = $password;
    **Note only to connect into app
    Connect to the site and use the admin account that you just created.
    Then use the MyInfo menu option to change your password.

    Once that is completed, go back into the ..\scripts\login.php file and uncomment line 11.
    erase line 12: $epassword = $password;

     

Log in to post a comment.

MongoDB Logo MongoDB