ATutor

Learning Management Tools







Pages:1 2 3 4 5 6 7 8 9 10 11 12 13 14 15


User login information not correct


  • 2007-11-30 04:33:12

    User login information not correct

    User menu of Sytem Administration of ATutor 1.5.5 doesn't appear to display correct information (I login never every day but the system reported that I "Never" login).
    The user login information is very useful in monitoring our users. Please help.

    operating system -CentOS : Linux 2.6.9-55.0.2.ELsmp
    version of ATutor -1.5.5
    versions of php -4.3.9
    version of mysq l -4.1.20
    webserver & version - Apache/2.0.52 (CentOS)
    copies of error messages -
    changes to default settings -
    web browser being used -IE6
    and anything else relevant -the system has ATutor 1.5.4 running also.

  • 2007-11-30 08:44:24

    Re: User login information not correct

    I see the problem, but can not reprodcue it on our local systems. Its been added to the bug tracker for investigation. thanks

  • 2007-11-30 08:46:51

    Re: User login information not correct

    Actually, after taking a second look, all the users listed in the image are instructors. Instructors are not tracked. Last login only works for students.

  • 2007-11-30 10:15:58

    Re: User login information not correct

    Why, it works for instructors as well. At the admin's demo server it functions too.


    [b]sunee[/b], I know you have people with a good knowledge in PHP/MySQL (or maybe you know that too). And I see you have changed the login page substantially. So it's logical you should suspect a bug there: some wrong condition, unset variable, or a reassigned one.

    Check the field `last_login` in table `AT_members` -- it should contain some info. If it is empty, than the reason must be in file /login.php.

    In that file, a line responsible for the feature reads:

    $sql = "UPDATE ".TABLE_PREFIX."members SET creation_date=creation_date, last_login=NOW() WHERE member_id=$_SESSION[member_id]";

    Something may prevent the execution to reach this point.

  • 2007-12-04 00:11:55

    Re: User login information not correct

    Thank you for your response.
    IndieRect was right, I just found out myself yesterday that we have changed the login code to be able to use our University login and password by authentication with LDAP (database for our e-mail system) so that users can have only single signed on for all our SWU Inofrmation System including ATutor (we have been using this feature over 2 years but I didn't realize the problem becuase only recently that I have to take care the system as the "adminsitrator" and play around with many features -- it is great)