Page 1 of 1
Whitespace/Error in Configuration File (bei Mantis 1.2.7)
Posted: 25 Aug 2011, 06:06
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)
Re: Whitespace/Error in Configuration File (bei Mantis 1.2.7
Posted: 25 Aug 2011, 06:12
by atrol
1. diese Zeile Am Ende der Datei entfernen
2. Speichern als UTF-8
ohne BOM
Re: Whitespace/Error in Configuration File (bei Mantis 1.2.7
Posted: 25 Aug 2011, 06:16
by Odnek
Pkt.2 ist erledigt
Pkt.1 versteh ich leider net ganz

Re: Whitespace/Error in Configuration File (bei Mantis 1.2.7
Posted: 25 Aug 2011, 06:22
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.
Re: Whitespace/Error in Configuration File (bei Mantis 1.2.7
Posted: 25 Aug 2011, 11:48
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) ""
Re: Whitespace/Error in Configuration File (bei Mantis 1.2.7
Posted: 25 Aug 2011, 12:26
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
Re: Whitespace/Error in Configuration File (bei Mantis 1.2.7
Posted: 29 Aug 2011, 05:42
by Odnek
Danke,
das Problem ist gelöst.
Re: Whitespace/Error in Configuration File (bei Mantis 1.2.7
Posted: 29 May 2012, 12:26
by simon.k
Immer noch hilfreich, "UTF-8 ohne BDOM" hats bei mir dann gelöst.