Page 1 of 1

Can't upload avatar

Posted: 12 Jun 2005, 13:26
by Chrysichthys
I've tried to upload an 80 x 60 pixel JPEG by browsing to it, but just get error messages and a blank square where the pic should be. Am I using the wrong image format or something?

Posted: 12 Jun 2005, 15:25
by Jools
Sounds like it, the rules are it must be 80x80 pixels or smaller and the file size not larget than 16K (16384 bytes).

GIF and JPG file types are supported.

Jools

Posted: 17 Jun 2005, 18:10
by Jools
If you are still having trouble, email me the avatar and i will check it.

Jools

Posted: 24 Jun 2005, 13:39
by Martin S
Am having what seem like more serious problems uploading a GIF (32 x 32, and 2KB). I'm getting the errors appear at the top of the page:
Warning: move_uploaded_file(./images/avatars/143026926942bbfe84ae72a.gif): failed to open stream: Permission denied in /home/.heathcote/webcat/planetcatfish.com/forum/includes/usercp_avatar.php on line 239

Warning: move_uploaded_file(): Unable to move '/tmp/php0k4mls' to './images/avatars/143026926942bbfe84ae72a.gif' in /home/.heathcote/webcat/planetcatfish.com/forum/includes/usercp_avatar.php on line 239

Warning: Cannot modify header information - headers already sent by (output started at /home/.heathcote/webcat/planetcatfish.com/forum/includes/usercp_avatar.php:239) in /home/.heathcote/webcat/planetcatfish.com/forum/includes/page_header.php on line 518

Warning: Cannot modify header information - headers already sent by (output started at /home/.heathcote/webcat/planetcatfish.com/forum/includes/usercp_avatar.php:239) in /home/.heathcote/webcat/planetcatfish.com/forum/includes/page_header.php on line 520

Warning: Cannot modify header information - headers already sent by (output started at /home/.heathcote/webcat/planetcatfish.com/forum/includes/usercp_avatar.php:239) in /home/.heathcote/webcat/planetcatfish.com/forum/includes/page_header.php on line 521

I hope it's not serious!

Martin

Posted: 26 Jun 2005, 15:50
by Jools
Hmm, I just tried this and it worked fine. Anyone else having the same trouble?

Can you try again (it won't cause any damage) and let me know?

Jools

Posted: 27 Jun 2005, 09:10
by Martin S
Jools
Same again. i.e.
Warning: move_uploaded_file(./images/avatars/59254203442bfb3ede9006.gif): failed to open stream: Permission denied in /home/.heathcote/webcat/planetcatfish.com/forum/includes/usercp_avatar.php on line 239

Warning: move_uploaded_file(): Unable to move '/tmp/php9IEX9s' to './images/avatars/59254203442bfb3ede9006.gif' in /home/.heathcote/webcat/planetcatfish.com/forum/includes/usercp_avatar.php on line 239

Warning: Cannot modify header information - headers already sent by (output started at /home/.heathcote/webcat/planetcatfish.com/forum/includes/usercp_avatar.php:239) in /home/.heathcote/webcat/planetcatfish.com/forum/includes/page_header.php on line 518

Warning: Cannot modify header information - headers already sent by (output started at /home/.heathcote/webcat/planetcatfish.com/forum/includes/usercp_avatar.php:239) in /home/.heathcote/webcat/planetcatfish.com/forum/includes/page_header.php on line 520

Warning: Cannot modify header information - headers already sent by (output started at /home/.heathcote/webcat/planetcatfish.com/forum/includes/usercp_avatar.php:239) in /home/.heathcote/webcat/planetcatfish.com/forum/includes/page_header.php on line 521

It's no big deal, but thought you should know about the problem.
Regards
Martin[/img]

Posted: 27 Jun 2005, 12:35
by MatsP
I uploaded an avatar to my profile from my local machine and it worked just fine (once I'd increased the JPEG compression ratio).

Edit: Actually, it didn't work right, because no avatar was showing when I went to read the post. Trying again to upload the same picture gives me the same error as the other posts describe. So it seems to be br0ken...

--
Mats

Posted: 07 Jul 2005, 15:43
by Chrysichthys
I still can't get it to work, with the same series of error messages.

Jools, I would e-mail it to you but I don't know how to attach a pic to an e-mail.

Posted: 14 Jul 2005, 18:53
by Jools
Try it again now and let me know.

Jools

Posted: 15 Jul 2005, 08:55
by Martin S
Jools
All worked perfectly - thanks for sorting it out.
Regards
Martin