Page 1 of 1

Error 500 when creating a new bug or updating a bug

Posted: 28 Apr 2009, 15:41
by jpp34
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

Re: Error 500 when creating a new bug or updating a bug

Posted: 29 Apr 2009, 21:01
by jpp34
Nobody can help me? :cry: :cry:

Re: Error 500 when creating a new bug or updating a bug

Posted: 30 Apr 2009, 06:37
by deboutv
Take a look in the webserver logfile.

Re: Error 500 when creating a new bug or updating a bug

Posted: 05 May 2009, 07:31
by jpp34
Hello,

Wherre can I find it in mantis?

Thnaks for your help

Re: Error 500 when creating a new bug or updating a bug

Posted: 05 May 2009, 10:59
by jpp34
I encounter the problem in the following pages :

bug_report_page.php
bug_update_page.php

there is nothing else in webserver logfile

Re: Error 500 when creating a new bug or updating a bug

Posted: 05 May 2009, 11:03
by jpp34
the problem appears when mantis is running on my hosted server, but it 'does not appear when it's running on localhost.

Re: Error 500 when creating a new bug or updating a bug

Posted: 05 May 2009, 11:31
by jpp34
the problem still appears in the page bug_update_advanced_page.php

In this page, with Internet explorer 7, the error 500 appears and with firefox 3, the page freeze.

Re: Error 500 when creating a new bug or updating a bug

Posted: 07 May 2009, 14:34
by jpp34
Ultimately, this error appears in all pages related to bugs.

In bug_report_page and bug_report_advanced_page, it is systematic, whereas in others it is random.

What do I do to finally find a solution?

Thnaks for your help.

Re: Error 500 when creating a new bug or updating a bug

Posted: 13 May 2009, 14:22
by jpp34
Why nobody can help me ?

help me to find a solution, please ?

Re: Error 500 when creating a new bug or updating a bug

Posted: 16 May 2009, 01:44
by Nimitz1061
You're not getting help here largely because an Error 500 is not a Mantis error. It is an Apache error and you need to seek help from your web host to address this issue.

David

Re: Error 500 when creating a new bug or updating a bug

Posted: 18 May 2009, 10:23
by jpp34
Thank you for your answer,

I immediatly retourned my web host.