ATutor

Learning Management Tools







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


Cannot insert picture into content via file manager


  • 2007-04-16 01:47:16

    Cannot insert picture into content via file manager

    first of all thanks for great system!
    I have 2 errors.
    1. when i insert pictures using file manager into course content, the pictures are not displaying, only "Alternative text" is there.
    When i try to upload a file to file storage I got an errors
    Warning: move_uploaded_file(/home/content/u/z/b/uzbmaster/html/domains/e-darslar_net/content/file_storage/3/23): failed to open stream: No such file or directory in /home/content/u/z/b/uzbmaster/html/domains/e-darslar_net/file_storage/index.php on line 333

    Warning: move_uploaded_file(): Unable to move '/tmp/phpIc8KtN' to '/home/content/u/z/b/uzbmaster/html/domains/e-darslar_net/content/file_storage/3/23' in /home/content/u/z/b/uzbmaster/html/domains/e-darslar_net/file_storage/index.php on line 333

    Warning: Cannot modify header information - headers already sent by (output started at /home/content/u/z/b/uzbmaster/html/domains/e-darslar_net/file_storage/index.php:333) in /home/content/u/z/b/uzbmaster/html/domains/e-darslar_net/file_storage/index.php on line 355

    but it seams the file is uploaded, But when i try to download this file 0 size file is downloading.

    During the Installation of ATutor:

    I got message:
    Content Directory:
    It has been detected that your webserver does not support the protected content directory feature. The content directory stores all of the courses' files.

    Due to that restriction your content directory must exist within your ATutor installation directory and cannot be moved. Its path is specified below. Please create it if it does not already exist.

    SO I created dir. "content" and chmod 777

    Any Ideas?
    ...

    operating system - Linux 2.4.21-40.ELsmp #1 SMP Thu Feb 2 22:22:39 EST 2006 i686
    version of ATutor - ATutor-1.5.3.3pl1
    versions of php - 4.3.11
    version of mysq l - 4.1.22-max-log
    webserver & version - Apache
    copies of error messages -
    changes to default settings -
    web browser being used - firefox 2.0.0.3
    and anything else relevant -

  • 2007-04-16 01:50:28

    Re: Cannot insert picture into content via file manager

    Sorry
    [b] version of mysq l - 4.0.27-max-log[/b]

  • 2007-04-16 01:54:49

    Re: Cannot insert picture into content via file manager

    Additional info
    changes to default settings -
    Cache Directory
    /home/content/u/z/b/uzbmaster/html/domains/e-darslar_net/cache

    I chmod this dir 777

  • 2007-04-16 08:43:57

    Re: Cannot insert picture into content via file manager

    cache or content?

    Double check the path in include/config.inc.php

    [reply][b]In reply to:[/b]
    Additional info
    changes to default settings -
    Cache Directory
    /home/content/u/z/b/uzbmaster/html/domains/e-darslar_net/cache

    I chmod this dir 777
    [op]forums/view.php?fid=7;pid=10400;page=1#10402[/op][/reply]

  • 2007-04-16 14:01:56

    Re: Cannot insert picture into content via file manager

    thanks for promt reply.

    the path for content in include/config.inc.php
    /home/content/u/z/b/uzbmaster/html/domains/e-darslar_net/content
    and chmod for content is 777

    I also specify Cache Directory in the Preferances tab in the ATutor. and this directory is
    /home/content/u/z/b/uzbmaster/html/domains/e-darslar_net/cache
    and chmod for cache is also 777

    [reply][b]In reply to:[/b]
    cache or content?

    Double check the path in include/config.inc.php
    [op]forums/view.php?fid=7;pid=10400;page=1#10405[/op][/reply]

  • 2007-04-16 14:08:19

    Re: Cannot insert picture into content via file manager

    Leave the chache directory field empty.

  • 2007-04-18 00:09:05

    Re: Cannot insert picture into content via file manager

    I cleared the chache directory, by still no results.
    :(

    [reply][b]In reply to:[/b]
    Leave the chache directory field empty.
    [op]forums/view.php?fid=7;pid=10400;page=1#10408[/op][/reply]