Page 1 of 1

Error 500 when creating a new bug or updating a bug

Posted: 28 Apr 2009, 15:39
by jpp34
Hello,

I use mantis with php4 with apache.

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;


What do I do to not have this error?

thnaks for your help