Hello,
I use mantis 1.1.6 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
Error 500 when creating a new bug or updating a bug
Moderators: Developer, Contributor