Whitespace/Error in Configuration File (bei Mantis 1.2.7)

Deutschsprachiges Forum für Diskussionen und Fragen zu MantisBT

Moderators: Developer, Contributor

Whitespace/Error in Configuration File (bei Mantis 1.2.7)

Postby Odnek » Aug 25, 2011 1:06 am

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)
Odnek
 
Posts: 16
Joined: Jan 20, 2011 2:22 am

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

Postby atrol » Aug 25, 2011 1:12 am

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
Use Mantis2Go to try MantisBT on Windows or to reproduce issues
atrol
 
Posts: 3633
Joined: Mar 26, 2008 4:37 pm
Location: Germany

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

Postby Odnek » Aug 25, 2011 1:16 am

Pkt.2 ist erledigt

Pkt.1 versteh ich leider net ganz :(
Odnek
 
Posts: 16
Joined: Jan 20, 2011 2:22 am

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

Postby atrol » Aug 25, 2011 1:22 am

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
Use Mantis2Go to try MantisBT on Windows or to reproduce issues
atrol
 
Posts: 3633
Joined: Mar 26, 2008 4:37 pm
Location: Germany

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

Postby Odnek » Aug 25, 2011 6:48 am

<?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) ""
Odnek
 
Posts: 16
Joined: Jan 20, 2011 2:22 am

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

Postby atrol » Aug 25, 2011 7:26 am

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
Use Mantis2Go to try MantisBT on Windows or to reproduce issues
atrol
 
Posts: 3633
Joined: Mar 26, 2008 4:37 pm
Location: Germany

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

Postby Odnek » Aug 29, 2011 12:42 am

Danke,


das Problem ist gelöst.
Odnek
 
Posts: 16
Joined: Jan 20, 2011 2:22 am

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

Postby simon.k » May 29, 2012 7:26 am

Immer noch hilfreich, "UTF-8 ohne BDOM" hats bei mir dann gelöst.
simon.k
 
Posts: 13
Joined: Apr 27, 2012 1:26 am
Location: Germany


Return to Deutsch

Who is online

Users browsing this forum: No registered users and 0 guests

cron