ATutor

Learning Management Tools







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


ATutor HowTo Course Import


  • 2003-06-30 14:13:34

    ATutor HowTo Course Import

    I've tried downloading the ATutor HowTo Course, but I get an error when un-zipping the file, it it possible to have to:

    1. Fix the file, if it's not my problem :)
    2. Offer the file in another format
    3. Offer individual files

  • 2003-06-30 18:42:30

    Don't Unzip Imported Courses

    The ATutor HowTo course is intended to be imported into ATutor in the specific format provided in the download file. Though it should unzip (i'm not sure why it's not for you), you should not attempt to unpack the file before importing it into ATutor.

    It does import cleanly.

  • 2003-06-30 20:05:04

    Uploading course

    I get the following error, I've tried to increase the following settings in the config.inc.php file with no effect.

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

    /* Total maximum allowable course size in Bytes:*/
    $MaxCourseSize = 955242880; /* 5 MB */

    Fatal error: Allowed memory size of 8388608 bytes exhausted at (null):0 (tried to allocate 10000001 bytes) in /home/waderoberts/www/kcfd/atutor/users/import.php on line 146

  • 2003-07-01 14:10:15

    check upload_max_filesize in php.ini

    HowTo is about 1.3 mb so it should import into a default installation of ATutor without complaining about the size of the file.

    Check the value of upload_max_filesize in php.ini to be sure that value is not set too small. By default this setting is 2mb, which may be a little small for some ATutor courses. We generally set ours to 8mb so large courses can be moved around without any trouble.

    If this doesn''t fix the problem, give me some more information (web server, php version, access info for your server, a phpinfo page,...)

    greg

    [reply][b]In reply to:[/b]
    I get the following error, I've tried to increase the following settings in the config.inc.php file with no effect.

    /* Maximum allowable file size in Bytes to upload:*/
    /* Will not override the u...
    [op]forums/view.php?fid=7;pid=188;page=1#190[/op][/reply]

  • 2003-07-01 14:49:13

    Class upload

    I don't think my host will let me change the php.ini file, but the following values are in the php info page:

    memory_limit 8M 8M
    post_max_size 8M 8M

    Are these the same?

    I realize the benefit of learning by doing, but is it possible to just ftp the files?

  • 2003-07-01 20:03:42

    upload_max_filesize?

    It's "upload_max_filesize" that needs to be sufficiently large.

    If you own the ATutor installation, ftp is possible. If you don't, you need to speak to your system administrator.

    greg

  • 2003-08-06 18:29:06

    Re:upload_max_filesize?

    Is it possible to use htaccess to increase the upload_max_filesize? If so, how can this be done?

    Manuel

  • 2003-08-06 19:03:41

    Maybe yes, maybe no

    Apparently an htaccess entry like this works, but we haven't tested it. htaccess need to reside in the same directory as the upload script.

    <ifModule mod_php4.c>
    php_value upload_max_filesize 25M
    </IfModule>

    [reply][b]In reply to:[/b]
    Is it possible to use htaccess to increase the upload_max_filesize? If so, how can this be done?

    Manuel
    [op]forums/view.php?fid=7;pid=188;page=1#285[/op][/reply]

  • 2003-08-06 19:32:49

    RE: upload_max_filesize

    I tried the htacces you suggested, but still i have the same problem as Wade. I don\'t have access to the php.ini. Is using FTp is an option, where should i upload the ATutor_HowTo_1.2.zip file? How will ATutor recognize the new uploaded content?

    Manuel

    PD: I found this link http://www.phpbuilder.com/mail/php-general/2002122/0942.php that may interest you. It suggests a work around to the upload_max_filesize. I dont\'know PHP, so i don\'t if this will work, less how to use it:)

  • 2003-08-07 17:35:07

    HowTo must be imported

    You should have no trouble importing ATutor HowTo. It is less than 2mb. You can not FTP the file to the server because it must be extracted by ATutor during the upload, and its parts put in the right place.

    You can FTP files into a course content directory if your ISP allows this (assuming you own the directory ATutor is installed in). This might be for uploading large files like video or content archives. Talk to your ISP if you need help with FTP.

    Can you upload files using the FileManger? If not are the permissions on the content/ directory set to writeable?

    [reply][b]In reply to:[/b]
    I tried the htacces you suggested, but still i have the same problem as Wade. I don\'t have access to the php.ini. Is using FTp is an option, where should i upload the ATutor_HowTo_1.2.zip file? How...
    [op]forums/view.php?fid=7;pid=188;page=1#287[/op][/reply]

  • 2003-08-22 14:45:02

    Max file size internals

    The problem is that the "max_quota" and "max_file_size" parameters are stored in the SQL database under the table "courses". When you create a new course, these values are taken from the config.inc.php. However, if you change the config file it does not affect already defined courses!!!!

    If it is empty course, then just remove it and create new and the new limits will be applied.

    If it is not an empty course, then use SQL queries directly to fix the problem.

    The easiest way for non-experienced SQL users is to have the MySQL Control Center installed on your workstation (downloadable from www.mysql.com). Then you can easily do such direct database editing from a nice GUI.

  • 2003-08-22 18:09:35

    Use admin.php

    Unless you have purposely set "max_quota" and "max_file_size" to something smaller than the default values, this should not affect importing HowTo. Howto's size is smaller than the default allowable import size.

    You can change these values in ATutor by adjusting course properties with the administrator tools. You should not need a GUI front end for MySQL to do it.

    The values in config.inc.php are default values used if they have not been set on a per course basis by the administrator.

  • 2003-08-31 12:24:23

    Error Upload

    On uploading course:

    Fatal error: Allowed memory size of 8388608 bytes exhausted at (null):0 (tried to allocate 10000001 bytes) in /web/htdocs/www.vecchioponte.net/home/corsi/users/import.php on line 145

    the url of phpinfo()
    http://www.vecchioponte.net/corsi/info.php

    help me!!!!! thanks

  • 2003-08-31 12:25:59

    error upload

    sorry the correct url for phpinfo() is
    http://www.vecchioponte.net/info.php

    [reply][b]In reply to:[/b]
    On uploading course:

    Fatal error: Allowed memory size of 8388608 bytes exhausted at (null):0 (tried to allocate 10000001 bytes) in /web/htdocs/www.vecchioponte.net/home/corsi/users/import.php on li...
    [op]forums/view.php?fid=7;pid=188;page=1#344[/op][/reply]

  • 2003-08-31 12:47:44

    More info

    phpinfo looks okay.


    Can you give us instructor/admin access to your ATutor installation. Email it to me infoATatutor.ca

    [reply][b]In reply to:[/b]
    sorry the correct url for phpinfo() is
    http://www.vecchioponte.net/info.php

    [reply][b]In reply to:[/b]
    On uploading course:

    Fatal error: Allowed memory size of 8388608 bytes exhausted at (null...[/reply]
    [op]forums/view.php?fid=7;pid=188;page=1#345[/op][/reply]

  • 2003-09-01 08:15:32

    Import still does not work

    This import function must have some hidden little secret...

    I have a fresh installation of ATutor 1.2.2. I first tried the File Manager and it worked fine, so my access rights are OK. Then I created a new course. I created a test page and then tried to import the HowTo course. It was really strange since first it acknowledged that the upload was done and the extraction was done. The wait window was closed automatically after a few minutes, but the page of the import.php remained blank. When I checked the file system I saw that the import subdirectory was properly created, but nothing was inserted in the SQL database. Also the external files were moved into the final content subdirectory, just the csv files were not parsed into SQL.

    The SQL installation otherwise works perfectly, other ATutor functions have no problem with creating new entries in the SQL database.

    When I deleted this course, interestingly enough the import subdirectory was not removed.

    I recreated the course again, but now without adding any pages manually. I started the import and the uploading went into an inifinite loop. I have no idea what it tried to upload for more than 2 hours, but it continously accesses my client hard disk and transfers something to the server. The files are not broken, they are in good shape, so the import.php must have some serious problem...

    I checked from another session, that in this case even the import subdirectory is not created. I really have no idea why it was done the first time, and why not a second time...

    As soon as the upload starts the import.php page will just show an error message "Cannot find server". But this is not true since in another window I can be connected to the same server from the same client both by SSH and HTTP.

    So please let someone finally tell us, what is the trouble with this import.php??? Or give us some pointers how to troubleshoot this module...

    Any help is welcome...


    Bela

  • 2003-09-01 09:11:57

    Some problems found

    I have carefully studied the differences between my two attempts of importing. I have found that if I turn on the proxy cache usage, then import.php falls in this infinite loop of uploading. If I turn off using a proxy cache in my browser, then the upload is successful in creating the import directory, extracting the content, moving the external files to final location, etc. However, the csv files are still not parsed into the SQL database, so the course is still not available!

    It would be really nice to have the option to this import process in two steps: 1./ upload/extract, 2./ insert into SQL database.

    It would be also nice to have more messages about the status of this process, so at least I could see easier what is the problem.

    The upload waiting window does not give any info about the percentage of completion. In some future versions it would be nice to see more info about upload speed and completion status...

    I am still waiting for some explanation for the SQL insertion problem.

    TIA
    Bela

  • 2003-09-01 11:48:32

    We're working on it.

    We have not been able to reporoduce the problem on any of our servers, so we are suspecting a server setting as the problem. We will investigate further as soon as we can.

    Please read the Help us Help You message at the top of this forum, and provide as much information as you can about your system.

    [reply][b]In reply to:[/b]
    I am still waiting for some explanation for the SQL insertion problem.
    [op]forums/view.php?fid=7;pid=188;page=2#349[/op][/reply]

  • 2003-09-01 16:16:13

    error upload

    Any news for me?

    [reply][b]In reply to:[/b]
    phpinfo looks okay.


    Can you give us instructor/admin access to your ATutor installation. Email it to me infoATatutor.ca

    [reply][b]In reply to:[/b]
    sorry the correct url for phpinfo() is
    http...[/reply]
    [op]forums/view.php?fid=7;pid=188;page=1#346[/op][/reply]

  • 2003-09-02 12:10:28

    edit import.php

    Looks like your ISP has placed a limit on file upload sizes. ATutor tries to allocate 10mb for the temporary location when the files upload, but can not reserve that space because the ISP does not allow that much temporary space.

    Try removing a couple zeros from line 145 in users/import.php from 10000000 to 100000

    If that does not work we\'ll need access to the shell to do further investigation.
    Put the phpinfo page back up so we can have another look.

    greg

  • 2003-09-03 08:02:08

    upload correct

    fantastic...Course content was successfully imported

    thanks a lot Greg

    [reply][b]In reply to:[/b]
    Try removing a couple zeros from line 145 in users/import.php from 10000000 to 100000

    If that does not work we\'ll need access to the shell to do further investigation.
    Put the phpinfo page back...
    [op]forums/view.php?fid=7;pid=188;page=2#366[/op][/reply]

  • 2003-09-11 12:07:04

    Import never completes

    I have created an emty course and tried to import the ATutorHowToCourse.zip file. It starts out looking fine but then the import dialog box just never goes away, and the import never happens. I even left the import dialog box up for over 30 hours!

  • 2003-09-11 12:13:38

    Import never stops

    I have created an emty course and tried to import the ATutorHowToCourse.zip file. It starts out fine but then the import dialog box just never goes away, and the import never happens. I even left the import dialog box up for over 30 hours!

  • 2005-10-27 02:28:54

    How to upload course to ATutor?

    Hi greg,

    How to upload a course (pages zipped to a zip file) on to ATutor?

    thanks,
    Krishna

  • 2005-10-27 03:00:42

    How to upload course to ATutor?

    Hi greg,

    How to upload a course (pages zipped to a zip file) on to ATutor?

    thanks,
    Krishna