View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0004850 | mantisbt | bugtracker | public | 2004-11-10 05:29 | 2008-08-12 09:35 |
Reporter | schneiderj | Assigned To | grangeway | ||
Priority | normal | Severity | crash | Reproducibility | always |
Status | closed | Resolution | no change required | ||
Product Version | 0.19.1 | ||||
Summary | 0004850: Application error 0000401 pdf-upload doesn't work | ||||
Description | upload of pdf-files doesn't work. i get the application error 0000401. the pdf-files are about 4 MB large. other documents work. | ||||
Tags | No tags attached. | ||||
This sounds like an issue with mySQL setup. I assume that you are saving files to the DATABASE. Is it all large files that fail? If so, you could look at the "max_allowed_packet" parameter in the my.cnf file in your installation. |
|
I just experienced a similar issue on my mantis installation. I had no "max_allowed_packet" configured on my.cnf. Setting it to 16M, according to instructions in the following page, solved the problem: |
|
Are the docs and admin/check.php clear on this? |
|
I had the same problem. My "max_allowed_packet" was configured to 1 MB (/etc/my.cnf). I changed it to the same size as the maximum allowed upload size from PHP. Now it does work! |
|
Maybe it's possible to get the "max_allowed_packet" variable in any way (via a SELECT?) from the mySQL server. I nice idea would be to check this size with the maximum upload size from PHP. If the "max_allowed_packet" value is lower, warn the user/administrator. |
|
SHOW VARIABLES LIKE 'max_allowed_packet'; |
|
Thank you for taking the time to report a problem with mantis. Since this problem report was originally made, a number of releases have occurred. Unfortunately you are not using the latest version and the problem might already be fixed. Please download the latest release from http://www.mantisbt.org/download.php If you are able to reproduce this bug in the current release, or have some more information on how this feature could be improved in the current release. Please either change the mantis version on this bug report Again, thank you for your bug report and your continued support. |
|