Hello!
When I what to upload pictures, an error appears:
Warning: move_uploaded_file(): SAFE MODE Restriction in effect. The script whose uid is 781 is not allowed to access /srv/www/htdocs/web122/html/davidshp/uploads owned by uid 30 in /srv/www/htdocs/web122/html/davidshp/serendipity_admin_images.inc.php on line 141
ERROR_UNKNOWN_NOUPLOAD
What's wrong?
David
I can't upload pictures!
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: I can't upload pictures!
Your webserver is running in SafeMode - and your provider setup your SafeMode in a bad way, because your FTP user is not the same as the webserver runs in your directory.
Safe mode does not allow files to be modified/created by a user which is differing. There are two solutions:
1. Tell your provider to turn off SafeMode, or better yet to configure it properly. This is advised.
2. chown the uploads directory to user id 781, if you have sufficient privileges.
Regards,
Garvin.
Safe mode does not allow files to be modified/created by a user which is differing. There are two solutions:
1. Tell your provider to turn off SafeMode, or better yet to configure it properly. This is advised.
2. chown the uploads directory to user id 781, if you have sufficient privileges.
Regards,
Garvin.
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: I can't upload pictures!
...and please do not crosspost to more than one forum, thanks. I removed your other duplicate topics.
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
I told you to ask your provider to correctly configure safemode.
Or use your FTP client to use the "chown" function (something like "permissions" in most clients) to adjust the user id of the file/directory.
Or use your FTP client to use the "chown" function (something like "permissions" in most clients) to adjust the user id of the file/directory.
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
-
Guest
What about this error while uploading a jpg?
Unable to execute: "/usr/bin/ -antialias -scale '110x110' '/hsphere/local/home/dcockrel/thecockrells.com/blog/uploads/lizlov.jpg' '/hsphere/local/home/dcockrel/thecockrells.com/blog/uploads/lizlov.serendipityThumb.jpg'", error: , return var: 126
The original size file uploads and I assume the error is associated with resizing but as far as I know Imagemagick works with my Coppermine install.
Unable to execute: "/usr/bin/ -antialias -scale '110x110' '/hsphere/local/home/dcockrel/thecockrells.com/blog/uploads/lizlov.jpg' '/hsphere/local/home/dcockrel/thecockrells.com/blog/uploads/lizlov.serendipityThumb.jpg'", error: , return var: 126
The original size file uploads and I assume the error is associated with resizing but as far as I know Imagemagick works with my Coppermine install.