I have this messages trying to add an image to a node.
* warning: imagejpeg() [function.imagejpeg]: SAFE MODE Restriction in effect. The script whose uid is 1573 is not allowed to access /workdisk/home/web/www.labussolaonline.org/htdocs/files/images owned by uid 1000 in /workdisk/home/web/www.labussolaonline.org/htdocs/includes/image.inc on line 321.
* warning: imagejpeg() [function.imagejpeg]: Invalid filename in /workdisk/home/web/www.labussolaonline.org/htdocs/includes/image.inc on line 321.
* Unable to create scaled thumbnail image
* Unable to cpy the selected file (/workdisk/home/web/www.labussolaonline.org/htdocs/files/images/temp/apertura_parco.jpg).
* Unable to cpy the selected file (/workdisk/home/web/www.labussolaonline.org/htdocs/files/images/temp/apertura_parco.thumbnai...).
* Unable to cpy the selected file (/workdisk/home/web/www.labussolaonline.org/htdocs/files/images/temp/apertura_parco.preview.jpg).
I have all the following directories existing and with 777 permissions
files/
files/images
files/images/temp
files/images/import
Many thanks,
Michele
Comments
Comment #1
michemon commentedI also tried deleting the .htaccess files where present in the above directories, but the problem still remains.
Comment #2
drewish commentedit looks like the user that uploaded the file is not the same user as the webserver is running as. you'll need to talk to you ISP about it, it's an issue specific to your server.
Comment #3
michemon commentedMany thanks,
I'm enquiring my hosting provider.
Thanks,
Michele
Comment #4
michemon commentedThe first problem is now solved.
But I have another problem. I have no error, but the image is not visible.
I see only the relevant text. If I click it's the same: I can choose to see the original, the preview or the thumbnail version of the image, but only the text is visible... no image is there...
Is more or less the same problem I had with the node_image module.
I'm thinking if this also may depends on the server settings...
Any idea?
What can I do to give more details?
Many thanks,
Michele
Comment #5
drewish commentedis the site publicly visible? if so either provide a link or send me one through my contact form.
Comment #6
drewish commentedokay based on some emails we swapped, i think these issues have been resolved.
Comment #7
michemon commentedYes the issue is solved.
The problem was the server side configuration of users.
Many thanks for the assistance.
Michele
Comment #8
(not verified) commentedComment #9
wolfraem commentedI'm sorry to reopen this, but I'm hoping those that were talking here can reply back. I'm having the same issue (it takes the upload but only shows text), and am wondering if one of you two could post the process you used to solve michemon's issue.
Thanks,
Wolf
Comment #10
Stefan Nagtegaal commentedWhat browser/OS are you using?
Stefan
Comment #11
wolfraem commentedWindows XP MCE and Pro, Firefox 2.0.0.7 and IE 7.0.5730.x
In Firefox no dice whatsoever, in IE a placeholder the size of the image appears with the "broken link" red X in a box symbol.
Comment #12
wolfraem commentedAnyone with an idea? Please?
Comment #13
wolfraem commentedattached a screenshot showing what the node looks like. The image uploads to the site, resizes and thumbnails and everything, but when it doesn't show in any form on the page.
Comment #14
wolfraem commentedI figured out what my problem was.
I started getting this error:
warning: is_dir() [function.is-dir]: Stat failed for files/css (errno=13 - Permission denied) in /home/public/drupal/includes/file.inc on line 90
Checking out another post, http://drupal.org/node/150154 , with the same issue, and I figured out that my book module was causing an issue through trial and error.
So, I have to figure out with book was, but I'm good to go again.
Comment #15
wolfraem commentedSorry, turns out it was my Color Module as in the post I linked to above. Not book.
Comment #16
(not verified) commented