ATutor

Learning Management Tools







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


Error when trying to run ATutor the first time


  • 2003-10-26 22:36:52

    Error when trying to run ATutor the first time

    When trying to run ATutor for teh first time I get the error below. I have checked and double checked teh config file and have commnted out the cache lines.
    I have coopied the config file below as well...


    <img src="http://www.webschoolcentral.com/ATutor/images/error_x.gif" align="top" alt="
    Fatal error: Call to undefined function: cache() in /htdocs/ATutor/include/vitals.inc.php on line 430




    <?php
    /****************************************************************/
    /* ATutor */
    /****************************************************************/
    /* Copyright (c) 2002-2003 by Greg Gay & Joel Kronenberg */
    /* 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. */
    /****************************************************************/

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

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

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

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


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

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

    /* your (admin) email address */
    define('ADMIN_EMAIL','webmaster@webschoolcentral.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: */

    /* Maximum allowable file size in Bytes to upload: */
    /* Will not override the upload_max_filesize in php.ini */
    $MaxFileSize = 512000;/* 500 KB */

    /* Total maximum allowable course size in Bytes: */
    $MaxCourseSize = 5242880;/* 5 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', 'bat', 'cgi', 'pl');

    /* Allow instructors to import the course content directory */
    /* from the tar.gz exported file. This option to disable the importing */
    /* of the content directory was added as a security concern. */
    /* As of version 1.0 the file manager is a much more secure way */
    /* of uploading course content. */
    define('ALLOW_IMPORT_CONTENT', TRUE);


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

    /* 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\temp\. Path */
    /* must end in a slash. The directory must already exist. */
    /* Make empty or comment out to disable cacheing. */
    /*define('CACHE_DIR', '/dev/shm/'); */

    /*define('CACHE_DIR', '/temp');*/


    ?>
    :(

  • 2003-10-27 09:04:21

    What OS

    I little more info would be helpful
    OS
    php version
    webserver


    Have you tried setting up a cache directory.

    Check the end of the vitals file for a trailing space. If you find one, delete it then try again.