Hey all I just started my new message board and before I decide to let people join, I was trying out some stuff, and apparently, uploading an avatar didn't work.
Warning: move_uploaded_file(./images/avatars/89627637740dcd974ef43a.jpg): failed to open stream: Permission denied in /home/verilon/public_html/bbs/includes/usercp_avatar.php on line 227
Warning: move_uploaded_file(): Unable to move '/tmp/phpwSzOIR' to './images/avatars/89627637740dcd974ef43a.jpg' in /home/verilon/public_html/bbs/includes/usercp_avatar.php on line 227
Warning: Cannot modify header information - headers already sent by (output started at /home/verilon/public_html/bbs/includes/usercp_avatar.php:227) in /home/verilon/public_html/bbs/includes/page_header.php on line 474
Warning: Cannot modify header information - headers already sent by (output started at /home/verilon/public_html/bbs/includes/usercp_avatar.php:227) in /home/verilon/public_html/bbs/includes/page_header.php on line 476
Warning: Cannot modify header information - headers already sent by (output started at /home/verilon/public_html/bbs/includes/usercp_avatar.php:227) in /home/verilon/public_html/bbs/includes/page_header.php on line 477
I have no idea what this is or how to fix it.. can someone help?
Looks like you need to set write permissions to the bbs/images/avatars directory. What are the current permissions, and the owner and groups associated with the directory?
Depending on how things are setup you could try:
chmod a+w ~/public_html/bbs/images/avatars
But there may be better solutions, depending on how things are setup.
Mad wrote:Looks like you need to set write permissions to the bbs/images/avatars directory. What are the current permissions, and the owner and groups associated with the directory?
How do I figure that out? SmartFTP is my ftp client.. I'm very new to all this.
verilon wrote:How do I figure that out? SmartFTP is my ftp client.. I'm very new to all this.
Okay, not on the Unix shell, I see. Does SmartFTP allow you to change permissions on files? If so, it might be as simple as right-clicking on the avatars directory, going to permissions, and checking "writable" for user, group, and other (basically all of 'em).