Rank: Member
Groups: Member
Joined: 4/27/2005(UTC) Posts: 4
|
Hello, We are experiencing random problems with large image uploads (200+) and was wondering if someone has experience with this? We have set: session_set_cookie_params(999999); set_time_limit(999999); on both the *.php file that calls the ActiveX ImageUploader and the image processing script. We also have a mail function that emails us the form post for debuging. ie, Code:// ============================================
// Debug Mode
// ============================================
$strRequest = print_r($_REQUEST, true);
mail("myemail@mysite.com", "Debug:ImageUpload", "$strRequest");
And we know this works because when we do a small upload (ie 20 images) we get emailed the following: Code:Array
(
[u] => c9f0f895fb98ab9159f51fd0297e236d
[s] => c9f0f895fb98ab9159f51fd0297e236d
[lstTarget] => gallery
[g] => ea5d2f1c4608232e07d3aa3d998e5135
[txtGalleryName] =>
[lstNamingConvention] => numeric
[selectView] => 2
[btnImport] => IMPORT
[FileCount] => 9
[PackageIndex] => 0
[PackageCount] => 1
[PackageGuid] => {FB3B1D3D-58AB-4AFE-B31F-7C6C43CAC321}
[Description_1] =>
[Width_1] => 614
[Height_1] => 400
[Angle_1] => 0
[HorizontalResolution_1] => 300
[VerticalResolution_1] => 300
[SourceFileSize_1] => 151462
[SourceFileCreatedDateTime_1] => 2005:01:11 01:52:00
[SourceFileLastModifiedDateTime_1] => 2005:01:11 01:52:00
[FileName_1] => C:\\Documents and Settings\\Some User\\Desktop\\Clients\\someclient.com\\sample_wedding\\weafer\\001.JPG
[Description_2] =>
[Width_2] => 614
[Height_2] => 400
[Angle_2] => 0
[HorizontalResolution_2] => 300
[VerticalResolution_2] => 300
[SourceFileSize_2] => 136932
[SourceFileCreatedDateTime_2] => 2005:01:11 01:52:04
[SourceFileLastModifiedDateTime_2] => 2005:01:11 01:52:04
[FileName_2] => C:\\Documents and Settings\\Some User\\Desktop\\Clients\\someclient.com\\sample_wedding\\weafer\\002.JPG
[Description_3] =>
[Width_3] => 614
[Height_3] => 400
[Angle_3] => 0
[HorizontalResolution_3] => 300
[VerticalResolution_3] => 300
[SourceFileSize_3] => 113637
[SourceFileCreatedDateTime_3] => 2005:01:11 01:52:06
[SourceFileLastModifiedDateTime_3] => 2005:01:11 01:52:06
[FileName_3] => C:\\Documents and Settings\\Some User\\Desktop\\Clients\\someclient.com\\sample_wedding\\weafer\\003.JPG
[Description_4] =>
[Width_4] => 400
[Height_4] => 608
[Angle_4] => 0
[HorizontalResolution_4] => 300
[VerticalResolution_4] => 300
[SourceFileSize_4] => 109878
[SourceFileCreatedDateTime_4] => 2005:01:11 19:50:18
[SourceFileLastModifiedDateTime_4] => 2005:01:11 19:50:18
[FileName_4] => C:\\Documents and Settings\\Some User\\Desktop\\Clients\\someclient.com\\sample_wedding\\weafer\\004.JPG
[Description_5] =>
[Width_5] => 614
[Height_5] => 400
[Angle_5] => 0
[HorizontalResolution_5] => 300
[VerticalResolution_5] => 300
[SourceFileSize_5] => 114204
[SourceFileCreatedDateTime_5] => 2005:01:11 01:52:14
[SourceFileLastModifiedDateTime_5] => 2005:01:11 01:52:14
[FileName_5] => C:\\Documents and Settings\\Some User\\Desktop\\Clients\\someclient.com\\sample_wedding\\weafer\\005.JPG
[Description_6] =>
[Width_6] => 400
[Height_6] => 608
[Angle_6] => 0
[HorizontalResolution_6] => 300
[VerticalResolution_6] => 300
[SourceFileSize_6] => 65395
[SourceFileCreatedDateTime_6] => 2005:01:11 19:50:18
[SourceFileLastModifiedDateTime_6] => 2005:01:11 19:50:18
[FileName_6] => C:\\Documents and Settings\\Some User\\Desktop\\Clients\\someclient.com\\sample_wedding\\weafer\\006.JPG
[Description_7] =>
[Width_7] => 400
[Height_7] => 608
[Angle_7] => 0
[HorizontalResolution_7] => 300
[VerticalResolution_7] => 300
[SourceFileSize_7] => 138494
[SourceFileCreatedDateTime_7] => 2005:01:11 20:02:00
[SourceFileLastModifiedDateTime_7] => 2005:01:11 20:02:00
[FileName_7] => C:\\Documents and Settings\\Some User\\Desktop\\Clients\\someclient.com\\sample_wedding\\weafer\\007.JPG
[Description_8] =>
[Width_8] => 400
[Height_8] => 608
[Angle_8] => 0
[HorizontalResolution_8] => 300
[VerticalResolution_8] => 300
[SourceFileSize_8] => 80029
[SourceFileCreatedDateTime_8] => 2005:01:11 19:50:18
[SourceFileLastModifiedDateTime_8] => 2005:01:11 19:50:18
[FileName_8] => C:\\Documents and Settings\\Some User\\Desktop\\Clients\\someclient.com\\sample_wedding\\weafer\\008.JPG
[Description_9] =>
[Width_9] => 400
[Height_9] => 608
[Angle_9] => 0
[HorizontalResolution_9] => 300
[VerticalResolution_9] => 300
[SourceFileSize_9] => 140210
[SourceFileCreatedDateTime_9] => 2005:01:11 20:02:34
[SourceFileLastModifiedDateTime_9] => 2005:01:11 20:02:34
[FileName_9] => C:\\Documents and Settings\\Some User\\Desktop\\Clients\\someclient.com\\sample_wedding\\weafer\\009.JPG
[PHPSESSID] => da01deebe3e40449ea5088dd8f575897
)
However when we do a 500+ image upload, this is what we get: Code:Array
(
[locale] => en
[PHPSESSID] => 63393105cb10715d9239af447df2f326
[psaContext] => domains
)
Any idea? Is there a way to set a timeout value in the ActiveX/Java applet? Have you seen this error before? Thank you very much! -Kevin Edited by user Monday, December 24, 2007 3:21:47 PM(UTC)
| Reason: Not specified
|
|
|
|
Rank: Advanced Member
Groups: Member, Administration, Moderator Joined: 7/28/2003(UTC) Posts: 1,660
Thanks: 5 times Was thanked: 76 time(s) in 74 post(s)
|
Hello Kevin, Image Uploader supports TimeOut property, however for best scalability I recommend you to use separate upload mode. Also evaluation package includes PHP\UploadingFilesSeparately sample, which shows how to process files in separate upload mode. Edited by user Tuesday, October 28, 2008 11:22:04 PM(UTC)
| Reason: Not specified |
Best regards, Fedor Skvortsov
|
|
|
|
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.