Log in

View Full Version : Avatar Upload Error


Jibba Jabbas
05-23-2008, 10:39 AM
Right when i try upload a picture off of my hard drive it works but i get this error when it says it's completed..

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

Also when i try use a direct link i get the same error message above my header but also get:

"Upload failed due to failure writing temporary file."

Any idea why this isn't working?

Thanks

Marco van Herwaarden
05-23-2008, 10:47 AM
Check your basedir settings in your vBulletin Options.

Jibba Jabbas
06-01-2008, 12:03 AM
Is that using phpinfo()?

I did that and found my local value had something in open_basedir but nothing in master.. also there was nothing in "upload_tmp_dir" for both local and master. Doesn't this need to match the open_basedir value?

Thanks in advance.

--------------- Added 1212317883 at 1212317883 ---------------

Fixed it.