ATutor

Learning Management Tools







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


Login


  • 2004-01-28 21:44:54

    Login

    Hi:

    I have managed to install ATutor. However, it will not let me login. I include the config.inc.php file:
    __________________________________________

    <?php
    /************************************************************************/
    /* ATutor */
    /************************************************************************/
    /* Copyright (c) 2002-2003 by Greg Gay, Joel Kronenberg, Heidi Hazelton */
    /* http://atutor.ca */
    /* */
    /* This program is free software. You can redistribute it and/or */
    /* modify it under the terms of the GNU General Public License */
    /* as published by the Free Software Foundation. */
    /************************************************************************/
    /* This file was generated by the ATutor 1.3.1 installation script. */
    /* File generated 2004-01-28 04:01:15 */
    /************************************************************************/
    /************************************************************************/

    /* the database user name */
    define('DB_USER', 'french_myloginname');

    /* the database password */
    define('DB_PASSWORD', 'mypassword');

    /* the database host */
    define('DB_HOST', 'localhost');

    /* the database tcp/ip port */
    define('DB_PORT', '3306');

    /* the database name */
    define('DB_NAME', 'french_databasename');

    /* The prefix to add to table names to avoid conflicts with existing */
    /* tables. Default: AT_ */
    define('TABLE_PREFIX', 'AT_');

    /* your (ATutor system admin) username to let you add new instructors */
    define('ADMIN_USERNAME', 'adminname');


    /* your (ATutor system admin) password to let you add new instructors */
    define('ADMIN_PASSWORD', 'password');

    /* your (admin) email address */
    define('ADMIN_EMAIL', 'atutoradmin@marcpare.com');

    /* do you want to receive emails when new instructor accounts */
    /* require approval */
    define('EMAIL_NOTIFY', TRUE);

    /* allow regular account users to request their account to be */
    /* upgraded to instructor accounts. */
    define('ALLOW_INSTRUCTOR_REQUESTS', TRUE);

    /* If ALLOW_INSTRUCTOR_REQUESTS is true then you can have the */
    /* requests approved instantly, otherwise each request will */
    /* have to be approved manually by the admin. */
    define('AUTO_APPROVE_INSTRUCTORS', FALSE);

    /************************************************************************/
    /* File manager options: */

    /* Default maximum allowable file size in Bytes to upload: */
    /* Will not override the upload_max_filesize in php.ini */
    $MaxFileSize = 1048576; /* 1 MB */

    /* Default total maximum allowable course size in Bytes: */
    /* When this number is exceeded, no more uploads will be allowed */
    $MaxCourseSize = 10485760; /* 10 MB */

    /* Soft limit threshold: */
    /* How much a course can be over, while still allowing the */
    /* upload to finish. */
    /* Therefore the real course limit is */
    /* $MaxCourseSize + $MaxCourseFloat, but when the float gets */
    /* used then no more uploads will be allowed. */
    $MaxCourseFloat = 2097152; /* 2 MB */

    /* Illegal file types, by extension. Include any extensions */
    /* you do not want to allow for uploading. (Just the extention */
    /* without the leading dot.) */
    $IllegalExtentions = array('exe', 'asp', 'php', 'php3', 'bat', 'cgi', 'pl', 'com', 'vbs', 'reg', 'pcd', 'pif', 'scr', 'bas', 'inf', 'vb', 'vbe', 'wsc', 'wsf', 'wsh', );

    /* The name of your course website. */
    /* Example: Acme University's Course Server */
    /* Single quotes will have to be escaped with a slash: \'. */
    define('SITE_NAME', 'Course Server');

    /* Default language to use, if not browser-defined or */
    /* user-defined. 'en' is always available. Any other language */
    /* specified must already exist in the database. */
    /* Default language: en */
    define('DEFAULT_LANGUAGE', 'en');

    /* Where the cache directory should be created. On a Windows */
    /* machine the path should look like C:\Windows emp\. Path */
    /* must end in a slash. The directory must already exist. */
    /* Make empty or comment out to disable cacheing. */
    /* Back slashes must be escaped if at the end: ex: ..tmp\'); */
    /*define('CACHE_DIR', '');

    /* If you upgrading from a previous version you may want to */
    /* keep backwards compatability on. It is recommended that if */
    /* you do not have too many content files then you should slowly */
    /* convert your content to 1.3 and disable backwards */
    /* compatability. */
    /* Default: false */
    define('BACKWARDS_COMPATIBILITY', FALSE);

    /* DO NOT ALTER THIS LAST LINE */
    define('AT_INSTALL', true);

    ?>

    _________________________

    Version of ATutor used 1.3.1
    OS installed: RedHat 7.2
    MySql 4.0.15
    PHP version 4.3.4
    Apache version 1.3.29

    Installed on hosting service
    PostNuke is already installed
    The MySql database for ATutor is installed on the pre-existing PostNuke database with the prefix "AT_"
    I have root access to my account

    Has anyone installed ATutor successfully on a PostNuke? Any ideas?

    Cheers

    Marc Par

  • 2004-01-29 10:32:34

    err

    what are the error messages?

  • 2004-01-29 12:05:32

    Login problem

    Hi Joel,

    Messages above login box:

    Warning: session_start(): open(/tmp\sess_0130909b5ecb4ad744b0bc55f6c81662, O_RDWR) failed: No such file or directory (2) in C:\Program Files\Apache Group\Apache2\htdocs\ATutor\include\session.inc.php on line 20

    Warning: session_start(): Cannot send session cookie - headers already sent by (output started at C:\Program Files\Apache Group\Apache2\htdocs\ATutor\include\session.inc.php:20) in C:\Program Files\Apache Group\Apache2\htdocs\ATutor\include\session.inc.php on line 20

    Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at C:\Program Files\Apache Group\Apache2\htdocs\ATutor\include\session.inc.php:20) in C:\Program Files\Apache Group\Apache2\htdocs\ATutor\include\session.inc.php on line 20

    Warning: Cannot modify header information - headers already sent by (output started at C:\Program Files\Apache Group\Apache2\htdocs\ATutor\include\session.inc.php:20) in C:\Program Files\Apache Group\Apache2\htdocs\ATutor\include\vitals.inc.php on line 83

    Warning: Cannot modify header information - headers already sent by (output started at C:\Program Files\Apache Group\Apache2\htdocs\ATutor\include\session.inc.php:20) in C:\Program Files\Apache Group\Apache2\htdocs\ATutor\include\basic_html\header.php on line 15

    Messages below Login Box:

    Warning: Unknown(): open(/tmp\sess_0130909b5ecb4ad744b0bc55f6c81662, O_RDWR) failed: No such file or directory (2) in Unknown on line 0

    Warning: Unknown(): Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/tmp) in Unknown on line 0

    thanks in advance,
    Dave

    [reply][b]In reply to:[/b]
    what are the error messages?
    [op]forums/view.php?fid=7;pid=1002;page=1#1006[/op][/reply]

  • 2004-01-29 13:31:36

    Login now works but nothing else

    Hi Dave and Joel:

    The login now works!!! Does MySQL take a little time in updating itself once changes are done to the database?

    I can now login as admin but the other selections: 'Course'; 'Course Categories'; 'Language'; or if I choose 'Users' it will show me the user I registered at installation but will not let me do anythin else ... they all leave me the message:
    _________________________________________

    Internal Server Error
    The server encountered an internal error or misconfiguration and was unable to complete your request.

    Please contact the server administrator, webmaster@frenchasasecondlanguage.org and inform them of the time the error occurred, and anything you might have done that may have caused the error.

    More information about this error may be available in the server error log.

    Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
    _________________________________________________
    I have commented back in the Cache line but this has had not effect.

    Any help would be appreciated