Some kind of error on phpBB

GEC: Discuss gaming, computers and electronics and venture into the bizarre world of STGODs.

Moderator: Thanas

Post Reply
User avatar
haas mark
Official SD.Net Insomniac
Posts: 16533
Joined: 2002-09-11 04:29pm
Location: Wouldn't you like to know?
Contact:

Some kind of error on phpBB

Post by haas mark »

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.

This is the error I got:

Code: Select all

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?
Robert-Conway.com | lunar sun | TotalEnigma.net

Hot Pants à la Zaia | BotM Lord Monkey Mod OOK!
SDNC | WG | GDC | ACPATHNTDWATGODW | GALE | ISARMA | CotK: [mew]

Formerly verilon

R.I.P. Eddie Guerrero, 09 October 1967 - 13 November 2005


Image
User avatar
Mad
Jedi Council Member
Posts: 1923
Joined: 2002-07-04 01:32am
Location: North Carolina, USA
Contact:

Post by Mad »

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.
Later...
User avatar
haas mark
Official SD.Net Insomniac
Posts: 16533
Joined: 2002-09-11 04:29pm
Location: Wouldn't you like to know?
Contact:

Post by haas mark »

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.
Robert-Conway.com | lunar sun | TotalEnigma.net

Hot Pants à la Zaia | BotM Lord Monkey Mod OOK!
SDNC | WG | GDC | ACPATHNTDWATGODW | GALE | ISARMA | CotK: [mew]

Formerly verilon

R.I.P. Eddie Guerrero, 09 October 1967 - 13 November 2005


Image
User avatar
Mad
Jedi Council Member
Posts: 1923
Joined: 2002-07-04 01:32am
Location: North Carolina, USA
Contact:

Post by Mad »

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).
Later...
User avatar
haas mark
Official SD.Net Insomniac
Posts: 16533
Joined: 2002-09-11 04:29pm
Location: Wouldn't you like to know?
Contact:

Post by haas mark »

Thanks. Got it fixed. :)
Robert-Conway.com | lunar sun | TotalEnigma.net

Hot Pants à la Zaia | BotM Lord Monkey Mod OOK!
SDNC | WG | GDC | ACPATHNTDWATGODW | GALE | ISARMA | CotK: [mew]

Formerly verilon

R.I.P. Eddie Guerrero, 09 October 1967 - 13 November 2005


Image
Post Reply