ATutor

Learning Management Tools







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


Error when uploading pictures to lab instructors


  • 2009-01-09 09:58:40

    Error when uploading pictures to lab instructors

    Hello

    We get a PHP error when trying to upload pictures to lab instructors. Is this a permissions error?

    The error in question is below.

    All the best,
    Rury

    ---------

    operating system - Linux 2.6.23.14
    version of ATutor - 1.6.1.
    versions of php - 5.2.5
    version of mysql - 4.1.22-standard-log
    webserver & version - (not sure about this)
    your ATutor location- unk.com/lab

    ---------

    "Warning: move_uploaded_file(/home/relliott/lab-content/profile_pictures/originals/60.jpg) [function.move-uploaded-file]: failed to open stream: Permission denied in /home/relliott/public_html/lab/include/html/profile_picture.inc.php on line 121

    Warning: move_uploaded_file() [function.move-uploaded-file]: Unable to move '/tmp/phpAyRLxL' to '/home/relliott/lab-content/profile_pictures/originals/60.jpg' in /home/relliott/public_html/lab/include/html/profile_picture.inc.php on line 121

    Warning: Cannot modify header information - headers already sent by (output started at /home/relliott/public_html/lab/include/html/profile_picture.inc.php:121) in /home/relliott/public_html/lab/include/html/profile_picture.inc.php on line 123"

    ---------

    We get this error when trying to upload pictures for lab instructors. Is this another permissions error?

  • 2009-01-09 10:50:15

    Re: Error when uploading pictures to lab instructors

    Yes, this is a permission error. Does the directory exist to upload picture to, and is it writeable and owned by the Web server user (e.g. "nobody")

    If this is something that has started recently, you may want to check with your provider so see if anything has changed recently, such as an upgrade to the system, or perhaps being moved to another server.