Your message dated Wed, 13 Jul 2011 20:10:59 +0200
with message-id <[email protected]>
and subject line Re: mantis: Cannot upload .ko files -- APPLICATION ERROR #504
has caused the Debian Bug report #633787,
regarding mantis: Cannot upload .ko files -- APPLICATION ERROR #504
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
633787: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=633787
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: mantis
Version: 1.2.4-1
Severity: normal

When I try to upload a file with .ko extension, say for example, pata_rdc.ko,
on an existing mantis issue, I get the following error message:
*******************************************
APPLICATION ERROR #504

No file was uploaded. Please go back and Choose a file before pressing Upload.
*******************************************

I have not modified any default settings related to file upload. Also, I can
upload files with extension .zip, .txt, etc. without any problems, so doesn't
seem like a permission issue.

I turned on $g_show_detailed_errors=ON and I get the following output:
https://picasaweb.google.com/lh/photo/pz25p4bAecveWdgj-
uPyJEJ50yjyYV84vHr415LdNsM?feat=directlink



-- System Information:
Debian Release: 6.0.2
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'unstable'), (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-5-686 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages mantis depends on:
ii  apache2                2.2.16-6+squeeze1 Apache HTTP Server metapackage
ii  apache2-mpm-prefork [h 2.2.16-6+squeeze1 Apache HTTP Server - traditional n
ii  apache2-utils          2.2.16-6+squeeze1 utility programs for webservers
ii  debconf [debconf-2.0]  1.5.36.1          Debian configuration management sy
ii  libapache2-mod-php5    5.3.3-7+squeeze3  server-side, HTML-embedded scripti
ii  libjs-prototype        1.6.1-1           JavaScript Framework for dynamic w
ii  libjs-scriptaculous    1.8.3-1           JavaScript library for dynamic web
ii  libnusoap-php          0.7.3-4           SOAP toolkit for PHP
ii  libphp-adodb           5.10-1            The ADOdb database abstraction lay
ii  libphp-phpmailer       5.1-1             full featured email transfer class
ii  php5-cli               5.3.3-7+squeeze3  command-line interpreter for the p
ii  ucf                    3.0025+nmu1       Update Configuration File: preserv

Versions of packages mantis recommends:
ii  mysql-client-5.1 [mysql 5.1.49-3         MySQL database client binaries
ii  php5-mysql              5.3.3-7+squeeze3 MySQL module for php5

Versions of packages mantis suggests:
ii  mysql-server            5.1.49-3         MySQL database server (metapackage
ii  mysql-server-5.1 [mysql 5.1.49-3         MySQL database server binaries and
ii  php5-cli                5.3.3-7+squeeze3 command-line interpreter for the p

-- Configuration Files:
/etc/mantis/apache.conf changed [not included]
/etc/mantis/config_local.php changed [not included]

-- debconf information excluded



--- End Message ---
--- Begin Message ---
Hi Kushal,

Thanks for your extended report, it was a good idea to activated the
debug options (very helpful).

This is a PHP error (Error=8), and is not a bug, it's a default feature
to prevent to upload some kind of files. [1]

UPLOAD_ERR_EXTENSION
Value: 8; A PHP extension stopped the file upload. PHP does not provide
a way to ascertain which extension caused the file upload to stop;
examining the list of loaded extensions with phpinfo() may help.
Introduced in PHP 5.2.0.


FYI: if you want (you can) to configure some different extensions for
upload in Mantis application, take a look to the manual documentation.[2][3]


Thanks for your time.

Best regards,

Sils


[1] http://php.net/manual/en/features.file-upload.errors.php
[2] http://manual.mantisbt.org/manual.configuration.file.upload.php
[3] /usr/share/doc/mantis/adminguide/administration_guide.txt.gz

Attachment: signature.asc
Description: OpenPGP digital signature


--- End Message ---

Reply via email to