Solved : Image Manager - File could not be uploaded
Posted: Thu Feb 12, 2009 12:21 am
Hello, grateful for any help on the following:
I am using CMS Made Simple 1.5.2 "Caguas", PHP Version 5.1.6, MySQL version 5.0.45, Apache version 2.2.3, on CentOS 5.2
I am trying to use the Image Manager to upload image files. I can use it successfully to create new folders.
When I upload a file, I get the error message "File could not be uploaded. This could be a permissions or Safe mode problem?"
I have checked my php.ini and Safe mode is Off.
I have checked permissions of the uploads/ and of the uploads/images/ directories, both of which are 755, owner apache group apache.
httpd is running as apache. I have tried using chmod to make them both 777, but I get the same error.
I have tried changing the umask from 022 to 002, but I get the same error.
If I put an image file into the uploads/images/ directory (manually) and chown as apache with 644, then I can see the image in the Image Manager, and it creates the thumbnail.
I have also tried using very small images to see if the filesize was a problem - with no success.
I would be eternally grateful if anyone can offer me a solution or things I should try.
many thanks
ben
I am using CMS Made Simple 1.5.2 "Caguas", PHP Version 5.1.6, MySQL version 5.0.45, Apache version 2.2.3, on CentOS 5.2
I am trying to use the Image Manager to upload image files. I can use it successfully to create new folders.
When I upload a file, I get the error message "File could not be uploaded. This could be a permissions or Safe mode problem?"
I have checked my php.ini and Safe mode is Off.
I have checked permissions of the uploads/ and of the uploads/images/ directories, both of which are 755, owner apache group apache.
httpd is running as apache. I have tried using chmod to make them both 777, but I get the same error.
I have tried changing the umask from 022 to 002, but I get the same error.
If I put an image file into the uploads/images/ directory (manually) and chown as apache with 644, then I can see the image in the Image Manager, and it creates the thumbnail.
I have also tried using very small images to see if the filesize was a problem - with no success.
I would be eternally grateful if anyone can offer me a solution or things I should try.
many thanks
ben