PDA

View Full Version : error displayed while uploading an avatar


nishant.soni
04-20-2010, 04:06 PM
Whenever, some user [including admins] try to upload an avatar, after submitting it, you could see an error on top of the page when it redirects you. But after redirection avatar is uploaded properly. I was wondering what that error is for.

Here is the error

"Warning: tempnam() [function.tempnam]: open_basedir restriction in effect. File() is not within the allowed path(s): (/home:/usr:/tmp:/var/netenberg) in [path]/includes/class_dm_userpic.php on line 204

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

Redirecting..."

mikey1991
04-20-2010, 04:34 PM
try making a folder called tmp in your forums directory and chmodding it 777. then turn on safe mode in the vbulletin options.

nishant.soni
04-20-2010, 05:23 PM
try making a folder called tmp in your forums directory and chmodding it 777. then turn on safe mode in the vbulletin options.


Done making the dir. Could you please tell me wheres that option to turn the safemode on?