Cant upload avatar from machine

This is an archive of the phpBB 2.0.x support forum. Support for phpBB2 has now ended.
Forum rules
Following phpBB2's EoL, this forum is now archived for reference purposes only.
Please see the following announcement for more information: viewtopic.php?f=14&t=1385785
Locked
dishdiva
Registered User
Posts: 5
Joined: Sun Mar 04, 2007 4:06 am

Cant upload avatar from machine

Post by dishdiva »

Hi

The board says profile updated but won't allow picture to upload from computer file. I don't want to use a URL. How can I fix this? Thanks

espicom
Registered User
Posts: 17905
Joined: Wed Dec 22, 2004 1:14 am
Location: Woodstock, IL

Post by espicom »

Without knowing what error message(s) you are getting, there is no way to help you.

Support Request Template
Jeff
Fixing 1016/1030/1034 Errors | (obsolete link) | MySQL 4.1/5.x Client Error | phpBBv2 Logo in ACP
Support requests via PM are ignored!
"To be fully alive is to feel that everything is possible." - Eric Hoffer

dishdiva
Registered User
Posts: 5
Joined: Sun Mar 04, 2007 4:06 am

Post by dishdiva »

This is the message ontop of the page. Then below it says profile updated.


Warning: copy(./images/avatars/134718787945ef10ddd42a7.jpg) [function.copy]: failed to open stream: Permission denied in /home/boardcit/boards/dish/public_html/includes/usercp_avatar.php on line 288

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

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

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



ETA: I've never had this problem before.

espicom
Registered User
Posts: 17905
Joined: Wed Dec 22, 2004 1:14 am
Location: Woodstock, IL

Post by espicom »

That means that the directory you are uploading the avatars to is not writable. It must be "world writable", which, if it is a Linux server, requires a permissions setting of "777". Windows server require different methods.
Jeff
Fixing 1016/1030/1034 Errors | (obsolete link) | MySQL 4.1/5.x Client Error | phpBBv2 Logo in ACP
Support requests via PM are ignored!
"To be fully alive is to feel that everything is possible." - Eric Hoffer

Locked

Return to “2.0.x Support Forum”