View Full Version : avatar uploading prob


bad_b0y707
9th May 2007, 01:35 AM
Guys, when I try to upload an avatar on my vbulletin's forum, I get the error bellow:


Warning: fopen() [function.fopen (http://gamercoders.exen.fr/function.fopen)]: open_basedir restriction in effect. File(d:/serveur2007/tmp\phpB656.tmp) is not within the allowed path(s): (h:/serveur2007/gamercoders/) in \includes\class_image.php on line 328

Warning: fopen(d:/serveur2007/tmp\phpB656.tmp) [function.fopen (http://gamercoders.exen.fr/function.fopen)]: failed to open stream: Operation not permitted in \includes\class_image.php on line 328


Please help me to fix that.

Thanks for helping me

Joe Gronlund
9th May 2007, 10:50 AM
Did you move servers recently?
Is your /images/avatars directory chmod set to 777??

bad_b0y707
9th May 2007, 02:33 PM
what is directory chmod??

Joe Gronlund
9th May 2007, 08:35 PM
It where you chmod the directory to accept read, write, execute etc permissions.
Those directories must be chmod to 777 to accept uploads.
You can chmod directories via most FTP clients, and via SSH..

bad_b0y707
9th May 2007, 11:47 PM
I know that I'll seem very noob but I can't figure out what you mean :(... Could you explain by telling me where to click to see what?

Joe Gronlund
10th May 2007, 01:08 AM
Which FTP client do you use?
What you have to do is right click on the /images/avatars directory and choose chmod, check all options on.
That will make it chmod to 777. Read/Write/Execute...

bad_b0y707
10th May 2007, 02:35 PM
Kk ty I found it but now it does that when I do it :

[07:40:53] 504 Command not implemented for that parameter



edit: btw i am using SmartFTP

Joe Gronlund
10th May 2007, 04:46 PM
CHMOD is not supported by your FTP server.
Contact the Admin of the Server, or your Host...

bad_b0y707
12th May 2007, 04:21 AM
You mean my program?...Or just like my site is http://gamercoders.exen.fr so "exen.fr" is the server and I have to change it so if it is exen.fr , Can you please give me a free hoster suporting everything for vbulletin? :P

elmo
13th May 2007, 03:32 PM
hate to sound harsh, but this is the rundown.

To get support on vBulletin please start a new thread on the official support forums at http://vBulletin.com/forum/ or start a new ticket in the support system: http://www.vbulletin.com/members/membersupport_contactform.php


To change the modes on the folder, contact your hosting provider and have them set the correct modes (777 for linux, read/write/execute for windows)