ATutor

Learning Management Tools







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


Upload a file with bigger size than 500 KB


  • 2003-05-26 16:02:24

    Upload a file with bigger size than 500 KB

    I am trying to upload a file using the File Manager tool, which has a bigger size than 500 KB (950 KB). Although the administrator of our local ATutor system, changed the size limitation of individual uploaded files, I still can not upload the file. Do you have any idea what the problem is?

  • 2003-05-26 17:27:00

    Set to max file size

    Ask your admin to set the Max File Size in your course properties to 4194304 (the maximum bytes allowed)

    Ask your admin to check the php.ini file (usually in /usr/local/lib/) to be sure the the upload_max_size variable is not set too small. The default is 2MB, but it doesn't hurt to increase this by few MB.

    Have you been able to upload other smaller files? If not, be sure that the access permissions on the ATutor "content" directory are set to world writable, or is owned by the web server user, often called "nobody" (your admin will know what I'm talking about).

    Also make sure you don't have any illegal files in uploaded zip archives (see IllegalExtentions in the ATutor configuration options). The admin can temporarily change these settings globally if you wish to upload scripts or executable files.

    http://www.atutor.ca/atutor/docs/configuration.php

    There's also a variable called "MaxFileSize" in the ATutor configuration options that can be increased to set the default upload size allowable to something larger.

    Let us know what happens with the above. If you're still having problems, send us the url to a phpinfo() page on your server so we can see its configuration.
    http://ca.php.net/manual/en/function.phpinfo.php

  • 2003-11-13 09:41:54

    Upload a file with bigger size than 500 KB

    I would like to embed a movie in a course but I'm not able to upload files bigger than the default value. I made some changes in the configuration file (config.inc.php and php.ini, as you can see I've included the lines modified ) but it still doesn't work. Where did I make a mistake ?
    Any suggestion is welcome


    CONFIG.INC.PHP

    /* File manager options: */

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

    /* Total maximum allowable course size in Bytes: */
    $MaxCourseSize = 50242880; /* 50 MB */



    PHP.INI
    ;;;;;;;;;;;;;;;;
    ; File Uploads ;
    ;;;;;;;;;;;;;;;;

    ; Whether to allow HTTP file uploads.
    file_uploads = On

    ; Temporary directory for HTTP uploaded files (will use system default if not
    ; specified).
    upload_tmp_dir = C:\PHP\uploadtemp ; temporary directory for HTTP uploaded files (will use system default if not specified)

    ; Maximum allowed size for uploaded files.
    upload_max_filesize = 8M






    http://internet4.med.unifi.it:8080/atutor/info.php

  • 2003-11-13 16:35:45

    Looks ok.

    Everything looks fine in your message above. I assume the file is smaller than 8mb.

    Others have mentioned similar problems. We will likely add an FTP feature in a future release to try to get around these PHP limitations.

    Did you also modify the individual course upload limitations using the admin course manager, editing the course properties?

    What is the error message you are receiving?

  • 2003-11-13 16:54:06

    max post size

    also check in your php.ini file the max post size value! it has to be larger than the size of your movie

  • 2003-11-15 03:12:31

    movie

    I did not try to upload the movie but I'd like to embed a movie; I simply tried to upload a file (pdf, 550 kb) and I got the standard error message (the file size exceed the limit 512000); I solved the problem zipping the file. Since I have admin access to the local server, can I upload the file in the content directory and manage it with Atutor or will I get the same problem handling it ? I might try this solution, I'll tell you later

    thanks:\

  • 2003-11-17 10:12:46

    file size

    this is the php.ini line


    ; Maximum size of POST data that PHP will accept.
    post_max_size = 8M

  • 2003-11-17 10:16:55

    problem fixed

    it works now.
    I had to change the value in the course options as 'superadmin', as joel suggested.
    now it works I tried to upload the file ( > 500 KB) and I did not get any error
    thanks

  • 2003-11-17 13:01:36

    movie uploaded

    It works, definitely
    I uploaded a movie (5 MB) the system handled it very easily

    thanks again

  • 2003-11-17 15:12:16

    importing content

    since I was able to upload two small movies (2 and 5 MB) I successfully created a copy ot the entire course with the 'export' tool.
    I had a problem trying to import the file automatically generated by atutor, because the
    http://internet4.med.unifi.it:8080/atutor/users/import.php
    import page switched to an error page (impossible to display the page) and the pop up window (file upload in progress ) keeps going for a very long time, much longer than the time it took to export the material.
    Looks like something goes worng. Is it possibile that the problem is related to the post_max_size=8MB (the zip file generated by the system is bigger than 8 MB) ?

    any suggestion is welcome

  • 2003-11-17 15:40:25

    Export content in pieces

    Export content in smaller packages. We'll try to deal with PHPs limitations on upload file sizes in a fututre version of ATutor. Perhaps creating an FTP tool.

    If you are using an ADSL connection, it will take longer to upload than it will to download.

    You might also try increasing your max_file_sizes a little more.

  • 2003-11-18 03:21:08

    movie deleted

    I first uploaded two movies and the file generated by the system when exporting it was about 10 MB. It was successfully exported but the software stalled when I tried to import it. I deleted a movie, the .zip file created by the export tool was about 7 MB and I was able to export it and to import it succsefully. Now the back up copy is fully imported, the (only one) movie is working. Maybe the problem is the 8MB limitation. I'll try to increase the file_size to check wether it works or not.
    :D

  • 2008-03-05 09:19:14

    Re: movie deleted

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

    Things to describe:
    operating system -winxp
    version of ATutor -
    versions of php -5
    version of mysq l -
    webserver & version -
    copies of error messages -
    changes to default settings -
    web browser being used -
    and anything else relevant -




    friend u how to upload more then 10 mb file without make changes in php.ini file

  • 2008-03-05 10:36:44

    Re: movie deleted

    You might try uploading it with an FTP client to the course directory the movie belongs to.

    There is no way to override the php.ini settings

    [reply][b]In reply to:[/b]
    friend u how to upload more then 10 mb file without make changes in php.ini file
    [op]forums/view.php?fid=7;pid=119;page=1#13022[/op][/reply]

  • 2008-03-06 00:11:52

    Re: movie deleted

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

    Things to describe:
    operating system -winxp
    version of ATutor -
    versions of php -5
    version of mysq l -
    webserver & version -
    copies of error messages -
    changes to default settings -
    web browser being used -
    and anything else relevant -

    sorry to say this ..
    there is one systa for send more then 10 mb..
    i heared in interview..
    they also told some syntax..
    but i forgot that syntax.

    but it reached my knowledge..let i share that with out forums.
    thanks in advance