PDA

View Full Version : vBulletin upload problem -permissions?


MX3D
12-30-2001, 02:53 PM
I want to enable ppl to upload avatars instead of having to either pick one from my collection or put in a URL, but Im getting this error when I do it from the CP:

Warning: Unable to create '../vb/images/avatars/team.gif': No such file or directory in /home/username/public_html/vb/admin/avatar.php on line 35

if I use the images/avatars path I get this:

Warning: Unable to create '..//images/avatars/team.gif': Permission denied in /home/mx3dm1/public_html/vb/admin/avatar.php on line 35

Weird thing is, I enabled it in the CP to allow uploads, so when *I* do it, I get no error. However another co-admin tries to do it, and gets the same error.

Im trying different paths etc, like images/avatars etc, but its not working. The avatars are in my /public_html/vb/images/avatars directory, but its refusing to allow uploads.

killerart
12-30-2001, 05:15 PM
Did you try to CHMOD your directory for your images to 777? That's all I can think of because i'm not that great at scripts. I hope it works!

Chameleon
12-30-2001, 06:20 PM
What's on line 35 of that script?

~Chameleon

MX3D
12-31-2001, 01:41 PM
Yeah it was the chmod. It was 755 before, changed it to 777 and it works. I thought I did that a while ago but I guess not. Thanks