Cannot upload .ko type files

Get help from other users here.

Moderators: Developer, Contributor

Post Reply
modest
Posts: 46
Joined: 11 Apr 2011, 18:27

Cannot upload .ko type files

Post 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?
lordmax

Re: Cannot upload .ko type files

Post by lordmax »

It seems to need some external api.
Had you verified .ko extension is registered on apache?
modest
Posts: 46
Joined: 11 Apr 2011, 18:27

Re: Cannot upload .ko type files

Post 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?
monn
Posts: 17
Joined: 16 Feb 2011, 03:20

Re: Cannot upload .ko type files

Post 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?
modest
Posts: 46
Joined: 11 Apr 2011, 18:27

Re: Cannot upload .ko type files

Post 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.
lordmax

Re: Cannot upload .ko type files

Post by lordmax »

Can you make a simple php page outside mantis to try upload a file?
So you can "eliminate" the server problem.
monn
Posts: 17
Joined: 16 Feb 2011, 03:20

Re: Cannot upload .ko type files

Post 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.
modest
Posts: 46
Joined: 11 Apr 2011, 18:27

Re: Cannot upload .ko type files

Post 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.
monn
Posts: 17
Joined: 16 Feb 2011, 03:20

Re: Cannot upload .ko type files

Post 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.
Post Reply