Error 500 when creating a new bug or updating a bug

Get help from other users here.

Moderators: Developer, Contributor

Post Reply
jpp34
Posts: 13
Joined: 10 Apr 2009, 14:16

Error 500 when creating a new bug or updating a bug

Post 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
jpp34
Posts: 13
Joined: 10 Apr 2009, 14:16

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

Post by jpp34 »

Nobody can help me? :cry: :cry:
deboutv
Posts: 507
Joined: 15 Jan 2007, 14:31
Location: La Ciotat, FRANCE
Contact:

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

Post by deboutv »

Take a look in the webserver logfile.
Want more plugins to customize Mantis?
=> http://deboutv.free.fr/mantis/

Mantis: 1.1.0, 1.1.0a2
PHP: 5.0.4
SQL: MySQL 5.0.19
OS: Linux
jpp34
Posts: 13
Joined: 10 Apr 2009, 14:16

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

Post by jpp34 »

Hello,

Wherre can I find it in mantis?

Thnaks for your help
jpp34
Posts: 13
Joined: 10 Apr 2009, 14:16

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

Post 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
jpp34
Posts: 13
Joined: 10 Apr 2009, 14:16

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

Post by jpp34 »

the problem appears when mantis is running on my hosted server, but it 'does not appear when it's running on localhost.
jpp34
Posts: 13
Joined: 10 Apr 2009, 14:16

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

Post 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.
jpp34
Posts: 13
Joined: 10 Apr 2009, 14:16

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

Post 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.
jpp34
Posts: 13
Joined: 10 Apr 2009, 14:16

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

Post by jpp34 »

Why nobody can help me ?

help me to find a solution, please ?
Nimitz1061
Posts: 12
Joined: 05 May 2009, 18:39
Contact:

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

Post 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
jpp34
Posts: 13
Joined: 10 Apr 2009, 14:16

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

Post by jpp34 »

Thank you for your answer,

I immediatly retourned my web host.
Post Reply