ATutor

Learning Management Tools







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


File Storage Upload Problem


  • 2008-04-09 15:34:26

    File Storage Upload Problem

    [blue] I keep getting this error when I try to upload something using the File Storage system.[/blue]
    [red]
    Warning: move_uploaded_file(*/content/file_storage/2/22) [function.move-uploaded-file]: failed to open stream: No such file or directory in */file_storage/index.php on line 361

    Warning: move_uploaded_file() [function.move-uploaded-file]: Unable to move '/tmp/phpR94Vac' to '*/content/file_storage/2/22' in */file_storage/index.php on line 361

    Warning: Cannot modify header information - headers already sent by (output started at */file_storage/index.php:361) in */file_storage/index.php on line 383[/red]

    [blue]I replaced my root directory infromation with *. I don't think that information is necessary for this problem.

    operating system - Vista
    version of ATutor - 1.6
    versions of php - 4.4.8
    version of mysq l - 4.0
    web browser being used - Firefox & IE
    [/blue]

  • 2008-04-10 10:25:40

    Re: File Storage Upload Problem

    Seems like the server doesn't have permission to upload file to php's tmp folder.

    In Vista, can you try setting the write permission for the /tmp/?

  • 2008-04-10 10:32:56

    Re: File Storage Upload Problem

    If the problem persists, can you try uploading files via the File Manager, or export Contents. If none of those works, it's something wrong with the /tmp folder.

  • 2008-04-10 17:46:50

    Re: File Storage Upload Problem

    I don't have access to the /tmp/ folder. It's a shared server from a hosting site. is there a way to change the place where the temporary file is stored?

  • 2008-04-11 11:28:19

    Re: File Storage Upload Problem

    So, what happened when you tried uploading the files via the file manager?

  • 2008-04-14 11:18:37

    Re: File Storage Upload Problem

    The file doesn't get uploaded but the link to it does get created in the database (Broken link) it tries to find a file that never got uploaded.

  • 2008-04-14 11:23:45

    Re: File Storage Upload Problem

    You are not putting ATutor inside Vista, right? You are installing ATutor on some other server but you are connecting to it via your machine (which is Vista)?

    If so, you will have to ask your host to allow permission for you to upload files. Regarding to your previous question of changing the place where temporary file is stored, you can modify this through the php.ini file which is under Apache/bin/ on the server.

  • 2008-04-14 11:27:25

    Re: File Storage Upload Problem

    Thanks I think I may be able to do that I do have access to the php.ini file on the server. and yes Sorry for the confusion over the machine thing. I know it is a linux based system not a windows based system but that is pretty much all I remember about it.