Get help from other users here.
Moderators: Developer , Contributor
modest
Posts: 46 Joined: 11 Apr 2011, 18:27
Post
by modest » 13 Jul 2011, 22:31
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
Post
by lordmax » 14 Jul 2011, 12:29
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
Post
by modest » 14 Jul 2011, 15:14
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
Post
by monn » 15 Jul 2011, 02:17
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
Post
by modest » 15 Jul 2011, 17:37
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
Post
by lordmax » 18 Jul 2011, 07:02
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
Post
by monn » 19 Jul 2011, 07:08
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
Post
by modest » 19 Jul 2011, 17:16
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
Post
by monn » 20 Jul 2011, 08:29
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.