View Full Version : Upload Failed from URL
Reece^B
10-14-2013, 08:03 PM
Hi Guys
If I upload a pic via URL but choose to reference locally it 'fails to write'
However I can upload attachments etc fine.
--------------- Added 1381865725 at 1381865725 ---------------
???
KenDude
02-11-2014, 01:20 AM
Hi Guys
If I upload a pic via URL but choose to reference locally it 'fails to write'
However I can upload attachments etc fine.
--------------- Added 1381865725 at 1381865725 ---------------
???
I have same issue, did you ever get yours resolved??
ozzy47
02-11-2014, 01:24 AM
This is what it sounds like to me:
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:
/home/admin/tmp
Admin CP -> Settings -> Options -> Server Settings and Optimization Options -> Safe Mode Temporary Directory
Admin CP -> Settings -> Options -> Server Settings and Optimization Options -> Safe Mode Upload Enabled -> Yes
Also the php.ini setting for 'upload_tmp_dir' may be empty. It's possible you (as root) or your host will need to edit php.ini and set 'upload_tmp_dir' to point to the full path to a directory on the server that is chmod'd to 1777. You will also need to restart Apache after making this change.
I have not tested this, I just uncovered this during research.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.