MantisBT

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0004568ATutorExport Contentpublic2010-10-05 08:012010-12-20 10:20
Reportercindy 
Assigned Tocindy 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version2.0.1 
Target VersionFixed in Version2.0.1 
Summary0004568: Cannot download big backup
DescriptionIt fails on big file because the download reads the whole file at a time which hits the php memory limitation. Reading the file in chunks would fix the problem.
TagsNo tags attached.
Affects versionSVN
SVN Revision#
Attached Files

- Relationships

-  Notes
(0004688)
cindy (administrator)
2010-10-05 08:05

SVN revision: 10290

Solution:
1. Added function readfile_in_chunks() into mods/_core/file_manager/filemanager.inc.php,
2. changed zip file download to use this function.

Affected scripts:
include/classes/zipfile.class.php
mods/_core/file_manager.inc.php
mods/_core/backups/classes/Backup.class.php

- Issue History
Date Modified Username Field Change
2010-10-05 08:01 cindy New Issue
2010-10-05 08:01 cindy Affects version => SVN
2010-10-05 08:05 cindy Status new => resolved
2010-10-05 08:05 cindy Fixed in Version => 2.0.1
2010-10-05 08:05 cindy Resolution open => fixed
2010-10-05 08:05 cindy Assigned To => cindy
2010-10-05 08:05 cindy Note Added: 0004688
2010-12-20 10:20 greg Status resolved => closed


Copyright © 2000 - 2017 MantisBT Team
Powered by Mantis Bugtracker