View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0005193 | mantisbt | bugtracker | public | 2005-02-01 22:17 | 2008-07-24 16:51 |
Reporter | Matt_wc | Assigned To | giallu | ||
Priority | normal | Severity | major | Reproducibility | always |
Status | closed | Resolution | duplicate | ||
Product Version | 0.19.2 | ||||
Summary | 0005193: Attaching a ZIP file causes an application error. | ||||
Description | When trying to attach zip files, I get an application error (see screen shot). All other file types (and sizes) work fine. I have tried to name the zip file different things, and upload different zip files. All of which produce the error. Renaming the extention - Giving the file a different ext (i.e. XYZ.zip > XYZ._zip ) doesn't fix the problem. | ||||
Tags | No tags attached. | ||||
duplicate of | 0008867 | closed | ryandesign | APPLICATION ERROR 0000401 while uploading files into MySQL |
related to | 0005369 | closed | thraxisp | application error #15 with uploading bmp file bigger than 1mb |
I have a screen shot (PNG file) but get an error here (bugs.mantisbt.org) when trying to upload the file. Please advise. |
|
Could you add the text of the errors to the report? |
|
I'll do one better. I posted a screen shot of the error: I am running:
I used apache2triad to load up all the goodies. My config_inc.php file includes: My php.ini file includes: ;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;; The MySql config file (my.ini) file includes: [mysqldump] [isamchk] [myisamchk] [mysqlhotcopy] The MySQL server[mysqld] Not sure if all this extra info will help - but thought it couldn't hurt much either. |
|
The link messed up in the post, be sure to go directly to the file as it is not linked from anywhere. |
|
I got the screen shot, but the error message is off to the right (centered on the screen). |
|
Ah, sorry about that. The error reads: Database query failed. Error received from database was 0002006: MySQL server has gone away for the query: INSERT INTO mantis_bug_file_table With the data you see on the screen shot following the 'VALUES' Found this help page, http://dev.mysql.com/doc/mysql/en/gone-away.html but I am not sure that setting wait_timeout variable will address this, as other attachments work. Here are a few that caught my eye under the ' Some other common reasons for the MySQL server has gone away error':
|
|
How big is the .zip file? |
|
1.1 Meg. What's weird, I can attach all other kinds of files. Word Docs, data files, text files, etc... there are some up to 3-4 meg... I tried to upload a very small zip file (ziped up a <1k txt file) but that failed as well - same error. I'll keep digging as well - see what I come up with. |
|
Changed the settings in my.ini: set-variable = max_allowed_packet=1M to set-variable = max_allowed_packet=2M and now it works... Will do more testing to see what's going on... |
|
I think this is a duplicate of 0008867 Feel free to reopen if that is not the case. |
|