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..."
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..."