coppermine-gallery.com/forum

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Permissions & Access Rights => Topic started by: Mr Tee on February 16, 2006, 05:31:38 PM

Title: crop errors
Post by: Mr Tee on February 16, 2006, 05:31:38 PM
I have transferred my site to a new host/server and when I try to crop an image (using the crop tool in coppermine) I receive the following errors on save.

Warning:  copy(albums/userpics/10145/DSC_0001.jpg): failed to open stream: Permission denied in /home/studio/public_html/gallery/picEditor.php on line 159

Warning  imagejpeg(): Unable to open 'albums/userpics/10145/thumb_DSC_0001.jpg' for writing in /home/studio/public_html/gallery/include/picmgmt.inc.php on line <b>218

Warning:  chmod(): Operation not permitted in/home/studio/public_html/gallery/include/picmgmt.inc.php on line 224


I have checked chmod on albums and include folders and they seem OK. Any ideas please?
Title: Re: crop errors
Post by: Mr Tee on February 16, 2006, 10:58:55 PM
I have just uploaded a new image and the crop works fine. It also only seems to happen with large files 250kb
Title: Re: crop errors
Post by: Joachim Müller on February 17, 2006, 06:23:18 AM
When applying crop or rotate, the same server-sided restrictions (memory usage etc.) apply as when uploading, but max file size and dimensions may differ. Refer to the sticky threads on the upload board what server-sided vars are keeping your from cropping if the server is yours to administer and you could actually change anything about it. Better still: resize, crop and rotate the pics on your client before you upload them - refer to the Irfan View tutorial (http://coppermine-gallery.net/tutorial/).
Title: Re: crop errors
Post by: Mr Tee on February 17, 2006, 07:53:53 AM
Thanks, I have been running coppermine for some time, to my knowledge no one, including me, has ever bothered with the crop tool, except to see what it does.  ::)