Learning Management Tools

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

Image not visable on contents pages

  • 2015-02-20 04:25:31

    Image not visable on contents pages

    Image not visable on contents pages

    When accessing file manager from the Edit Content page and I click on the filename text link of an image I get:-


    You don't have permission to access /ATutor/content/1/images/meat_pie.jpg on this server.

    Apache/2.4.9 (Unix) Server at Port 80"

    Clicking on insert just inserts a place-holder on the contents page.
    Preview only shows a place-holder

    If I go to the photo gallery, display an image, copy the image URL and then edit the image on the contents page pasting the URL, I do see an image on the contents page.

    Windows Vista - Chrome - Firefox
    Apache 2.4.9
    PHP 5.3
    MySql 5.5.35

  • 2015-02-20 09:22:28

    Re: Image not visable on contents pages

    This sounds like the permissions on the content directory are not set to be writable by the Web server, generally set during installation. You can set the content/ directory to be writable.

    chmod -R 777 /ATutor/content

    You probably also want to change the owner of the file inside the content directory to be owned by the user that owns Apache for security reasons.

  • 2015-02-20 12:15:36

    Re: Image not visable on contents pages

    Not only does the content folder need to be 777 but also the course (1 in this case) and any created folder "images" in this case. I did not have Execute enabled just read and write. CHMOD 777 for all the sub folders and it works.

    Did not understand the "owner" bit. I pay for hosting it is not mine.