Problem during overwrite the existing image

See all posts See thread Reply

Re: Problem during overwrite the existing image new!
by Jenifer, 18 years, 1 month ago
I've set file_overwrite to true and set the file_auto_rename to false, but receive this error when attempting to overwrite an existing image:

Error: Destination directory can't be made writeable. Can't carry on a process

I have the following set:
$handle->file_new_name_body = "my_file_name";
$handle->file_overwrite = true;
$handle->file_auto_rename = false;
$handle->image_resize = true;
$handle->image_ratio_y = true;
$handle->image_x = 100;
$handle->jpeg_quality = 100;

It works great if I allow it to create a new filename and not overwrite the existing, but overwriting the existing file throws the error.

Any ideas on what may be causing this?
JeniferReply
Re: Problem during overwrite the existing image new!
by colin, 18 years, 1 month ago
Check if the destination file is writable, as well as the file you want to overwrite. Set the permissions to 777 to begin with.

Are you using the version 0.20 or the 0.21RC?Reply