View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0008867 | mantisbt | scripting | public | 2008-02-08 10:11 | 2008-08-12 09:35 |
| Reporter | laetitia | Assigned To | ryandesign | ||
| Priority | normal | Severity | major | Reproducibility | always |
| Status | closed | Resolution | no change required | ||
| Summary | 0008867: APPLICATION ERROR 0000401 while uploading files into MySQL | ||||
| Description | If there is a file greater than 960Ko, I can not upload sucessfully into MySQL Server. I have the message APPLICATION ERROR 0000401 | ||||
| Additional Information | I try this : In Mantis configuration file: config_defaults_inc.php or config_inc.php In the PHP configuration file : /etc/php.ini In the php Apache module : /etc/httpd/conf.d/php.conf The variable is LimitRequestBody (default to 512kB) If the update method is DATABASE, MySQL can also limit the file size | ||||
| Tags | No tags attached. | ||||
| related to | 0006063 | closed | grangeway | APPLICATION ERROR 0000401 on MSSQL while uploading files |
| has duplicate | 0008893 | closed | giallu | (very) big attachment crashes attachment saving into database |
| has duplicate | 0005193 | closed | giallu | Attaching a ZIP file causes an application error. |
| has duplicate | 0007401 | closed | giallu | 0000401 application error when you attached a DOC file. |
| has duplicate | 0009360 | closed | giallu | Can't upload more than 1,000 kb |
| has duplicate | 0008812 | closed | giallu | Application Error 401 on file upload |
| has duplicate | 0012832 | closed | atrol | size of the attachments |
| has duplicate | 0006318 | closed | dregad | APPLICATION ERROR 0000401 when uploading a file. |
|
Mantis version : Mantis 1.1.0rc3 |
|
|
By default, a MySQL server will reject packets over 1 MB in size. If you want to allow larger packets, you need to set max_allowed_packet to a larger value. See: http://dev.mysql.com/doc/refman/5.0/en/packet-too-large.html |
|
|
I've done what was indicated in the link. It still does'nt work. config_inc.php (mantis) php.ini (php) my.cnf (mysql) [mysqldump] httpd.conf (apache) : (et pas dans php.conf, car php est compilé en dur, pas en module d'apache) |
|
|
There is nothing about the problem in the apache and mysql logs. |
|
|
It's OK, i was reloading the mysql conf file but mysql must be restarted, otherwise the update didn't work and the default value (1Mo) is newly set. |
|
|
Ok, great! I'm glad that worked for you. |
|