Piwigo Bugtracker

Piwigo bug tracker has moved to Github

This bugtracker is kept to provide history on old issues.

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000941Piwigoweb APIpublic2009.03.13 00:062009.03.13 00:20
Assigned Toplg 
PrioritynormalSeverityminorReproducibilityhave not tried
PlatformOSOS Version
Product Version 
Target Version2.0.1Fixed in Version2.0.1 
Summary0000941: [pwg.images.add] heavy photo upload fails
Descriptionrelated to bug:939 in pLoader, but not specific to pLoader (tools/piwigo-remote.pl encounters the same issue), uploading an heavy file sometimes fails, the maximum weight depending from post_max_size in the php.ini files and some other settings that I don't even know where to change.
TagsNo tags attached.
Database engine and version
PHP version
Web serverApache 1.3.x
Attached Files

- Relationships
related to 0000939closedrosman pLoader upload fails on heavy photos 

-  Notes
plg (manager)
2009.03.13 00:19

Fixed on 2.0 in [Subversion] r3192
Merged on trunk in [Subversion] r3193

The solution I've implemented was to chunk the file on client side and merge chunks on server side. It nows runs well. The speed depends on the chunk individual size. For my 4.5MB photo (+web size and thumbnail), it takes:

chunk size; duration
100KB; 87s
200KB; 76s
500KB; 71s
1000KB; 69s
2000KB; 69s

The advantage of a small chunk size is that you can display a fine progress bar on client side.

- Issue History
Date Modified Username Field Change
2009.03.13 00:06 plg New Issue
2009.03.13 00:06 plg Status new => assigned
2009.03.13 00:06 plg Assigned To => plg
2009.03.13 00:06 plg browser => any
2009.03.13 00:06 plg Web server => Apache 1.3.x
2009.03.13 00:19 plg Note Added: 0002524
2009.03.13 00:20 plg Relationship added related to 0000939
2009.03.13 00:20 plg Status assigned => closed
2009.03.13 00:20 plg Resolution open => fixed
2009.03.13 00:20 plg Fixed in Version => 2.0.1

Copyright © 2000 - 2018 MantisBT Team
Powered by Mantis Bugtracker