ATutor

Learning Management Tools







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


Cookies issue after install of 155


  • 2007-12-12 12:30:32

    Cookies issue after install of 155

    operating system - XP Pro
    version of ATutor - 1.5.5
    versions of php - 5.2.0
    version of mysql - 5.0.27
    webserver & version - Apache 2.2.6
    copies of error messages - "Session cookies must be enabled in your browser to login."
    web browser being used - IE 6.0

    I'm a new ATutor user struggling to get past the "Session cookies must be enabled in your browser to login" error during login. I have checked everything I can think of but I still can't get logged in. Can anyone help me out?

    I have installed all components (Apache, PHP, MySQL, ATutor) on my local computer (localhost) for evaluation purposes and am eager to check it out in more detail. Hoping that ATutor might be a btter fit in our organization than Moodle (due to its complexity).

    Regards,
    Brian

  • 2007-12-12 12:46:10

    Re: Cookies issue after install of 1.5.5...

    Hi,

    Have you tried this?
    http://www.atutor.ca/view/7/9917/1.html

  • 2007-12-12 12:55:20

    Re: Cookies issue after install of 1.5.5...

    harris,

    Thanks for your reply.

    I have tried those suggestions and EVERYTHING else I could find on this site...still no go. I'm sure it's a setting somewhere that isn;t set right, but for the life of me I can't isolate it. The installation went fine otherwise.

  • 2007-12-12 13:00:26

    Re: Cookies issue after install of 1.5.5...

    Here is a snippet of the [Session] section of my php.ini...

    [Session]
    ; Handler used to store/retrieve data.
    session.save_handler = files

    ; Argument passed to save_handler. In the case of files, this is the path
    ; where data files are stored. Note: Windows users have to change this
    ; variable in order to use PHP's session functions.
    ;
    ; As of PHP 4.0.1, you can define the path as:
    ;
    ; session.save_path = "N;/path"
    ;
    ; where N is an integer. Instead of storing all the session files in
    ; /path, what this will do is use subdirectories N-levels deep, and
    ; store the session data in those directories. This is useful if you
    ; or your OS have problems with lots of files in one directory, and is
    ; a more efficient layout for servers that handle lots of sessions.
    ;
    ; NOTE 1: PHP will not create this directory structure automatically.
    ; You can use the script in the ext/session dir for that purpose.
    ; NOTE 2: See the section on garbage collection below if you choose to
    ; use subdirectories for session storage
    ;
    ; The file storage module creates files using mode 600 by default.
    ; You can change that by using
    ;
    ; session.save_path = "N;MODE;/path"
    ;
    ; where MODE is the octal representation of the mode. Note that this
    ; does not overwrite the process's umask.
    ;session.save_path = "/tmp"

    ; Whether to use cookies.
    session.use_cookies = 1

    ;session.cookie_secure =

    ; This option enables administrators to make their users invulnerable to
    ; attacks which involve passing session ids in URLs; defaults to 0.
    ; session.use_only_cookies = 1

    ; Name of the session (used as cookie name).
    session.name = PHPSESSID

    ; Initialize session on request startup.
    session.auto_start = 0

    ; Lifetime in seconds of cookie or, if 0, until browser is restarted.
    session.cookie_lifetime = 0

    ; The path for which the cookie is valid.
    session.cookie_path = /atutor

    ; The domain for which the cookie is valid.
    session.cookie_domain = localhost

  • 2007-12-12 14:21:11

    Re: Cookies issue after install of 1.5.5...

    Where is this php.ini? Inside apache or C:/php?

  • 2007-12-12 14:29:43

    Re: Cookies issue after install of 1.5.5...

    php.ini is in c:\program files\php

  • 2007-12-12 14:31:32

    Re: Cookies issue after install of 1.5.5...

    Can you try changing the php.ini file under the apache server instead?
    Like for instance, it would be
    ..\apache\bin\php.ini

  • 2007-12-12 14:34:53

    Re: Cookies issue after install of 1.5.5...

    I'll try it...there isn't a php.ini file in \apache\bin right now, so should I just copy my \php\php.ini to the apache\bin directory?

  • 2007-12-12 14:43:33

    Re: Cookies issue after install of 1.5.5...

    No, it depends where your apache reads the php.ini, I am suggesting that 'cause mine actually reads from xampp\apache\bin\php.ini.

    Try changing your ;
    ; session.save_path = "N;/path"

    to a specific path, like for instance
    "C:\temp"

  • 2007-12-12 14:58:47

    Re: Cookies issue after install of 1.5.5...

    Working!

    I think it was the path in the httpd.conf file that was incorrect.

    I had ATutor previously installed using XAMPP, but then wiped it and reinstalled Apache, PHP, and MySQL manually. I'm sure there was a disconnect somewhere in my manual process that the XAMPP install handled for me.

    Thanks for your help harris. I like what I see so far in ATutor...much easier to administrate/modify than Moodle IMO.

    Brian

  • 2007-12-12 15:00:31

    Re: Cookies issue after install of 1.5.5...

    Not a problem! :)