PDA

View Full Version : problems with write permissions in the FTP


WDS
02-15-2012, 11:33 AM
Since migrating from server I have a very strange problem in the forum, users can not be placed avatars, avatars disappeared from the CMS, and there are lots of options BLOCKED all that are not activated by the write permissions on the FTP.

Here biene good, all directories on the FTP are with 755 and files 644 are therefore configured correctly and not where the problem is, I have hired a VPS webfusión and very ... %&@# Say it is not their problem.

I need help.
Thanks.

kh99
02-15-2012, 02:25 PM
I think 755 and 64 would be OK if the files are owned by the corrrect user, so you might want to check that. Also, I think some upload problems (if that is what you're having) can be caused by permissions on the temp directory and other php settings. Are you getting any error messages?

WDS
02-15-2012, 03:50 PM
As I can check whether or not the correct user?


Yes, I get errors loading;
When a user attempts to place an avatar
When s eintenta upload an image for the group
When if you try to upload any image to album
When I try to update the version of the forum
I pass the tool "Tools" to solve some problems I had style.

There are more but I forget now, but basically all the problems have to do with writing files.

I apologize for my English so bad, but I'm Spanish and I use a translator to communicate.
Sorry.

Lynne
02-15-2012, 04:00 PM
What kind of errors are you getting?

If you store avatars/images in the filesystem, then the directory you store them in must be chmod to 777.

WDS
02-15-2012, 04:04 PM
Error writing the file.

But that was before 755 and it worked
before he was staying in Hiostgator not know if will have something to do.

Lynne
02-15-2012, 06:23 PM
What do you get in Maitenance > Diagnostics > Upload ?

I would suggest talking to your host about the issue. You need to take a look at those server error logs to see what the real issue is.

WDS
02-16-2012, 01:42 AM
file_uploads: Active
open_basedir: / var/www/vhosts/play4trophies.com/httpdocs / :/ tmp /
safe_mode: Off
upload_tmp_dir: None
upload_max_filesize: 10.00 MB

There were no errors when opening the file loaded in read mode.

But ...

When I try to get an avatar using Link I get this error: Upload failed due to an error writing the temporary file.

Zachery
02-16-2012, 04:23 AM
You should fix the upload_tmp_dir this needs to be set to something. You may also need to enable the safe_mode option in vBulletin's admincp.

WDS
02-16-2012, 08:06 AM
You should fix the upload_tmp_dir this needs to be set to something. You may also need to enable the safe_mode option in vBulletin's admincp.
Thanks, That as I can do?, Yet I have no great knowledge of vbulletin, only took about 9 months with the product.

Thank you.

Zachery
02-16-2012, 06:48 PM
The upload_tmp_dir issue is a php configuration issue. Not vBulletin.