FRIHOST FORUMS SEARCH FAQ TOS BLOGS COMPETITIONS
You are invited to Log in or Register a free Frihost Account!


phpbb upload avatar problem





wahsap
I dont know if I am in the right thread.

I got a problem, where I want to allow users to upload small size image as their avatars. but it somehow failed. The below error statement occur:

Warning: move_uploaded_file(./images/avatars/46358020745042e44843aa.gif) [function.move-uploaded-file]: failed to open stream: Permission denied in /home/wahsap/domains/mantrafive.frih.net/public_html/phpBB2/includes/usercp_avatar.php on line 288

and somehow it says my profile has been updated, but it failed to display the image.

I think it has something to do with the database, and that is why I put the problem in this thread.
mathiaus
Your problem is about permission with files, not the database or more specificlly the creation or importation of one.
-topic_split-

Quite a few people have been having this(or related) problem. So far its been suggested to make sure chmods have been applied correctly though this doesn't seem to have helped.
wahsap
hmm you mean applying 777 to all related files? hmm that could work.
wahsap
I've applied chmods to related files, but the failure seems did not solved.
Xcelerate
You need to chmod the folder that the avatars are stored in to 777, not just the files.
wahsap
Xcelerate wrote:
You need to chmod the folder that the avatars are stored in to 777, not just the files.


I've done that and guess what, it solved the problem! Thanks man.
CatBox
hey just chmod(ing) the upload folder would have been fine Wink
Related topics
phpbb
avatar problem
About PhPBB upload picture/ Photo
Help with PhpBB
Following error popped up when trying to upload an avatar
PHPBB Upload
Installing Forums
PHPBB: Massive Spambot problem
[Community Project] Easy Simple Content Management System
I need a php upload script, NEEDED BADLY
Why I can't upload avatar on my FORUM ?
File upload class problem.
PhpBB: avatar problem??!!
Could'nt upload avatar ?!
adding another domain that points to my frihost hosting
Reply to topic    Frihost Forum Index -> Support and Web Hosting -> Web Hosting Support

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2011 Frihost, forums powered by phpBB.