PDA

View Full Version : I can't upload files


ectoplasMJ
07-23-2014, 01:23 PM
"Remote file uploads have been disabled."

When I try upload some file in attachment windows or upload some template / plugin

https://vborg.vbsupport.ru/external/2014/07/21.png

ectoplasMJ
07-29-2014, 06:54 PM
bump .

Lynne
07-29-2014, 08:31 PM
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/yoursite/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.

ectoplasMJ
08-02-2014, 04:39 PM
Yes, I already did that. About the permissions.. I have Windows server and I put all permissions for all users. (IIS - Administrator) still don't work.

Lynne
08-05-2014, 03:48 PM
This is definitely a server issue. Have you asked your host about it and asked if they have any software installed that will block the uploading of files?