Cannot upload avatar on my phpbb forum

Discussion in 'vBulletin' started by libertygone, Apr 5, 2007.

  1. #1
    my phpbbforum is www.freevideolist.net/forum
    (some adult content)

    whenever i try to upload an avatar i get this error:

    Warning: move_uploaded_file(./images/avatars/180070159146151372e71c6.gif) [function.move-uploaded-file]: failed to open stream: Permission denied in /home/freev/public_html/forum/includes/usercp_avatar.php on line 288

    Warning: move_uploaded_file() [function.move-uploaded-file]: Unable to move '/tmp/phpJIYFhl' to './images/avatars/180070159146151372e71c6.gif' in /home/freev/public_html/forum/includes/usercp_avatar.php on line 288


    and there are no avatars to choose from in the gallery!
    what do i do?!
    someone please help me. green rep will be added.
    thank you
     
    libertygone, Apr 5, 2007 IP
  2. Paz

    Paz Well-Known Member

    Messages:
    587
    Likes Received:
    36
    Best Answers:
    0
    Trophy Points:
    170
    #2
    Hi,

    I had the same problem. It caused by read write permission issues. In the FAQ they recommend you CHMOD the images/avatars folder to 777 with your favourite ftp client.

    That's a big security risk though because, as I understand it, it allows people to upload and run scripts. Others recommend CHMOD 755 but I never tried it; I switched to vBulletin for other reasons.

    Cheers,
    Paz.
     
    Paz, Apr 5, 2007 IP
    libertygone likes this.
  3. libertygone

    libertygone Active Member

    Messages:
    2,625
    Likes Received:
    48
    Best Answers:
    0
    Trophy Points:
    90
    #3
    thank you so much. green added
     
    libertygone, Apr 5, 2007 IP
    Paz likes this.