ATutor

Learning Management Tools







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


Using ATutor 15 with safemode on


  • 2005-06-03 19:51:18

    Using ATutor 15 with safemode on

    Because ATutor needs to be able to write and edit files on a server, php safemode turned on breaks file writing type functions in ATutor. There is file writing going on during the installation as well, so installing ATutor normally fails if safemode is on.

    Here are the steps I took to get ATutor installed on a linux system with safemode turned on.


    1. Make files that need to be edited by the installer writable (e.g chmod a+rwx filename). You can do this as you go through the install process as error messages appear that state which directories can not be created etc.

    2. To disable the safemode check in the installer remove or comment out lines 94-104 in install/index.php

    3. Manually create the following directories in the content/ directory of your ATutor installation.

    mkdir content/import/
    mkdir content/chat/
    mkdir content/backups/

    4. Make those directories writable (e.g chmod a+rwx import/

    chmod a+rwx content/import/
    chmod a+rwx content/chat/
    chmod a+rwx content/backups/

    5. Disable create directories during in Step 4 (delete or comment out lines 31 to 54 in install/include/step5.php [yes it is step5.php]).

    That should take care of the installation. There will still be several features that will not function. Most can be hidden by disabling them using Manage>Student Tools (uncheck the checkboxes, or don't use the tools that don't work).

    Here's a list of things that won't work after the installation if safe_mode is turned on, as a student or instructor (I'll try to give the admin section a test with safe_mode on in the next few days, unless someone else might like to take on the job and post the results here).

    ---
    Caching won't function (leave it turned off)
    File Manager won't work.
    Backups
    Chat
    Import/Export Content Packages
    SCORM Packages
    ---

  • 2005-06-20 07:55:15

    Using ATutor 1.5 with safe-mode on

    6. To import language files with safe mode on you should substitute in the file language_import.php of folder Admin

    set_time_limit(0);

    by

    @set_time_limit(0);

    In older versions of ATutor the file ist called import_lang.php.

    Pyrrhon

  • 2005-06-22 10:35:20

    Using ATutor 1.5 with safe-mode on

    Additional you should also make a writeable directory

    content/logs

    Pyrrhon

  • 2005-06-29 08:12:47

    Unable to connect to database server ATutor 1.5 RC2

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

    Things to describe:
    operating system -Linux Fedora core 3
    version of ATutor -1.5RC2
    versions of php -4.3.9
    version of mysq l -3.23.58-13
    webserver & version -Apache/2.0.52
    copies of error messages -Failed to save user : SQL flush privileges failed : Access denied for user: \'@localhost\' (Using password: NO) while trying to change user properties through webmin. This is following the Error * Unable to connect to database server\" at step 2 of installation.
    changes to default settings -
    web browser being used -Mozilla
    and anything else relevant -CHECK BELOW
    Web Server Options Detected Status
    Apache 1.3.0+ Apache/2.0.52 (Fedora) Good
    PHP Options Detected Status
    PHP 4.2.0+ 4.3.9 Good
    --with-zlib Enabled Good
    --with-mysql Enabled Good
    safe_mode = Off Off Good
    file_uploads = On On Good
    upload_max_filesize >= 2 MB 2M Good
    post_max_size >= 8 MB 8M Good
    session.save_path Directory Writeable Good
    MySQL Options Detected Status
    MySQL 3.23.0+ or 4.0.16+ Found Unknown Version Good

    Install a Fresh Version �