Page 1 of 1

User last visit unchanged

Posted: 08 Sep 2010, 14:47
by alarocca
Mantis Release: 1.2.2

Account management shows some user information, including creation date and last visit. Both timestamps are exactly the same. Last visit do not change even if the user enter Mantis and do some activities.

In order to understand if it is a page issue (the creation date reported on both column), I checked the database and found the same date too.

I guess the method update_last_visit (or something like that) fails or is never called.

Re: User last visit unchanged

Posted: 08 Sep 2010, 19:19
by atrol
I am not able to reproduce this
Add the following line to file config_inc.php and login as administrator

Code: Select all

$g_show_queries_count = ON;
 $g_show_queries_list = ON;
Check, if you see something like the folllowing lines at the end of the page
41 0.0004 user_api.php:1148 user_update_last_visit()
UPDATE mantis_user_table SET last_visit= 1283973277 WHERE id=1

Re: User last visit unchanged

Posted: 08 Sep 2010, 19:43
by alarocca
found the mistake - the html_footer function was customized losting the call to user_update_last_visit

thank you atrol

Re: User last visit unchanged

Posted: 08 Sep 2010, 19:47
by atrol
thanks for giving feedback