Page 1 of 1
Cannot upload .ko type files
Posted: 13 Jul 2011, 22:31
by modest
I am using Mantis 1.2.4. I am not able to upload files of type .ko. I get the following error message:
Code: Select all
APPLICATION ERROR #504
No file was uploaded. Please go back and Choose a file before pressing Upload.
and after turning on the $g_show_detailed_errors=ON I get the following screen:
http://tinyurl.com/6cxcm8d
which says PHP Error 8.
I can upload other files (like .txt, .zip, .png, etc.) just fine. Where should I look into? PHP? Apache?
Re: Cannot upload .ko type files
Posted: 14 Jul 2011, 12:29
by lordmax
It seems to need some external api.
Had you verified .ko extension is registered on apache?
Re: Cannot upload .ko type files
Posted: 14 Jul 2011, 15:14
by modest
lordmax wrote:It seems to need some external api.
Had you verified .ko extension is registered on apache?
How do I verify that?
Re: Cannot upload .ko type files
Posted: 15 Jul 2011, 02:17
by monn
I can upload .KO extension with $g_show_detailed_errors=ON.
But my mantis version is 1.2.5, are you sure that's the only thing you change is mantis?
Did you made any customization in file_api or etc?
Re: Cannot upload .ko type files
Posted: 15 Jul 2011, 17:37
by modest
monn wrote:Did you made any customization in file_api or etc?
This is a fresh installation on Mantis 1.2.4. I did not do any customizations.
Re: Cannot upload .ko type files
Posted: 18 Jul 2011, 07:02
by lordmax
Can you make a simple php page outside mantis to try upload a file?
So you can "eliminate" the server problem.
Re: Cannot upload .ko type files
Posted: 19 Jul 2011, 07:08
by monn
I'm not really sure but I think the issue here is the file size.
You uploaded a file where size is 0.
Re: Cannot upload .ko type files
Posted: 19 Jul 2011, 17:16
by modest
monn wrote:I'm not really sure but I think the issue here is the file size.
You uploaded a file where size is 0.
Initially, I thought the same thing, but the size of the file is not zero. In fact the size is 8.89KB.
Re: Cannot upload .ko type files
Posted: 20 Jul 2011, 08:29
by monn
modest wrote:Initially, I thought the same thing, but the size of the file is not zero. In fact the size is 8.89KB.
base from the error screenshot you provided, the image size is zero.
And using file size 0 in any type, I can reproduce the error message - which is right approached by mantis.
I believe this is not a code issue, 1.2.4 and 1.2.5 attachment function is working fine in me.
Try checking your machine setup, browser, browser-adons(that might block files), firewall or antivirus and web server for blocking file.
see -
http://www.rainingpackets.com/blocking- ... apache-22/
http://www.webmasterworld.com/forum92/986.htm
Hope this help.