Hi there,
I installed the IMCE module successfully but then I went to:
create content >> story >> clicked the image button on the tinyMCE tool bar >> clicked the browse button on the pop-up window >> browsed the image on my local directory and hit the upload file button.
I got this message:
* warning: copy(): SAFE MODE Restriction in effect. The script whose uid is 32055 is not allowed to access /home/.../public_html/files/1 owned by uid 99 in /home/.../public_html/modules/imce/imce.module on line 186.
* warning: copy(files/1/MyPicture_copy.jpg): failed to open stream: Success in /home/.../public_html/modules/imce/imce.module on line 186.
* Error copying the file.
I guess, this is a problem with permissions on the server.
It seems that the IMCE module doesn't have enough rights to write inside the folder that was created to store the image.
How can I fix this?
Thanks.
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | imce.safemode.patch.txt | 1.62 KB | ufku |
Comments
Comment #1
ufku commenteddid you create any of the directories manually? by ftp or something else.
at first, try changing the prefix for personal folders(admin/settings/imce). if it doesnt work, please let me know.
Comment #2
beauregard commentedI have the same problem. I did not create anything manually, what I can see on the server is that the directory u1 created by IMCE has as owner "apache". The rights are 775 (Owner-Read/Write/Execute, Group - Read/Write/Execute, Public - Read/Execute).
Comment #3
theorichel commentedI have the same problem.
Comment #4
ufku commentedhere is a patch for cvs verison.
the cvs version was backported to 4.7. so you must download the 4.7 version from project to apply this patch. the CVS id of the file to be patched is $Id: imce.module,v 1.6 2006/09/29 13:50:57 ufku Exp $
Comment #5
ufku commentedcommited.
Comment #6
(not verified) commentedComment #7
ali.sharif commentedI guess, must off same_mode setting on the server
Comment #8
drvdt commentedPlease, ask your support team turn off SAFE MODE for your hosting.
--> worked with me