Can't upload images or files via admin:

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
mrTron
New Member
New Member
Posts: 8
Joined: Tue Mar 24, 2009 1:24 pm

Can't upload images or files via admin:

Post 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! 
User avatar
Rolf
Power Poster
Power Poster
Posts: 7825
Joined: Wed Apr 23, 2008 7:53 am
Contact:

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

Post 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
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Image
User avatar
thomahawk
Power Poster
Power Poster
Posts: 312
Joined: Fri Jul 25, 2008 10:13 am

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

Post by thomahawk »

I think there should be nothing ever set to 777 permission, thats a security risk.

Thom
Post Reply

Return to “CMSMS Core”