ATutor

Learning Management Tools







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


UPloading pdfs into content


  • 2008-06-30 21:22:53

    UPloading pdfs into content

    Having problems uploading pdf documents into the course content page. I have the pdf's in the ftp ready to go however i can not get them to display. can you please provide a review of the html code that is needed so i can check i am doing everything correctly...thanks.....
    Things to describe:
    operating system - linux 2.6.18
    version of ATutor - 1.6
    versions of php - 5.2.3
    version of mysq l -5.0.41
    webserver & version -
    copies of error messages -
    changes to default settings -
    web browser being used -
    and anything else relevant -

  • 2008-06-30 21:47:01

    Re: UPloading pdfs into content

    Open the File Manager from the content editor screen, find the file you want to make downloadble, then click the Insert button next to it. It should create a link to the file, which you adjust with your own link text.

  • 2008-07-01 01:35:07

    Re: UPloading pdfs into content

    Thanks Greg....there appears to be a problem with the File Mangager...I cannot create a directory or file....now sure what i am doing wrong...i have taken a screen dump for you...

  • 2008-07-01 01:35:15

    Re: UPloading pdfs into content

    Thanks Greg....there appears to be a problem with the File Mangager...I cannot create a directory or file....not sure what i am doing wrong...i have taken a screen dump for you...

  • 2008-07-02 09:12:47

    Re: UPloading pdfs into content

    The errors generally indicate a permission problem on the content/ directory. On linux when you install ATutor, you set the permissions on the directory with:

    chmod a+rwx content.

  • 2008-07-02 10:14:22

    Re: UPloading pdfs into content

    Thanks Greg, so is it possible to set the permissions with the code you described after install? or will we have to reinstall? thanks again:)

  • 2008-07-02 10:35:32

    Re: UPloading pdfs into content

    Yes, but you'll need root access.


    use:

    chmod -R a+rwx content

    then

    chown -R nobody:nobody content


    (where "nobody" is the webserver user)

  • 2008-07-04 12:53:20

    Re: UPloading pdfs into content

    Sorry Greg..our IT person has gone walk about...can you please give me a little bit more info of where i need to insert the code you have given above? Thanks...

  • 2008-07-04 13:13:14

    Re: UPloading pdfs into content

    Then you probably don't have root access so, you'll need to have your IT person make the change.

  • 2008-07-16 08:12:59

    Re: File Directory problem

    HI Greg,
    our new IT guy has tried to upgrade to 1.6.1 to eleviate the problems described earlier re the directory as well as password problem and he has advised the following:

    uploaded version 1.6.1
    followed the instruction on how to update from here: http://www.atutor.ca/atutor/docs/installation.php#upgrade
    got stuck at step 5. when asked to create the 'content' folder. - folder was created in correct place on the server with chmod to 777. but the instillation couldn't find the folder?
    and i couldn't continue from there.
    removed the 1.6.1 instilation and re installed the backup of the database.

    Can you please advise what he will now need to do?

    cheers

  • 2008-07-16 08:39:43

    Re: File Directory problem

    Be sure there are no symbolic links in the path to your content directory. You can create a file and place it in the root directory of ATutor, then open it in your web browser to get the actual path to the directory. The file should contain:


    [php]


    getcwd();


    [/php]

    http://ca.php.net/manual/en/function.getcwd.php