avatar problem

SirDon

New Member
Hello to all!!!We have a error to upload avatar
This is a error :

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


This is a line 270

Code:
$this->upload['location'] = $this->registry->userinfo['permissions']['adminpermissions'] & $this->registry->bf_ugp_adminpermissions['cancontrolpanel'] ? tempnam(ini_get('upload_tmp_dir'), 'vbupload') : @tempnam(ini_get('upload_tmp_dir'), 'vbupload');

It would need to edit anything?
 
Back
Top