APPLICATION ERROR #500 -> APPLICATION ERROR #0

Get help from other users here.

Moderators: Developer, Contributor

Post Reply
hubschraubaer
Posts: 2
Joined: 26 Jun 2005, 15:05

APPLICATION ERROR #500 -> APPLICATION ERROR #0

Post by hubschraubaer »

Hi,

after upgrading from 0.19.2 I've seen an APPLICATION ERROR #500 when trying to upload files. Then got the updated files from CVS (see http://www.mantisbt.org/mantis/view.php?id=5492). Now I'm getting an APPLICATION ERROR #0.

Full path: /data/htdocs/bugtracker/core/file_api.php
Line: 589
Variable Value Type
p_bug_id 1879 string
p_tmp_file /tmp/phpj6JU2j string
p_file_name filter.sh string
p_file_type application/x-sh string
p_table bug string
p_file_error 0 string
p_title string
p_desc string
t_project_id 2 string
t_bug_id 0001879 string
c_bug_id 1879 string
c_project_id 2 string
c_file_type application/x-sh string
c_title string
c_desc string
t_file_path string
c_file_path string
c_new_file_name filter.sh string
t_file_hash 0001879 string
t_disk_file_name afee24abce71ac47b0221f436e58c593 string
c_disk_file_name afee24abce71ac47b0221f436e58c593 string
t_file_size 1129 string
t_max_file_size 5000000 string
c_file_size 1129 string
t_method DATABASE string

PHP 4.2.0, MySQL 3.23.44, Apache 1.3.20
config_inc.php:
$g_allow_file_upload = ON;
$g_file_upload_method = "DATABASE"
php.ini:
file_uploads = On
upload_max_filesize = 8M
my.cnf:
set-variable = max_allowed_packet=16M

ran out of ideas...

greetings,
Dirk
thraxisp
Developer
Posts: 509
Joined: 14 Feb 2005, 03:38
Location: Ottawa, Canada
Contact:

Post by thraxisp »

$g_file_upload_method = "DATABASE";

should be

$g_file_upload_method = DATABASE;

These are predefined constants.
hubschraubaer
Posts: 2
Joined: 26 Jun 2005, 15:05

Thanks !!!

Post by hubschraubaer »

...seems it was to hot that day :)

regards,

Dirk
Post Reply