The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
error when uploading from another website
Warning: tempnam() [function.tempnam]: open_basedir restriction in effect. File() is not within the allowed path(s): (/home/leetnet:/usr/lib/php:/usr/local/lib/php:/tmp) in [path]/includes/class_upload.php on line 275
Code:
{ // ... in normal mode $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'); } |
#2
|
|||
|
|||
You have open_basedir restrictions on your server. To get uploads to work you need to create a 'tmp' subdirectory under your /home/leetnet/ directory and chmod it to 777. Then in the Admin CP set "Upload In Safe Mode?" to 'Yes' and point the "Safe Mode Temp Directory" to that directory. If you placed the tmp directory in the right place, the path to the Safe Mode Temp Directory will be:
/home/leetnet/tmp Or get your host to disable open_basedir restrictions. |
#3
|
|||
|
|||
thank you so much! I had the .tmp but I had not done the chmod but once I did it worked!
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|