ATutor

Learning Management Tools







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


Caught in continuous loop


  • 2005-06-17 13:42:45

    Caught in continuous loop

    Win2K Server (SP4)
    ATutor 1.4.3
    PHP 4.3.2
    MySQL 4.1.10a-nt
    Apache 1.3

    I am running into an issue on IE when testing this system. I am logging in and out with various user accounts, browsing and enrolling in courses. It only seems to happen when I log in as different users. Eventually and randomly, I will get caught in a loop where the page will try to load, then reload and so on...

    I have narrowed it down to the following line in the code of certain pages:
    $msg->printAll();

    This is odd because this code simply prints out the messages (errors, notifications, etc.). It also seems to be session-based because when I close the browser and re-open, this error no longer occurs.

    Has anyone run into this or a similar error?

  • 2005-06-17 17:39:38

    Debug

    Turn on debugging in include/vitals.inc.php

    define(AT_DEVEL, '1');

    A print out of the variables in the current session will appear at the bottom of the screen. Next time the problem occurs, save a copy of the page where it occurs (you may need to hit Esc) and attach it to this thread so we can have a look. A phpinfo page and perhaps the most recent error log (in the admin tools) may have clues as well.

    You might also see if you can reproduce the problem on another system, using the same browser.

    You might try reproducing the problem in ATutor1.5 as well, and check out the new feature while you're at it ;-)

  • 2005-06-17 17:44:51

    Debug

    Turn on debugging in include/vitals.inc.php

    define(AT_DEVEL, '1');

    A print out of the variables in the current session will appear at the bottom of the screen. Next time the problem occurs, save a copy of the page where it occurs (you may need to hit Esc) and attach it to this thread so we can have a look. Check the session for the correct login and member_id.

    A phpinfo page and perhaps the most recent error log (in the admin tools) may have clues as well.

    You might also see if you can reproduce the problem on another system, using the same browser.

    You might try reproducing the problem in ATutor1.5 as well, and check out the new feature while you're at it ;-)