DwZone Forum DwZone Forum
Welcome to the DwZone-it Forum
 
  FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups  
    RegisterRegister -->   LoginLogin  
Multiple file upload  
DwZone Forum Index -> Multiple file upload

Moderators: AdministratorsModerators 
Hint: For improved responsiveness, use Internet Explorer 4 (or above) with Javascript enabled, choose 'Dynamic' from the View dropdown and hit 'Set Options' to save your changes.
New Topic Search for
 View     Per page     Messages Since 
Messages 91 to 100 of 195 (Total: 181) First |  Prev |  Next |  Last  
 Subject Author Date  
   Re: Upload Failing  
View this persons public profile  Gianluigi   8:49 22 Jul 2011  
   Re: Upload Failing  
View this persons public profile  Paul   9:04 22 Jul 2011  
   Re: Upload Failing  
View this persons public profile  Gianluigi   9:34 22 Jul 2011  
   Re: Upload Failing  
View this persons public profile  Paul   10:15 22 Jul 2011  
   Re: Upload Failing  
View this persons public profile  Gianluigi   10:54 22 Jul 2011  
   Re: Upload Failing  
View this persons public profile  Paul   11:05 22 Jul 2011  
   Re: Upload Failing  
View this persons public profile  Gianluigi   12:32 22 Jul 2011  
   Re: Upload Failing  
View this persons public profile  Paul   12:52 22 Jul 2011  
   Re: Upload Failing  
View this persons public profile  Gianluigi   10:21 23 Jul 2011  
    Re: Upload Failing  
View this persons public profile  Paul   11:09 23 Jul 2011  
 
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 --
 
Reply to this current thread  View this persons public profile  Send Private Message
Last Visit: Thursday 9 Jan, 2025 0:27 pm First |  Prev |  Next |  Last  
 Login
Username:  Password:    
Read Message Read Message   Unread message Unread message
Read message [popular] Read message [popular]   Unread message [popular] Unread message [popular]
Read message [locked] Read message [locked]   Unread message [locked] Unread message [locked]
All times are GMT-1

Jump to: