ATutor

Learning Management Tools







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


Users Cant Log In


  • 2005-12-09 07:19:20

    Users Cant Log In

    I've just installed 1.5. on a Windows based server but my users are unable to log in and access content.

    I've checked my database. All the accounts have been created. The login and/or logout activity is being recorded but the pages and content are not being displayed.

    This problem affects my admin account as well.

  • 2005-12-09 09:08:12

    session cookies

    I'd guess your php configuration has sessions disabled. Enter "session cookies" into the search box, top right.

  • 2005-12-09 12:57:54

    Where is php.ini file?

    Where do I find the php.ini files?

  • 2005-12-09 13:10:07

    use find

    Use search to find it.

  • 2005-12-09 13:34:07

    Session Cookies are enabled

    Session cookies are enabled. I'm on a windows sever, and my support team reports they are enabled.

    It looks like the program is writing all the cookies to the server.

    I have a lot of files that start with "sess_" and then a lot of letters and numbers scattered through-out my file system.

  • 2005-12-09 20:29:55

    phpinfo()

    Attach a copy of the output from phpinfo().

    Create, then open a file in your browser with the following 3 lines

    <?php
    phpinfo();
    ?>

    and attached a copy of your config.inc.php file (with the user info removed)

    Session info gets written to the /tmp directory (usually). There should not be files from ATutor created throughout your files system.

    [reply][b]In reply to:[/b]
    Session cookies are enabled. I'm on a windows sever, and my support team reports they are enabled.

    It looks like the program is writing all the cookies to the server.

    I have a lot of files t...
    [op]forums/view.php?fid=7;pid=6526;page=1#6530[/op][/reply]

  • 2005-12-10 04:34:46

    phpinfo

    Attached is my phpinfo. (my config info is included below the closing HTML tag)

    I think you've indentified the problem.

    I do not have anything in the cache line of the config file. I do not have a "Temp" directory in my file structure.

    Here's what my cache definition line looks like

    define('CACHE_DIR', '');

    My content definition line looks like this

    define('AT_CONTENT_DIR', 'D:\\hshome\\josephco\\content\\');

  • 2005-12-10 08:25:25

    session.cookie_path

    The session cookie path should be C:\\tmp, and that directory needs to be writable.

    Also, IIS is not the best webserver for running PHP. I would expect you'll to run into other problems as well. Apache is recommended

  • 2005-12-10 11:20:12

    Unable to change the session.cookie_path

    Not able to change the session.cookie_path in the PHP setup.

    Is there a place in the ATutor script to direct the program to use another directory for the session cookies?

  • 2005-12-11 10:23:34

    Server configuration

    There is probably not much you can do unless your provider is willing you make the adjustments. ATutor runs on default settings, so when things like this occur, it generally means the default settings have been changed, or the server has not been setup properly.

    As I'd mentioned, you probably want to find a host using Apache as their web server. IIS is not stable enough with PHP to use it as the Webserver for a production ATutor environment. If apache were being used in this case, you might be able to set the session cookie path to something local in your web space using an .htaccess for containing a php_flag (use the search to find more info about these)