Page 1 of 1

Avatar upload problems

Posted: Fri Jan 23, 2009 9:30 am
by Scarecrow
I'm trying to upload an avatar user pic for the forums. When I try, though I get a load of error code and the image doesn't upload.

The image is 100x100 and only 4k so I'm sure it's not the image causing the problem.

Just thought you should know.

Crow

The code I get is as follows:

Code: Select all

Warning: move_uploaded_file(./images/avatars/104117246349798de9e6edc.jpg) [function.move-uploaded-file]: failed to open stream: Permission denied in /home/aegidian/public_html/bb/includes/usercp_avatar.php on line 288

Warning: move_uploaded_file() [function.move-uploaded-file]: Unable to move '/tmp/phpEJyuWg' to './images/avatars/104117246349798de9e6edc.jpg' in /home/aegidian/public_html/bb/includes/usercp_avatar.php on line 288

Warning: Cannot modify header information - headers already sent by (output started at /home/aegidian/public_html/bb/includes/usercp_avatar.php:288) in /home/aegidian/public_html/bb/includes/page_header.php on line 483

Warning: Cannot modify header information - headers already sent by (output started at /home/aegidian/public_html/bb/includes/usercp_avatar.php:288) in /home/aegidian/public_html/bb/includes/page_header.php on line 485

Warning: Cannot modify header information - headers already sent by (output started at /home/aegidian/public_html/bb/includes/usercp_avatar.php:288) in /home/aegidian/public_html/bb/includes/page_header.php on line 486

Posted: Fri Jan 23, 2009 9:49 am
by JensAyton
Try again.

Posted: Fri Jan 23, 2009 9:54 am
by Scarecrow
Done! Cheers!

Crow

Posted: Fri Jan 23, 2009 11:01 am
by Griff
Smashing! Thanks for fixing the avatars, Ahruman, I've got my pirate avatar at last instead of a box with a x in

Posted: Fri Jan 23, 2009 12:50 pm
by Commander McLane
Oops, I see lots of new avatars suddenly! :)

Posted: Sun Mar 22, 2009 2:54 pm
by Azathoth
Just tried to upload Avatar but got the same error as Scarecrow. Anyone in the know care to help?

Posted: Sun Mar 22, 2009 4:41 pm
by Gimi
Azathoth wrote:
Just tried to upload Avatar but got the same error as Scarecrow. Anyone in the know care to help?
There is a security issue with the folder where the avatars are stored, so the feature is disabled for now. Sry.

Look here: https://bb.oolite.space/viewtopic.php?t=5753

Posted: Sun Mar 22, 2009 7:48 pm
by Azathoth
OK. Thanks for the info.

Posted: Wed Aug 05, 2009 3:22 pm
by saint
When will we be able to upload an avatar or use a link to a remote resource again ?

Thanks in advance

Posted: Wed Aug 05, 2009 4:01 pm
by Cmdr Wyvern
saint wrote:
When will we be able to upload an avatar or use a link to a remote resource again ?

Thanks in advance
Maybe when software pirates stop trying to use the avatar system to archive warez. :roll:

Posted: Wed Aug 05, 2009 4:14 pm
by saint
Cmdr Wyvern wrote:
saint wrote:
When will we be able to upload an avatar or use a link to a remote resource again ?

Thanks in advance
Maybe when software pirates stop trying to use the avatar system to archive warez. :roll:
That translates in "never". Too bad. This could create A class users and B class users somewhat... I can accept the block since it's the move to do, unless until someone writes a better validation routine (i.e. check magic numbers and such... maybe spawning 'file' or the java tool 'jhove' to validate the image). But none of the standard avatars says "this is saint", nor the empty avatar does :(.

phpbb, and you know the bugs you run :twisted:

Posted: Fri Sep 11, 2009 5:09 am
by bones0
Yeah, true... somehow It's not funny to look at your icons and know I can't upload mine. But as regular internet users we are used to get punished for stuff some kiddies have done, right? Hillarious spam fighting techniques, unreadable captchas even if you are already logged in etc. are daily companions.

Reminds me I should have a talk with our ISP in the office too. I don't like it that I have to set folders to 777 because the FTP-user I use for uploading and the user the webserver is running with are not even in the same group :-(

Regards
Peter

Posted: Fri Sep 11, 2009 11:43 am
by saint
bones0 wrote:
Reminds me I should have a talk with our ISP in the office too. I don't like it that I have to set folders to 777 because the FTP-user I use for uploading and the user the webserver is running with are not even in the same group
Hmm... I would serve yout ISP to Hesperus :)