Just ignore my previous mail. My upload is now working.
What I did is to include in my.ini the "set-variable =
max_allowed_packet=5M" as well and it works fine.
Thanks.
>-----Original Message-----
>From: mantisbt-help-admin lists.sourceforge.net
>[mailto:mantisbt-help-admin lists.sourceforge.net] On
Behalf Of Do, Lan
>Sent: Tuesday, 7 March 2006 12:37 PM
>To: mantisbt-help lists.sourceforge.net
>Subject: RE: [Mantisbt-help] Unable to upload file
larger than 1M
>
>
>Hello,
>
>I've found the upload_max_filesize and post_max_size in
>"php.ini-dist" and the max_allowed_packet in
"C:\Program
>Files\MySQL\MySQL Server 4.1\my-huge.ini",
"C:\Program
>Files\MySQL\MySQL Server 4.1\my-large.ini",
"C:\Program
>Files\MySQL\MySQL Server 4.1\my-medium.ini",
"C:\Program
>Files\MySQL\MySQL Server 4.1\my-small.ini".
I've changed them
>all to 5M, but it did seem to work, still get the
"Application
>Error #401".
>
>If I change the php.ini-dist to php.ini, I have the CGI
>problem and I could not log into Mantis. If I change it
back
>to .ini-dist, Mantis comes back. Please give more help.
>
>Thank you.
>
>
>>-----Original Message-----
>>From: mantisbt-help-admin lists.sourceforge.net
>>[mailto:mantisbt-help-admin lists.sourceforge.net] On
Behalf
>>Of Fetzik, John
>>Sent: Tuesday, 7 March 2006 1:07 AM
>>To: mantisbt-help lists.sourceforge.net
>>Subject: RE: [Mantisbt-help] (no subject)
>>
>>
>>Hello,
>>
>>I don't know if this will solve your problem, but I
have found
>>a total of four settings that effect file uploads.
Make sure
>>they are all set to the value you need.
>>
>>Mantis - $g_max_file_size
>>
>>PHP - upload_max_filesize and post_max_size
>>
>>MySql - max_allowed_packet, when using DATABASE
upload method
>>
>>
>>Also beware of proxy servers between you and Mantis
when
>>uploading files. There is a 'bug' in some versions
of
>>Microsoft ISA server that effects the POST method.
The end
>>result with Mantis being that ISA will timeout
before the
>>upload completes.
>>
>>
>>John S. Fetzik
>>S&C Electric Company
>>jfetzik sandc.com
>>
>>
>>
>>________________________________
>>
>>From: mantisbt-help-admin lists.sourceforge.net
>>[mailto:mantisbt-help-admin lists.sourceforge.net] On
Behalf
>Of Do, Lan
>>Sent: Sunday, March 05, 2006 11:59 PM
>>To: mantisbt-help lists.sourceforge.net
>>Subject: [Mantisbt-help] (no subject)
>>
>>
>>Hello,
>>
>>After upgrading from 1.0.0rc2 to 1.0.0rc5 today, I
cannot
>>upload a .bmp file of 1Mb which is still under the
maximum
>>allowed size. It took ages and then came up with the
>>"Application error #401
>>\0                                                           
>>       
>>                                                             
>>       
>>                                                             
>>       
>>                                                             
>>       
>>                                                             
>>       
>>                                                             
>>       
>>                                                             
>>       
>>                                                             
>>       
>>                                                             
>>       
>>                                                             
>>       
>>                                                             
>>       
>>                                                             
>>       
>>                                                             
>>       
>>                                                             
>>       
>>                                                             
>>       
>>                                                             
>>       
>>                                                             
>>       
>>                                                             
>>       
>>                                                             
>>       
>>                                                             
>>       
>>                                                             
>>       
>>                                                             
>>       
>>                                                             
>>       
>>                                                             
>>       
>>                                                             
>>       
>>                                                             
>>       
>>                                                             
>>       
>>                                                             
>>       
>>                                                             
>>       
>>                                                             
>>       
>>                                            ![]() |