View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
659 | RackTables | default | public | 2012-11-07 12:04 | 2012-11-11 14:06 |
Reporter | lazzurs | Assigned To | infrastation | ||
Priority | normal | Severity | tweak | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Platform | Linux | OS | CentOS | OS Version | 5.8 |
Product Version | 0.19.13 | ||||
Target Version | 0.20.2 | Fixed in Version | 0.20.2 | ||
Summary | 659: File downloads limited to 1Mb | ||||
Description | As documented here[1] PDO has a limit in earlier PHP versions of limiting selects to 1Mb. This causes all file downloads and thumbnail generation to be limited to 1Mb. [1] http://www.php.net/manual/en/pdo.setattribute.php#68413 | ||||
Steps To Reproduce | - Install RackTables on RHEL/CentOS 5 - Upload file > 1Mb - Attempt to download file | ||||
Additional Information | As mentioned in the above link making the change below in pre-init.php will resolve the situation. However I doubt this quick hack is how the maintainers of this project would like this solved in the production release. If you could let me know how you would like this resolved I would be happy to provide a patch. - $dbxlink = new PDO ($pdo_dsn, $db_username, $db_password); + $dbxlink = new PDO ($pdo_dsn, $db_username, $db_password, array(PDO::MYSQL_ATTR_MAX_BUFFER_SIZE=>1024*1024*50)); | ||||
Tags | No tags attached. | ||||
Thanks for the detailed troubleshooting. A fix will be available in the next release (you'd have to set $pdo_bufsize option to the desired buffer size in secret.php). | |
Date Modified | Username | Field | Change |
---|---|---|---|
2012-11-07 12:04 | lazzurs | New Issue | |
2012-11-09 17:13 | infrastation | Assigned To | => infrastation |
2012-11-09 17:13 | infrastation | Status | new => assigned |
2012-11-11 14:06 | infrastation | Note Added: 0000983 | |
2012-11-11 14:06 | infrastation | Status | assigned => closed |
2012-11-11 14:06 | infrastation | Resolution | open => fixed |
2012-11-11 14:06 | infrastation | Fixed in Version | => 0.20.2 |
2012-11-11 14:06 | infrastation | Target Version | => 0.20.2 |