Whitespace/Error in Configuration File (bei Mantis 1.2.7)

Deutschsprachiges Forum für Diskussionen und Fragen zu MantisBT

Moderators: Developer, Contributor

Post Reply
Odnek
Posts: 16
Joined: 20 Jan 2011, 07:22

Whitespace/Error in Configuration File (bei Mantis 1.2.7)

Post by Odnek »

Possible Whitespace/Error in Configuration File - Aborting. Output so far follows:
string(2) " "

(so sieht die config_inc.php aus)

<?php
$g_hostname = 'localhost';
$g_db_type = 'mysql';
$g_database_name = 'bugtracker';
$g_db_username = 'root';
$g_db_password = **********;
?>

Ich benutze:

einen iss 7.5
Php Version 5.3
Mantis 1.2.7


Danke im Vorraus.


(Kodierung is utf-8 von der config_inc.php)
atrol
Site Admin
Posts: 8536
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: Whitespace/Error in Configuration File (bei Mantis 1.2.7

Post by atrol »

1. diese Zeile Am Ende der Datei entfernen

Code: Select all

?>
2. Speichern als UTF-8 ohne BOM
Please use Search before posting and read the Manual
Odnek
Posts: 16
Joined: 20 Jan 2011, 07:22

Re: Whitespace/Error in Configuration File (bei Mantis 1.2.7

Post by Odnek »

Pkt.2 ist erledigt

Pkt.1 versteh ich leider net ganz :(
atrol
Site Admin
Posts: 8536
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: Whitespace/Error in Configuration File (bei Mantis 1.2.7

Post by atrol »

Odnek wrote:Pkt.2 ist erledigt
Hat's was gebracht?
Odnek wrote: Pkt.1 versteh ich leider net ganz :(
wie soll ich es anders schreiben? Lösche die Zeile am Ende der Datei, die das Fragezeichen und das Größerzeichen enthält.
Please use Search before posting and read the Manual
Odnek
Posts: 16
Joined: 20 Jan 2011, 07:22

Re: Whitespace/Error in Configuration File (bei Mantis 1.2.7

Post by Odnek »

<?php
$g_hostname = 'localhost';
$g_db_type = 'mysql';
$g_database_name = 'bugtracker';
$g_db_username = 'root';
$g_db_password = xxx ;
?>


beides erledigt


Ergebnis: Possible Whitespace/Error in Configuration File - Aborting. Output so far follows:
string(3) ""
atrol
Site Admin
Posts: 8536
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: Whitespace/Error in Configuration File (bei Mantis 1.2.7

Post by atrol »

Odnek wrote:<?php
$g_hostname = 'localhost';
$g_db_type = 'mysql';
$g_database_name = 'bugtracker';
$g_db_username = 'root';
$g_db_password = xxx ;
?>


beides erledigt
Wieso beides erledigt?
Da ist immer noch die Zeile mit "?>" zu sehen
Please use Search before posting and read the Manual
Odnek
Posts: 16
Joined: 20 Jan 2011, 07:22

Re: Whitespace/Error in Configuration File (bei Mantis 1.2.7

Post by Odnek »

Danke,


das Problem ist gelöst.
simon.k

Re: Whitespace/Error in Configuration File (bei Mantis 1.2.7

Post by simon.k »

Immer noch hilfreich, "UTF-8 ohne BDOM" hats bei mir dann gelöst.
Post Reply