VB open_basedir restriction

Miscellaneous tweaks and fixes.

VB open_basedir restriction

Postby Admin » Tue Feb 12, 2008 1:43 pm

VBulletin Admins:

Your users try to upload avatars / signatures and see the error

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


You have open_basedir restrictions on your server. To get uploads to work you need to create a 'tmp' subdirectory under your main hosting 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:

Site Admin
Posts: 108
Joined: Sat May 26, 2007 7:57 am

Return to Miscellaneous Tweaks

Who is online

Users browsing this forum: No registered users and 1 guest