Application Error #500 during file uploads

Get help from other users here.

Moderators: Developer, Contributor

Grend

Application Error #500 during file uploads

Post by Grend »

Whenever a user attempts to upload a file, the following error occurs:

=============================================
APPLICATION ERROR 500

File upload failed. This is likely because the filesize was larger than is currently allowed by this PHP installation.
=============================================

Details of my installation:
Mantis 1.0.0a2
PHP 4.2.2

File Uploads:
File uploads are ENABLED.
File uploads will be stored in the DATABASE.
The following size settings are in effect. Maximum upload size will be whichever of these is SMALLEST.
PHP variable 'upload_max_filesize': 2000000 bytes
PHP variable 'post_max_size': 8000000 bytes
Mantis variable 'max_file_size': 5000000 bytes

Any ideas?
Narcissus
Developer
Posts: 338
Joined: 17 Feb 2005, 09:45

Post by Narcissus »

When storing in the database, I believe that the MySQL setting 'max_allowed_packet' is also a factor.

Is it for any files, or just ones that are over a certain size?
Guest

Post by Guest »

Any file... I've tried ascii and binary files ranging from just a few bytes to several MBs.
Grend

Post by Grend »

FWIW, I tried changing the upload method to DISK, but I'm still experiencing the same application error #500 issue.

Details:

Attempted to upload a 20k .gif file

<config_defaults_inc.php>
$g_allow_file_upload = ON;
$g_file_upload_method = DISK;

<php.ini>
max_execution_time = 30
memory_limit = 8M
davidbaumann
Posts: 5
Joined: 22 Apr 2005, 12:31

Post by davidbaumann »

I don't know very much about the architecture of Mantis but maybe you will need write access to a temp folder?

David
Grend

Post by Grend »

Yeah, that what I thought at first, but I confirmed that the uploads directory permissions are set to:

drwxrwxrwx

So, I'm still baffled as to why Mantis keeps reporting an error 500
Grend

Post by Grend »

BTW, I turned on $g_show_detailed_errors = ON



APPLICATION ERROR #500

File upload failed. This is likely because the filesize was larger than is currently allowed by this PHP installation.

Please use the "Back" button in your web browser to return to the previous page. There you can correct whatever problems were identified in this error or select another action. You can also click an option from the menu bar to go directly to a new section.
Full path: /opt/www/mantis-1.0.0a2/core/file_api.php
Line: 504
Variable Value Type
p_bug_id 75 string
p_tmp_file /tmp/php5aKOMi string
p_file_name Test.doc string
p_file_type application/msword string
p_table bug string
p_error 0 string
p_title string
p_desc string
Grend
Posts: 13
Joined: 01 Jun 2005, 20:36

Post by Grend »

Very interesting... it appears likely that my problem has been addressed and fixed in CVS?

http://www.mantisbt.org/mantis/view.php?id=5492
Grend
Posts: 13
Joined: 01 Jun 2005, 20:36

Post by Grend »

ok, the saga continues. I read the bugnotes posted in the link above and downloaded the following code revisions from CVS:

core/php_api.php -> 1.15
core/file_api.php -> 1.67
proj_doc_update.php -> 1.28

Things are a bit better... I still can't upload files, but at least the error report indicates that I'm making some progress. I'm no longer halting at the initial error check, but I'm now seeing APPLICATION ERROR #504 which seems to indicate that the file being uploaded is null:

APPLICATION ERROR #504

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

Please use the "Back" button in your web browser to return to the previous page. There you can correct whatever problems were identified in this error or select another action. You can also click an option from the menu bar to go directly to a new section.

Full path: /opt/www/mantis-1.0.0a2/core/file_api.php
Line: 563
Variable Value Type
p_bug_id 75 string
p_tmp_file /tmp/php11mviL string
p_file_name installDebug.txt string
p_file_type text/plain string
p_table bug string
p_file_error 0 string
p_title string
p_desc string
t_project_id 23 string
t_bug_id 0000075 string
c_bug_id 75 string
c_project_id 23 string
c_file_type text/plain string
c_title string
c_desc string
t_file_path /infostreet/scratch/mantisfiles/ string
c_file_path /infostreet/scratch/mantisfiles/ string
c_new_file_name installDebug.txt string
t_file_hash 0000075 string
t_disk_file_name /infostreet/scratch/mantisfiles/f8bd6fe853ae979e696236e9e379982a string
c_disk_file_name /infostreet/scratch/mantisfiles/f8bd6fe853ae979e696236e9e379982a string
t_file_size 0 string
Grend
Posts: 13
Joined: 01 Jun 2005, 20:36

Post by Grend »

Victory! It turns out that the file I was trying to upload was indeed empty. I went back and uploaded a real document and everything seems to work properly. I'm a little nervous about using interim code (i.e. not part of a specific stable distribution), but at least my uploads appear to work correctly now.
Grend
Posts: 13
Joined: 01 Jun 2005, 20:36

Post by Grend »

Well, maybe my enthusiasm was a bit premature. It appears that I can now add files to existing bugs, but Mantis throws errors when I try to attach a bug during a new report.
thraxisp
Developer
Posts: 509
Joined: 14 Feb 2005, 03:38
Location: Ottawa, Canada
Contact:

Post by thraxisp »

Could you provide the extended error message for this problem?
Grend
Posts: 13
Joined: 01 Jun 2005, 20:36

Post by Grend »

Do you want the entire report? It's enormous. Here are the basics:

APPLICATION ERROR #6

Full path: /opt/www/mantis-1.0.0a2/bug_report.php
Line: 61

Variable Value Type
TERM xterm string
PATH /sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin string
PWD / string
LANG en_US.UTF-8 string
SHLVL 1 string
_ /sbin/initlog string
m_id 0 string
project_id 23 string
handler_id 0 string
category Bug Fix string
reproducibility 10 string
severity 50 string
priority 30 string
summary test string
description asdcasdcasdcas string
additional_info ascdasdc string
max_file_size 2000000 string
file_name PMD-96S-SA.gif string
file_type image/gif string
file /tmp/phpR6yt6J string
file_size 213338 string
view_state 10 string
MANTIS_VIEW_ALL_COOKIE 6 string
MANTIS_VIEW_SETTINGS 65279 string
MANTIS_PROJECT_COOKIE 23 string
MANTIS_STRING_COOKIE 7e7c2cceb51b03b8ae694e712d2c3d1a69f15031d79e530ac41da64612dcaace string
MANTIS_BUG_LIST_COOKIE 194,148,68,146,191,167,186,172,185,184,183,180,58,168,177,170,166,156,48,52,37,145,51,50,49,47,143,136,137,121,93,53,54,55,56,57,41,42,60,35,34,36 string
UNIQUE_ID muXj6Mydq4wAAHLPK5EAAAAD string
HTTP_HOST mantis.isaw.com string
HTTP_USER_AGENT Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.7) Gecko/20050414 Firefox/1.0.3 string
HTTP_ACCEPT text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5 string
HTTP_ACCEPT_LANGUAGE en-us,en;q=0.5 string
HTTP_ACCEPT_ENCODING gzip,deflate string
HTTP_ACCEPT_CHARSET ISO-8859-1,utf-8;q=0.7,*;q=0.7 string
HTTP_KEEP_ALIVE 300 string
HTTP_CONNECTION keep-alive string
HTTP_REFERER http://mantis.isaw.com/bug_report_page.php string
HTTP_COOKIE MANTIS_VIEW_ALL_COOKIE=6; MANTIS_VIEW_SETTINGS=65279; MANTIS_PROJECT_COOKIE=23; MANTIS_STRING_COOKIE=7e7c2cceb51b03b8ae694e712d2c3d1a69f15031d79e530ac41da64612dcaace; MANTIS_BUG_LIST_COOKIE=194%2C148%2C68%2C146%2C191%2C167%2C186%2C172%2C185%2C184%2C183%2C180%2C58%2C168%2C177%2C170%2C166%2C156%2C48%2C52%2C37%2C145%2C51%2C50%2C49%2C47%2C143%2C136%2C137%2C121%2C93%2C53%2C54%2C55%2C56%2C57%2C41%2C42%2C60%2C35%2C34%2C36 string
CONTENT_TYPE multipart/form-data; boundary=---------------------------41184676334 string
CONTENT_LENGTH 214740 string
SERVER_SIGNATURE <address>Apache/2.0.40 Server at mantis.isaw.com Port 80</address> string
SERVER_SOFTWARE Apache/2.0.40 (Red Hat Linux) string
SERVER_NAME mantis.isaw.com string
SERVER_ADDR 204.157.171.140 string
SERVER_PORT 80 string
REMOTE_HOST adsl-63-198-130-44.dsl.lsan03.pacbell.net string
REMOTE_ADDR 63.198.130.44 string
DOCUMENT_ROOT /infostreet/www/mantis-1.0.0a2 string
SERVER_ADMIN root@localhost string
SCRIPT_FILENAME /infostreet/www/mantis-1.0.0a2/bug_report.php string
REMOTE_PORT 15273 string
GATEWAY_INTERFACE CGI/1.1 string
SERVER_PROTOCOL HTTP/1.1 string
REQUEST_METHOD POST string
QUERY_STRING string
REQUEST_URI /bug_report.php string
SCRIPT_NAME /bug_report.php string
PHP_SELF /bug_report.php string
argc 0 string
t_mantis_offline mantis_offline.php string
g_hostname localhost string
g_db_username http string
g_db_password ********** string
g_database_name Mantis string
g_db_type mysql string
t_protocol http string
t_port string
t_host mantis.isaw.com string
t_path string
g_path http://mantis.isaw.com/ string
g_icon_path http://mantis.isaw.com/images/ string
g_absolute_path /opt/www/mantis-1.0.0a2/ string
g_core_path /opt/www/mantis-1.0.0a2/core/ string
g_manual_url http://manual.mantisbt.org/ string
g_use_iis 0 string
g_allow_signup 0 string
g_max_failed_login_count 0 string
g_notify_new_user_created_threshold_min 90 string
g_send_reset_password ********** string
g_password_confirm_hash_magic_string ********** string
g_signup_use_captcha 1 string
g_system_font_folder c:/winnt/fonts/ string
g_font_per_captcha arial.ttf string
g_lost_password_feature ********** string
g_max_lost_password_in_progress_count ********** string
g_administrator_email scott@waatmedia.com string
g_webmaster_email scott@waatmedia.com string
g_from_email noreply@waatmedia.com.com string
g_return_path_email admin@example.com string
g_enable_email_notification 1 string
g_email_receive_own 0 string
g_validate_email 1 string
g_check_mx_record 0 string
g_allow_blank_email 0 string
g_limit_email_domain 0 string
g_show_user_email_threshold ADMINISTRATOR string
g_mail_priority 3 string
g_phpMailer_method 0 string
g_smtp_host localhost string
g_smtp_username string
g_smtp_password ********** string
g_email_set_category 0 string
g_email_separator1 ====================================================================== string
g_email_separator2 ---------------------------------------------------------------------- string
g_email_padding_length 28 string
g_mantis_version 1.0.0a2 string
g_show_version 1 string
g_default_language english string
g_fallback_language english string
g_window_title Mantis string
g_page_title Mantis string
g_show_report 0 string
g_show_update 0 string
g_show_view 0 string
g_enable_project_documentation 1 string
g_show_footer_menu 0 string
g_show_project_menu_bar 0 string
g_show_assigned_names 1 string
g_show_priority_text 0 string
g_show_bug_project_links 1 string
g_status_legend_position 2 string
g_status_percentage_legend 0 string
g_show_product_version 3 string
g_show_realname 0 string
g_differentiate_duplicates 0 string
g_sort_by_last_name 0 string
g_use_jpgraph 0 string
g_jpgraph_path ./jpgraph/ string
g_graph_font string
g_graph_window_width 800 string
g_graph_bar_aspect 0.9 string
g_graph_summary_graphs_per_row 2 string
g_cookie_time_length 30000000 string
g_wait_time 2 string
g_content_expire 0 string
g_long_process_timeout 0 string
g_short_date_format m-d-y string
g_normal_date_format m-d-y H:i string
g_complete_date_format m-d-Y H:i T string
g_news_limit_method 0 string
g_news_view_limit 7 string
g_news_view_limit_days 30 string
g_private_news_threshold 55 string
g_default_new_account_access_level 25 string
g_default_bug_view_status 10 string
g_default_bugnote_view_status 50 string
g_default_bug_severity 50 string
g_default_bug_priority 30 string
g_default_limit_view 50 string
g_default_show_changed 6 string
g_hide_status_default 90 string
g_show_sticky_issues on string
g_min_refresh_delay 10 string
g_default_advanced_report 0 string
g_default_advanced_view 0 string
g_default_advanced_update 0 string
g_default_refresh_delay 30 string
g_default_redirect_delay 2 string
g_default_bugnote_order ASC string
g_default_email_on_new 1 string
g_default_email_on_assigned 1 string
g_default_email_on_feedback 1 string
g_default_email_on_resolved 1 string
g_default_email_on_closed 1 string
g_default_email_on_reopened 1 string
g_default_email_on_bugnote 1 string
g_default_email_on_status 0 string
g_default_email_on_priority 0 string
g_default_email_on_new_minimum_severity 0 string
g_default_email_on_assigned_minimum_severity 0 string
g_default_email_on_feedback_minimum_severity 0 string
g_default_email_on_resolved_minimum_severity 0 string
g_default_email_on_closed_minimum_severity 0 string
g_default_email_on_reopened_minimum_severity 0 string
g_default_email_on_bugnote_minimum_severity 0 string
g_default_email_on_status_minimum_severity 0 string
g_default_email_on_priority_minimum_severity 0 string
g_default_email_bugnote_limit 0 string
g_reporter_summary_limit 10 string
g_summary_category_include_project 0 string
g_view_summary_threshold 70 string
g_bugnote_order DESC string
g_history_default_visible 1 string
g_history_order ASC string
g_store_reminders 1 string
g_reminder_recipents_monitor_bug 1 string
g_default_reminder_view_status 10 string
g_enable_sponsorship 0 string
g_sponsorship_currency US$ string
g_view_sponsorship_total_threshold 10 string
g_view_sponsorship_details_threshold 10 string
g_sponsor_threshold 25 string
g_handle_sponsored_bugs_threshold 55 string
g_assign_sponsored_bugs_threshold 70 string
g_minimum_sponsorship_amount 5 string
g_allow_file_upload 1 string
g_file_upload_method 1 string
g_file_upload_ftp_server no.ftp_yet.com string
g_file_upload_ftp_user readwriteuser string
g_file_upload_ftp_pass readwritepass string
g_max_file_size 5000000 string
g_allowed_files string
g_disallowed_files string
g_document_files_prefix doc string
g_absolute_path_default_upload_folder /infostreet/scratch/mantisfiles/ string
g_html_make_links 1 string
g_html_valid_tags p, li, ul, ol, br, pre, i, b, u string
g_max_dropdown_length 40 string
g_hr_size 1 string
g_hr_width 50 string
g_ldap_server ldaps://ldap.example.com.au/ string
g_ldap_port 636 string
g_ldap_root_dn dc=example,dc=com,dc=au string
g_ldap_organization string
g_ldap_uid_field uid string
g_ldap_bind_dn string
g_ldap_bind_passwd string
g_use_ldap_email 0 string
g_bug_submit_status 10 string
g_bug_assigned_status 50 string
g_bug_reopen_status 20 string
g_bug_reopen_resolution 30 string
g_bug_readonly_status_threshold 80 string
g_bug_resolved_status_threshold 80 string
g_auto_set_status_to_assigned 1 string
g_preview_attachments_inline_max_size 0 string
g_show_attachment_indicator 0 string
g_view_attachments_threshold 10 string
g_download_attachments_threshold 10 string
g_delete_attachments_threshold 55 string
g_allow_view_own_attachments 1 string
g_allow_download_own_attachments 1 string
g_allow_delete_own_attachments 0 string
g_report_bug_threshold 25 string
g_update_bug_threshold 40 string
g_monitor_bug_threshold 25 string
g_private_bug_threshold 55 string
g_handle_bug_threshold 55 string
g_update_bug_assign_threshold %handle_bug_threshold% string
g_private_bugnote_threshold 55 string
g_view_handler_threshold 10 string
g_view_history_threshold 10 string
g_bug_reminder_threshold 25 string
g_upload_project_file_threshold 70 string
g_upload_bug_file_threshold 25 string
g_add_bugnote_threshold 25 string
g_update_bugnote_threshold 55 string
g_add_profile_threshold 25 string
g_view_proj_doc_threshold 0 string
g_manage_project_threshold 70 string
g_manage_news_threshold 70 string
g_delete_project_threshold 90 string
g_create_project_threshold 90 string
g_private_project_threshold 90 string
g_project_user_threshold 70 string
g_manage_user_threshold 90 string
g_delete_bug_threshold 55 string
g_delete_bugnote_threshold %delete_bug_threshold% string
g_bugnote_allow_user_edit_delete 1 string
g_move_bug_threshold 55 string
g_set_view_status_threshold 25 string
g_change_view_status_threshold 40 string
g_show_monitor_list_threshold 55 string
g_stored_query_use_threshold 25 string
g_stored_query_create_threshold 55 string
g_stored_query_create_shared_threshold 70 string
g_update_readonly_bug_threshold 70 string
g_manage_global_profile_threshold 70 string
g_view_changelog_threshold 10 string
g_update_bug_status_threshold 55 string
g_reopen_bug_threshold 55 string
g_set_bug_sticky_threshold 70 string
g_login_method 3 string
g_limit_reporters 0 string
g_allow_close_immediately 0 string
g_allow_reporter_close 1 string
g_allow_reporter_reopen 1 string
g_allow_reporter_upload 1 string
g_allow_account_delete 0 string
g_allow_anonymous_login 0 string
g_anonymous_account string
g_cvs_web string
g_source_control_notes_view_status 50 string
g_source_control_account string
g_source_control_set_status_to 0 string
g_source_control_regexp /\bissue [#]{0,1}(\d+)\b/i string
g_bug_link_tag # string
g_bugnote_link_tag ~ string
g_bug_count_hyperlink_prefix view_all_set.php?type=1&temporary=y string
g_show_queries_count 1 string
g_user_login_valid_regex /^[\w \-]+$/ string
g_default_manage_user_prefix ALL string
g_csv_separator , string
g_view_configuration_threshold 55 string
g_display_project_padding 3 string
g_display_bug_padding 7 string
g_display_bugnote_padding 7 string
g_cookie_path / string
g_cookie_domain string
g_cookie_version v6 string
g_cookie_prefix MANTIS string
g_string_cookie %cookie_prefix%_STRING_COOKIE string
g_project_cookie %cookie_prefix%_PROJECT_COOKIE string
g_view_all_cookie %cookie_prefix%_VIEW_ALL_COOKIE string
g_manage_cookie %cookie_prefix%_MANAGE_COOKIE string
g_logout_cookie %cookie_prefix%_LOGOUT_COOKIE string
g_bug_list_cookie %cookie_prefix%_BUG_LIST_COOKIE string
g_filter_by_custom_fields 1 string
g_filter_custom_fields_per_row 7 string
g_view_filters 3 string
g_dhtml_filters 0 string
g_db_table_prefix mantis string
g_db_table_suffix _table string
g_mantis_bug_file_table %db_table_prefix%_bug_file%db_table_suffix% string
g_mantis_bug_history_table %db_table_prefix%_bug_history%db_table_suffix% string
g_mantis_bug_monitor_table %db_table_prefix%_bug_monitor%db_table_suffix% string
g_mantis_bug_relationship_table %db_table_prefix%_bug_relationship%db_table_suffix% string
g_mantis_bug_table %db_table_prefix%_bug%db_table_suffix% string
g_mantis_bug_text_table %db_table_prefix%_bug_text%db_table_suffix% string
g_mantis_bugnote_table %db_table_prefix%_bugnote%db_table_suffix% string
g_mantis_bugnote_text_table %db_table_prefix%_bugnote_text%db_table_suffix% string
g_mantis_news_table %db_table_prefix%_news%db_table_suffix% string
g_mantis_project_category_table %db_table_prefix%_project_category%db_table_suffix% string
g_mantis_project_file_table %db_table_prefix%_project_file%db_table_suffix% string
g_mantis_project_table %db_table_prefix%_project%db_table_suffix% string
g_mantis_project_user_list_table %db_table_prefix%_project_user_list%db_table_suffix% string
g_mantis_project_version_table %db_table_prefix%_project_version%db_table_suffix% string
g_mantis_user_table %db_table_prefix%_user%db_table_suffix% string
g_mantis_user_profile_table %db_table_prefix%_user_profile%db_table_suffix% string
g_mantis_user_pref_table %db_table_prefix%_user_pref%db_table_suffix% string
g_mantis_user_print_pref_table %db_table_prefix%_user_print_pref%db_table_suffix% string
g_mantis_custom_field_project_table %db_table_prefix%_custom_field_project%db_table_suffix% string
g_mantis_custom_field_table %db_table_prefix%_custom_field%db_table_suffix% string
g_mantis_custom_field_string_table %db_table_prefix%_custom_field_string%db_table_suffix% string
g_mantis_upgrade_table %db_table_prefix%_upgrade%db_table_suffix% string
g_mantis_filters_table %db_table_prefix%_filters%db_table_suffix% string
g_mantis_sponsorship_table %db_table_prefix%_sponsorship%db_table_suffix% string
g_mantis_tokens_table %db_table_prefix%_tokens%db_table_suffix% string
g_mantis_project_hierarchy_table %db_table_prefix%_project_hierarchy%db_table_suffix% string
g_mantis_config_table %db_table_prefix%_config%db_table_suffix% string
g_access_levels_enum_string 10:viewer,25:reporter,40:updater,55:developer,70:manager,90:administrator string
g_project_status_enum_string 10:development,30:release,50:stable,70:obsolete string
g_project_view_state_enum_string 10:public,50:private string
g_view_state_enum_string 10:public,50:private string
g_priority_enum_string 10:none,20:low,30:normal,40:high,50:urgent,60:immediate string
g_severity_enum_string 10:feature,20:trivial,30:text,40:tweak,50:minor,60:major,70:crash,80:block string
g_reproducibility_enum_string 10:always,30:sometimes,50:random,70:have not tried,90:unable to duplicate,100:N/A string
g_status_enum_string 10:new,20:feedback,30:acknowledged,40:confirmed,50:assigned,80:resolved,90:closed string
g_resolution_enum_string 10:open,20:fixed,30:reopened,40:unable to duplicate,50:not fixable,60:duplicate,70:not a bug,80:suspended,90:wont fix string
g_projection_enum_string 10:none,30:tweak,50:minor fix,70:major rework,90:redesign string
g_eta_enum_string 10:none,20:< 1 day,30:2-3 days,40:< 1 week,50:< 1 month,60:> 1 month string
g_custom_field_type_enum_string 0:string,1:numeric,2:float,3:enum,4:email,5:checkbox,6:list,7:multiselection list,8:date string
g_use_javascript 1 string
g_compress_html 1 string
g_use_persistent_connections 0 string
g_bottom_include_page /opt/www/mantis-1.0.0a2/ string
g_top_include_page /opt/www/mantis-1.0.0a2/ string
g_css_include_file http://mantis.isaw.com/css/default.css string
g_meta_include_file /opt/www/mantis-1.0.0a2/meta_inc.php string
g_logout_redirect_page http://mantis.isaw.com/login_page.php string
g_show_timer 0 string
g_debug_timer 0 string
g_debug_email 0 string
g_show_queries_list 0 string
g_show_detailed_errors 1 string
g_show_notices 0 string
g_show_warnings 1 string
g_stop_on_errors 0 string
g_manage_custom_fields_threshold 90 string
g_custom_field_link_threshold 70 string
g_custom_field_edit_after_create 1 string
g_my_view_bug_count 10 string
g_my_view_boxes_fixed_position 1 string
g_default_home_page my_view_page.php string
g_enable_relationship 1 string
g_relationship_graph_enable 0 string
g_relationship_graph_fontname Arial string
g_relationship_graph_fontsize 8 string
g_relationship_graph_orientation horizontal string
g_relationship_graph_max_depth 2 string
g_relationship_graph_view_on_click 0 string
g_dot_tool /usr/bin/dot string
g_neato_tool /usr/bin/neato string
g_forward_year_count 4 string
t_local_config string
t_core_path /opt/www/mantis-1.0.0a2/core/ string
g_compression_started string
g_active_language english string
g_script_login_cookie string
g_cache_anonymous_user_cookie_string string
g_cache_current_user_id 2 string
t_core_dir /opt/www/mantis-1.0.0a2/core/ string
g_current_collapse_section string
g_open_collapse_section string
g_phpMailer_smtp string
g_cache_project_all string
g_rss_feed_url string
g_error_send_page_header string
g_error_handled string
g_error_proceed_url string
t_overrides /opt/www/mantis-1.0.0a2/custom_functions_inc.php string
sec 1117853784 string
usec 0.67504200 string
ADODB_vers V4.60 24 Jan 2005 (c) 2000-2005 John Lim (jlim#natsoft.com.my). All rights reserved. Released BSD & LGPL. string
ADODB_COUNTRECS 1 string
ADODB_CACHE_DIR /tmp string
ADODB_EXTENSION 0 string
ADODB_COMPAT_FETCH string
ADODB_FETCH_MODE 0 string
_adodb_ver 4.2 string
ADODB_FORCE_TYPE 3 string
g_db_connected 1 string
ADODB_NEWCONNECTION string
ADODB_LASTDB mysql string
g_bypass_headers string
f_report_stay string
t_upload_method 1 string
t_file_path string
thraxisp
Developer
Posts: 509
Joined: 14 Feb 2005, 03:38
Location: Ottawa, Canada
Contact:

Post by thraxisp »

This error arises because the upload path (in the project definition) either doesn't exist or is not writable.
Grend
Posts: 13
Joined: 01 Jun 2005, 20:36

Post by Grend »

Is that possible? The upload path as defined by:

g_absolute_path_default_upload_folder

Appears to work fine if you're uploading a file from within an existing bug report. The only time it doesn't work is if you're trying during a new bug report. I confirmed that the path exists and is writable by the web server, plus it's where the uploaded files reside right now.
Post Reply