ATutor

Learning Management Tools







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


Courses set up content error


  • 2009-07-27 18:44:11

    Courses set up content error

    I tried to created a new course but I get the following error when I try to edit the content:
    The following errors occurred:Unable to open content directory. You may try to create it now.
    I click on the link to "create it now" which takes me to the following URL:
    ...../ATutor/get.php/tools/filemanager/new.php
    which gives me a page cannot be found.

    Somehow that URL does not look right?

  • 2009-07-28 08:58:25

    Re: Courses set up content error

    I'm unable to reproduce this problem. Can you provide more details.

  • 2009-07-28 10:11:52

    Re: Courses set up content error

    Here are my specs:
    Database:
    10.10 MB
    Disk Usage:
    24.64 MB
    Courses:
    8
    ATutor Version:
    1.6.2. Check Latest Version.
    PHP Version:
    5.2.6
    MySQL Version:
    5.0.67-log
    OS:
    Linux 2.6.18-128.1.1.el5PAE

    Well I have courses set up already that did a few years back. I wanted to add a new course and i can do that successfully. I want to then edit the course and add content I click on the create content and it gives me the error:
    The following errors occurred:
    Unable to open content directory. You may try to create it now.

    I click on the create now and I am taken to the following URL:..../ATutor/get.php/tools/filemanager/new.php
    Which is page cannot be found. That's where I'm stuck.

  • 2009-07-28 10:38:46

    Re: Courses set up content error

    Sounds like something has changed on your server, if it was working before.

    You should not need to "create it now." It may be giving you the error because it already exists, but perhaps is not writable. We have in the past seen this problem caused by ISP settings that prevent the creation of writable directories. You'd need to talk to you ISP, or system administrator to determine if that's the case.

    You can try to reset the permissions on the content directory by running the following command on the content directory.

    prompt>chmod -R 777 content

    You may need a sysadmin to change the permissions.

  • 2009-07-28 10:48:30

    Re: Courses set up content error

    I did notice that I have two content directories. One inside Atutor and one outside. The inside one was created by the installation script and the outside one was created by configuration. Would that create a problem?

  • 2009-07-28 11:29:41

    Re: Courses set up content error

    Did you upgrade from a previous version of ATutor?

    Content directories are created manually, the installation script doesn't do it. Edit the include/config.inc.php file to point to the content directory you created as per the instruction in the intsaller (or upgrader)

    It sounds like there is more going on here than you've described. You need to be more detailed, so you don't have us running in circles.

  • 2009-07-28 11:46:17

    Re: Courses set up content error

    I'm sorry Greg,,,yes I did do an upgrade.

  • 2009-07-28 12:08:51

    Re: Courses set up content error

    Greg...i chmod the content folder 777 recursively and it worked after deleting the course and creating it again. I noticed that they were set at 644. Thanks for the help.