Page 1 of 1

Can't upload images or files via admin:

Posted: Mon Feb 01, 2010 3:35 pm
by mrTron
PHP safe mode is off, following directories are set to 777:  uploads, uploads/images, tmp

I get this error in the file manager:  "filename failed to upload successfully"

and this error in the image manager: "file could not be uploaded. This could be a permissions or Safe mode problem?"

I see in the image manager that the 'images' directory is owned by my ftpUser account as well as the handful of images that i uploaded via an ftp client.  Should the ownership be Apache?

I haven't had this issue on other installs of CMSMS, but this is a new install on a new server (Media Templed dedicated virtual > Plesk)

Anyone have any ideas?  Thanks in advance for any input! 

Re: Can't upload images or files via admin:

Posted: Mon Feb 01, 2010 3:58 pm
by Rolf
Hey mrTron

Looks like a fileownership problem
Good read: http://forum.cmsmadesimple.org/index.ph ... l#msg44063

A few steps:
Don't use ftp anymore.
Try to reset permissions in the Plesk FileManager.
Set Umask in cmsms at 000
Folder modules, uploads and tmp recursive at 777

Regards, Rolf

Re: Can't upload images or files via admin:

Posted: Tue Mar 30, 2010 6:50 pm
by thomahawk
I think there should be nothing ever set to 777 permission, thats a security risk.

Thom