Here's where I'm at as of today. I was able to get the extension to upload files by defining an absolute path using the "Dynamic" selection for both the upload folder and the temp folder. I am resizing each image and creating one (1) thumbnail. I only uploaded one file for this test.
After the upload, here are my results: !. The extension creates both of the folders
2. The temp folder contains the file "MultipleUploadLog.txt" and a sub-folder named "gdko9jdl08oln8vr8llhs7rva6"
3. the sub-folder "gdko9jdl08oln8vr8llhs7rva6" contains: a. An empty folder named "Thumb" b. a file named "0895_004.jpg" - this was my upload file name and this file has been resized to 1200x800 c: a file named "Thumb\0895_004_tn.jpg" - (an invalid file name) this file has been resized to 150x100
4. The designated upload folder contains three files (correct results except for the invalid file) a. "0895_004.jpg" b. "0895_004_tn.jpg" c. "Thumb\0895_004_tn.jpg"
I assume that the reason that the temporary folder and files are not deleted is because of the invalid file name and that since the invalid file is not deleted is is copied to the upload folder with the good files.
Now that we are at this point, can we get it working properly or should I request a refund?
The log file: - START LOG -------- July 23, 2011, 10:23 am Path: Temp path Log path: ---------- Request QueryString: dwzInstance=>1 ---------- Form elements Filename=>0895_004.jpg dwzFirstFile=>true dwzCurrentUploadTotalFiles=>1 dwzLastFile=>true currentUploadTotalFiles=>0 currentFileCounter=>1 Upload=>Submit Query eventID=>999999 ---------- Uploaded files array ( 'name' => '0895_004.jpg', 'type' => 'application/octet-stream', 'tmp_name' => '/tmp/php4MA4ae', 'error' => 0, 'size' => 1239225, ) outLocalFileName:0895_004.jpg Resize: /upload_log/gdko9jdl08oln8vr8llhs7rva6/0895_004.jpg Resize: main image Resize: image loaded Resize: width -> 3000 Resize: height -> 2000 Resize: make thumb Resize: thumb path -> /upload_log/gdko9jdl08oln8vr8llhs7rva6/Thumb\0895_004_tn.jpg Resize: thumb loaded Resize: thumb width -> 1200 Resize: thumb height -> 800 FinalizeUpload Copy file : Source /upload_log/gdko9jdl08oln8vr8llhs7rva6/0895_004.jpg Copy file : Dest /images/event_999999/0895_004.jpg Copy thumb : Source /upload_log/gdko9jdl08oln8vr8llhs7rva6/Thumb\0895_004_tn.jpg Copy thumb : Dest images/event_999999/0895_004_tn.jpg Copy file : oUploadFile array ( 'skipped' => false, 'path' => '/images/event_999999/0895_004.jpg', 'thumbPath' => '/images/event_999999/0895_004_tn.jpg', 'name' => '0895_004.jpg', 'length' => 66088, 'part' => array ( 'name' => '0895_004', 'path' => '/upload_log/gdko9jdl08oln8vr8llhs7rva6/', 'ext' => '.jpg', ), ) Copy file : Source /upload_log/gdko9jdl08oln8vr8llhs7rva6/Thumb\0895_004_tn.jpg Copy file : Dest /images/event_999999/Thumb\0895_004_tn.jpg Copy file : oUploadFile array ( 'skipped' => false, 'path' => '/images/event_999999/Thumb/0895_004_tn.jpg', 'name' => 'Thumb\\0895_004_tn.jpg', 'length' => 3361, 'part' => array ( 'name' => 'Thumb\\0895_004_tn', 'path' => '/upload_log/gdko9jdl08oln8vr8llhs7rva6/', 'ext' => '.jpg', ), ) -- END LOG -- |
|
|