uploading avatars display error.

RAINBOW

New Member
when i upload an avatar display this error.

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

Please how can i fix it?
Thanks in Advance..:)
 
have you tried to run the upload test in Diagnostics?

You should also take a look at phpinfo to see if your settings are correct.

I think you have a problem with the tmp folder, could be missing, permissions or not defined in php.ini but don't know for sure.
 
yup i got that xD like a month ago have you changed host, I fixed it by hanging the forum path in the vb options...;D try and tell me
 
RAINBOW said:
when i upload an avatar display this error.

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

Please how can i fix it?
Thanks in Advance..:)


Can you please PM me a link to your forum so I may check out a few things?

Thanks!
 
RAINBOW said:
when i upload an avatar display this error.

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

Please how can i fix it?
Thanks in Advance..:)

so I recive same eror ...
294.gif

hlp plz
83.gif
 
yes...its solved..i dont know how...but now its solved..
I remove all the files of vbulletin..in my ftp, and i put another one vbulletin...
Now its ok...:)
Thanks all of you for your help...
 
i have same problem, but i can't remov all the files of vbulletin beacuse i have much addons. help me otherwise. please
 
Tick in the vb options "Server Settings and Optimization Options"

Safe Mode Upload Enabled
If your server runs PHP with SAFE MODE Restrictions, set this to yes.

and look in your php info for your tmp settings, when its defautl tmp your done.

When not change this option also in "Server Settings and Optimization Options"

Safe Mode Temporary Directory
If your server is running in PHP Safe Mode, you'll need to specify a directory that is CHMOD to 777 that will act as a temporary directory for uploads. All files are removed from this directory after database insertion.

Note: Do NOT include the trailing slash ('/') after the directory name.
 
Back
Top