i am facing a typical issue in my server. whenever i try to upload an avatar using user control panel of vbulletin the following error message is coming

http://www.imgcentre.com/images/pirateacce834156382.png

but i have properly chmod the avatars and tmp directory of vb to 777 and others which are needed. if i try to url upload of avatar it is saying "Upload failed due to failure writing temporary file." including the following error message at the top

"Warning: tempnam() [function.tempnam]: open_basedir restriction in effect. File() is not within the allowed path(s): (/home/pirate/:/tmp:/var/tmp:/usr/local/lib/php/) in [path]/includes/class_upload.php on line 276

Warning: fopen() [function.fopen]: Filename cannot be empty in [path]/includes/class_upload.php on line 282"

please help me!
pirateaccess Reviewed by pirateaccess on . help needed in vbulletin and server! i am facing a typical issue in my server. whenever i try to upload an avatar using user control panel of vbulletin the following error message is coming http://www.imgcentre.com/images/pirateacce834156382.png but i have properly chmod the avatars and tmp directory of vb to 777 and others which are needed. if i try to url upload of avatar it is saying "Upload failed due to failure writing temporary file." including the following error message at the top "Warning: tempnam() : Rating: 5