This is the exact same problem that I'm having as well, and as far as I can see, it's not a permission problem. Here's what I've done to troubleshoot:
1) CHOWN'd all files and directories under /fbfiles to
www-data (the web user)
2) CHMOD'd all files and directories under /fbfiles to 777
And the problem still persists. I'm getting the exact same errors as are listed in the first post.
[code:1]Warning: imagejpeg() [function.imagejpeg]: Unable to open '/var/www/vhosts/ndgmobile.com/httpdocs/images/fbfiles/avatars/63.jpg' for writing in /var/www/vhosts/ndgmobile.com/httpdocs/components/com_fireboard/template/default/plugin/myprofile/myprofile_avatar_upload.php on line 466
Warning: imagejpeg() [function.imagejpeg]: Unable to open '/var/www/vhosts/ndgmobile.com/httpdocs/images/fbfiles/avatars/s_63.jpg' for writing in /var/www/vhosts/ndgmobile.com/httpdocs/components/com_fireboard/template/default/plugin/myprofile/myprofile_avatar_upload.php on line 479
Warning: move_uploaded_file(/var/www/vhosts/ndgmobile.com/httpdocs/images/fbfiles/avatars/l_63.jpg) [function.move-uploaded-file]: failed to open stream: No such file or directory in /var/www/vhosts/ndgmobile.com/httpdocs/components/com_fireboard/template/default/plugin/myprofile/myprofile_avatar_upload.php on line 503
Warning: move_uploaded_file() [function.move-uploaded-file]: Unable to move '/tmp/phpyEDeeh' to '/var/www/vhosts/ndgmobile.com/httpdocs/images/fbfiles/avatars/l_63.jpg' in /var/www/vhosts/ndgmobile.com/httpdocs/components/com_fireboard/template/default/plugin/myprofile/myprofile_avatar_upload.php on line 503
An error occured when uploading your Avatar. Please try again or notify your system administrator Your avatar has been uploaded....[/code:1]
So it looks like it's failing to copy the avatar file from the /tmp dir into the /fbfiles/avatars directory for some reason.
This is a fresh installation of fb1.0.4 on a fresh, clean installation of Joomla 1.5RC4 running in a Debian 4 environment.
This seems to be about the only problem I've found so far using 1.0.4 of Joomla 1.5RC4. I did have the '[url=http://www.bestofjoomla.com/component/option,com_fireboard/Itemid,38/func,view/id,28497/catid,74/]missing language file entries[/url]' issue, but that was an easy fix. However, this little niggly problem, I can't get to go away.
Does anyone following the board have any suggestions (other than 'don't use Joomla 1.5 yet'). This is a client install and they are insisting on Joomla 1.5. Surely there has to be a fix for this? It doesn't sound like it's something in the FB code... Especially after setting the /fbfiles to 777 recursively.
Thanks an advance to those who reply.