Reply to Error: "Can't carry on a process" after second process

Error: "Can't carry on a process" after second process new!
by Cameron Cooke, 17 years, 11 months ago
I have a upload script that I wrote using your upload.class to upload images and also create a thumbnail of each image.

After upgrading the upgrade.class to the latest version 0.22 the thumbnail (second process) failed with error "Can't carry on a process".

After crawling though your code, I found that at line 2904 there is a "move_uploaded_file" function call, this seems to move the temp file to the final dest filename. Obviously this moves the temp file, so when I try to create a thumbnail of the same upload the script errors because the temp file no longer exists.

I have changed the "move_uploaded_file" function call to a "copy" function to fix the problem.

Is this a bug?Reply

Your reply

Name *
Email 
Title *
Text *
CAPTCHA image
Enter the code displayed on the image:
Click on the image to generate another one if it is hard to read it. The case is important