PDA

View Full Version : Avatar Upload / Linking errors


Pt1994
08-23-2009, 04:29 PM
Ok so one of my members discovered an error while trying to change his avatar

this is the error he got while trying to link to a offsite avatar
Warning: tempnam() [function.tempnam]: open_basedir restriction in effect. File() is not within the allowed path(s): (/home/xdcdorg:/usr/lib/php:/usr/local/lib/php:/tmp) 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


And this is the error he got while trying to upload his avatar to our site
Warning: tempnam() [function.tempnam]: open_basedir restriction in effect. File() is not within the allowed path(s): (/home/xdcdorg:/usr/lib/php:/usr/local/lib/php:/tmp) 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


Is this a CHMOD error? if so what directorys do i need to change? or is it something confilcting?

--------------- Added 1251049371 at 1251049371 ---------------

Ok worked it out i needed php safe mode :p

snakes1100
08-23-2009, 11:24 PM
Click link #4 in my signature.