Page 1 of 1

Error Uploading Avatar

PostPosted: Fri Aug 05, 2011 3:05 pm
by chemikalguy
Could not write avatar file to local storage. Please contact the board administrator with this message

DEBUG MODE

Line : 179
File : usercp_avatar.php

I tried several times to upload one from my computer. I made sure that it was jpg and was less than the required dimensions, but got several code errors. I figured it was something with the file, so I tried a URL upload, and got the error above.

Scott

PostPosted: Fri Aug 05, 2011 3:11 pm
by chemikalguy
This is what I see when I try to upload an avatar from my machine:


Warning: move_uploaded_file(./images/avatars/6174212354e3c0791f090f.jpg) [function.move-uploaded-file]: failed to open stream: Permission denied in /usr/home/web/wno93998/subsonic/forum/includes/usercp_avatar.php on line 288

Warning: move_uploaded_file() [function.move-uploaded-file]: Unable to move '/var/tmp/phpUQ0dna' to './images/avatars/6174212354e3c0791f090f.jpg' in /usr/home/web/wno93998/subsonic/forum/includes/usercp_avatar.php on line 288

Warning: Cannot modify header information - headers already sent by (output started at /usr/home/web/wno93998/subsonic/forum/includes/usercp_avatar.php:288) in /usr/home/web/wno93998/subsonic/forum/includes/page_header.php on line 492

Warning: Cannot modify header information - headers already sent by (output started at /usr/home/web/wno93998/subsonic/forum/includes/usercp_avatar.php:288) in /usr/home/web/wno93998/subsonic/forum/includes/page_header.php on line 494

Warning: Cannot modify header information - headers already sent by (output started at /usr/home/web/wno93998/subsonic/forum/includes/usercp_avatar.php:288) in /usr/home/web/wno93998/subsonic/forum/includes/page_header.php on line 495

PostPosted: Fri Aug 05, 2011 3:14 pm
by bushman4
Been that way since I started using the forums... I ended up just providing the URL of an image file that was already online somewhere.

YMMV,

Glenn

PostPosted: Fri Aug 05, 2011 3:57 pm
by chemikalguy
Yeah, that was what I was trying when I got that first error message that said to notify the administrator of the board. :(