View Issue Details

IDProjectCategoryView StatusLast Update
0010478mantisbtbugtrackerpublic2012-09-04 04:56
Reporterjpp34 Assigned Toatrol  
PrioritynormalSeverityblockReproducibilityalways
Status closedResolutionunable to reproduce 
PlatformApache - PHP 4 
Product Version1.1.7 
Summary0010478: Error 500 when creating a new bug or updating a bug
Description

Hello,

I use mantis 1.1.7 with php4 with apache on host server.

when i submit a bug, or i modify a bug, i have an error 500 : Internal Server Error.

At first glance, the problem is the redirection page, since data are recorded.

I corrected function html_meta_redirect in core / html_api.php in remplacant \t by \n but problem persists

function html_meta_redirect( $p_url, $p_time = null, $p_sanitize = false ) {
if ( ON == config_get( 'stop_on_errors' ) && error_handled() ) {
return false;
}

if ( null === $p_time ) {
$p_time = current_user_get_pref( 'redirect_delay' );
}

if ( $p_sanitize ) {
$t_url = string_sanitize_url( $p_url );
} else {
$t_url = $p_url;
}

echo "\n<meta http-equiv=\"Refresh\" content=\"$p_time;URL=$t_url\" />\n";

return true;

I encounter the problem in the following pages :

bug_report_page.php
bug_update_page.php
bug_update_advanced_page.php

What do I do to not have this error?

thnaks for your help

Steps To Reproduce

Page "bug_report_page.php"

  • click on "report issue"
  • fill the various fields
  • click on "submit a report"

The page "error 500" from the host server appears.

page " bug_update_page.php "

  • Click on View Issue"
  • Select an issue
  • Click on "update Issue"
  • Make the changes necessary
  • Click on "update information"

The page "error 500" from the server appears hébergé

TagsNo tags attached.

Relationships

related to 0009996 closedatrol Error 500 in apache when creating a new bug or updating a bug status / file : bug_update.php 

Activities

atrol

atrol

2012-08-25 12:12

developer   ~0032643

jpp34, this issue is not reproducible with current version of MantisBT.
Feel free to reopen the issue if there are still problems after upgrading.