ATutor

Learning Management Tools







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


Browser problems


  • 2007-01-06 16:54:46

    Browser problems

    Hi,
    I just install ATutor v.1.5.3.3 :
    Operating system Windows 2003 Server SP1
    Apache 2.0.46
    Internet explorer 7.0.5730.11
    Firefox 1.5.0.9
    MySql 5.0.18
    PHP 5.2.0

    The fisrt connection and system configuration was ok

    i'm trying to login Atutor using IE and Firefox but the message
    "Session cookies must be enabled in your browser to login." always appears. I just modifed the Options in those 2 browser to accept cookies but the message persists.

    Any idea will be welcome ...!!!

    Thank you

  • 2007-01-07 08:57:21

    Re: Browser problems

    Are you trying to login through a remote form. One outside ATutor?

    You'll need to modify the login script if so. Comment out

    [php]

    if (isset($this_login, $this_password) && !isset($_SESSION['session_test'])) {
    $msg->addError('SESSION_COOKIES');
    } else


    [/php]

  • 2007-01-08 08:50:49

    Re: Browser problems

    If you are asking for help, provide lots of detail so problems can be reproduced.

    Things to describe:
    operating system -
    version of ATutor -
    versions of php -
    version of mysq l -
    webserver & version -
    copies of error messages -
    changes to default settings -
    web browser being used -
    and anything else relevant -

    [reply][b]In reply to:[/b]
    Thanks Greg,
    I did it, now i get the new message :
    Invalid login/password combination.
    I chek table contents in database and it's all right.
    All my browsers accepts cookies, why login.php couldn...
    [op]forums/view.php?fid=7;pid=9616;page=1#9617[/op][/reply]

  • 2007-01-08 09:07:28

    Re: Browser problems

    Hi greg ,
    Install env. description :
    Operating system Windows 2003 Server SP1
    Apache 2.0.46
    Internet explorer 7.0.5730.11
    Firefox 1.5.0.9
    MySql 5.0.18
    PHP 5.2.0

    I modify the login script comment out

    line 59 :
    if (isset($this_login, $this_password) && !isset($_SESSION['session_test'])) {
    $msg->addError('SESSION_COOKIES');
    } else

    i get the new message :
    Invalid login/password combination.
    I chek table contents in database and it's all right.
    All my browsers accepts cookies, why login.php couldn...

    Questions :
    - Could i make a mistake during apache config ?
    - Do you recommend a 2second install with PHP 4 / MySql 4?

    Thx

  • 2007-01-09 08:17:17

    Re: Browser problems

    Restart your browser.

    Try creating a new account and log in with it.

  • 2007-01-09 12:10:22

    Re: Browser problems

    I did it, a new user .. was created but logins doesn't works too.
    I'm planning a second installation in a new PC

    [reply][b]In reply to:[/b]
    Restart your browser.

    Try creating a new account and log in with it.
    [op]forums/view.php?fid=7;pid=9616;page=1#9634[/op][/reply]

  • 2007-01-12 05:46:39

    Re: Browser problems

    I did it ...
    i can create new accounts but problem persists ...
    Following my research i add in line 39
    $_SESSION['session_test'] = TRUE ;

    Wehn i fill user and password now i have the message :
    Invalid login/password combination.

    My OS and all my environnment is in french

    Thnx

    [reply][b]In reply to:[/b]
    I did it, a new user .. was created but logins doesn't works too.
    I'm planning a second installation in a new PC

    [reply][b]In reply to:[/b]
    Restart your browser.

    Try creating a new account a...[/reply]
    [op]forums/view.php?fid=7;pid=9616;page=1#9638[/op][/reply]

  • 2007-01-12 09:57:40

    Re: Browser problems

    I've attached a modified login script. Replace yours with this one and see if that helps.

  • 2007-01-12 10:09:53

    Re: Browser problems

    I create a user lavipeyre / passw atya1408
    at the 'Invalid login/password combination' persists ,

    the sql generated is :

    SELECT member_id, login, first_name, second_name, last_name, preferences, language, status, SHA1(CONCAT(password, '-', 'root')) AS pass FROM AT_members WHERE (login='lavipeyre' OR email='lavipeyre') AND SHA1(CONCAT(password, 'f7f8fb2b11914bff86a8a7ebe89381e948836d96'))='a546f1294e6be13b2e6e4f50fb88fd348bfb4b4a'

    [reply][b]In reply to:[/b]
    I've attached a modified login script. Replace yours with this one and see if that helps.
    [op]forums/view.php?fid=7;pid=9616;page=1#9673[/op][/reply]

  • 2007-01-12 10:10:42

    Re: Browser problems

    If you are asking for help, provide lots of detail so this using the new login.php

    [reply][b]In reply to:[/b]
    I've attached a modified login script. Replace yours with this one and see if that helps.
    [op]forums/view.php?fid=7;pid=9616;page=1#9673[/op][/reply]

  • 2007-01-12 10:11:21

    Re: Browser problems

    i use the new login.php

    [reply][b]In reply to:[/b]
    I've attached a modified login script. Replace yours with this one and see if that helps.
    [op]forums/view.php?fid=7;pid=9616;page=1#9673[/op][/reply]

  • 2007-01-16 04:59:31

    Re: Browser problems

    Subject: Re: Browser problems
    I create a user lavipeyre / passw atya1408
    at the 'Invalid login/password combination' persists ,

    the sql generated is :

    SELECT member_id, login, first_name, second_name, last_name, preferences, language, status, SHA1(CONCAT(password, '-', 'root')) AS pass FROM AT_members WHERE (login='lavipeyre' OR email='lavipeyre') AND SHA1(CONCAT(password, 'f7f8fb2b11914bff86a8a7ebe89381e948836d96'))='a546f1294e6be13b2e6e4f50fb88fd348bfb4b4a'

    [reply][b]In reply to:[/b]
    test login.php
    [op]forums/view.php?fid=7;pid=9616;page=1#9672[/op][/reply]

  • 2007-01-16 08:39:38

    Re: Browser problems

    I've used a dozen systems now to try to reproduce this, but with no luck. The source code look fine.

    There's not much more we can do to help if we are unable to reproduce the problem. No one else seems to be having this problem that we are aware of, so it is almost certainly a problem with your server.

  • 2007-01-17 13:09:05

    Re: Browser problems

    I too have seen this error on our systems, along with the timeout issue, which I have found the root cause of, but not a fix..

    Restore your original login file, the one where you were getting the cookies error.

    This issue has to do with the session.save_path in php.ini. I will not try to troubleshoot your issue directly, as you will need to get with your server-host for that; but rather I will detail how this error appeared for me.

    I was trying to update the session.save_path in php.ini, but when I changed it from the default (/tmp) to anything else, in my case (/tmp/atutor) I would receive this error, because the atutor system couldn't write session data to this folder that I had created.

    I hope this helps when you take your issue to your server host.