Opened 18 years ago

Closed 18 years ago

Last modified 6 years ago

#3012 closed defect (fixed)

FORUMS: Error uploading new avatar

Reported by: SF/glo_kidd Owned by: SF/ender
Priority: normal Component: Web
Version: Keywords:
Cc: Game:

Description

Hi all!

Tonight i was trying to upload a new avatar to my profile and ended up getting the following errors:

Warning: copy(./images/avatars/120132212045b5da7f69001.jpg) [function.copy]: failed to open stream: Permission denied in /home/scummvm/forums/includes/usercp_avatar.php on line 288

Warning: Cannot modify header information - headers already sent by (output started at /home/scummvm/forums/includes/usercp_avatar.php:288) in /home/scummvm/forums/includes/page_header.php on line 493

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

Warning: Cannot modify header information - headers already sent by (output started at /home/scummvm/forums/includes/usercp_avatar.php:288) in /home/scummvm/forums/includes/page_header.php on line 496

All this is written above the main forum bubble (in the orange) if that helps

I went back and tried to use my old avatar again but i got the same error

Im on WinXP SP2, Running FireFox 1.0.7 as my browser

I cant think of any additional info that might be helpfull. If theres anything, let me know, i will reply as soon as possible

Ticket imported from: #1642335. Ticket imported from: bugs/3012.

Change History (10)

comment:1 by peres, 18 years ago

Owner: set to SF/ender

comment:2 by fingolfin, 18 years ago

Summary: (Forums) Error uploading new avatarFORUMS: Error uploading new avatar

comment:3 by SF/ender, 18 years ago

This should be fixed now, let me know if you still have any problems.

comment:4 by SF/ender, 18 years ago

Resolution: fixed
Status: newclosed

comment:5 by bluegr, 18 years ago

Reopening this, as it occurs again

It seems the user that the web scripts belong to has no write permission to folder /images/avatars

Here are the errors I got:

Warning: move_uploaded_file(./images/avatars/725776136462cc8fea0fa7.jpg) [function.move-uploaded-file]: failed to open stream: Permission denied in /is/htdocs/wp1070818_5M8LT2903L/forums/includes/usercp_avatar.php on line 288

Warning: move_uploaded_file() [function.move-uploaded-file]: Unable to move '/tmp/phpPMWoFm' to './images/avatars/725776136462cc8fea0fa7.jpg' in /is/htdocs/wp1070818_5M8LT2903L/forums/includes/usercp_avatar.php on line 288

Warning: Cannot modify header information - headers already sent by (output started at /is/htdocs/wp1070818_5M8LT2903L/forums/includes/usercp_avatar.php:288) in /is/htdocs/wp1070818_5M8LT2903L/forums/includes/page_header.php on line 493

Warning: Cannot modify header information - headers already sent by (output started at /is/htdocs/wp1070818_5M8LT2903L/forums/includes/usercp_avatar.php:288) in /is/htdocs/wp1070818_5M8LT2903L/forums/includes/page_header.php on line 495

Warning: Cannot modify header information - headers already sent by (output started at /is/htdocs/wp1070818_5M8LT2903L/forums/includes/usercp_avatar.php:288) in /is/htdocs/wp1070818_5M8LT2903L/forums/includes/page_header.php on line 496

comment:6 by bluegr, 18 years ago

Status: closednew

comment:7 by fingolfin, 18 years ago

Status: newclosed

comment:8 by fingolfin, 18 years ago

It's no good to reopen old bug reports and closing your new ones. This is a different issue, as we moved the webserver since then. Also, new reports are seen by all developers because a notification mail is sent. If you reopen an old report, only very few people, if any, will notice.

Anyway, as I already stated on that other newer bug report which you closed in the meantime -- this should be fixed. If you still get the issue, please open a new report.

comment:9 by bluegr, 18 years ago

I wasn't the one who closed the other bug report, its original author did

I'll be more careful with reopening bug reports in the future :)

comment:10 by digitall, 6 years ago

Component: Web
Note: See TracTickets for help on using tickets.