MyBB.de Forum
Cannot modify header information nach Änderung in settings.php - Druckversion

+- MyBB.de Forum (https://www.mybb.de/forum)
+-- Forum: Archiv (https://www.mybb.de/forum/forum-57.html)
+--- Forum: MyBB 1.6.x (https://www.mybb.de/forum/forum-58.html)
+---- Forum: Allgemeiner Support (https://www.mybb.de/forum/forum-59.html)
+---- Thema: Cannot modify header information nach Änderung in settings.php (/thread-17818.html)



Cannot modify header information nach Änderung in settings.php - Tobi675 - 05.02.2011

Moin Leute,
bin relativ neu auf dem Gebiet des myBB und stehe vor dem ersten großen Problem.

Ich bin von einer Subdomain auf eine TLD umgestellt. Danach konnte ich mich nicht mehr anmelden und wurde immer wieder als Gast auf die voherige Seite verwiesen.
Dies ist ja wohl ein bekanntes Problem...

Deswegen habe ich in der inc/setting.php die CookiesDomain und Path geändert...
daraufhin bekomm ich nun das hier:
Zitat:Warning [2] Cannot modify header information - headers already sent by (output started at /homepages/16/d188086261/htdocs/biker/inc/settings.php:1) - Line: 1622 - File: inc/functions.php PHP 5.2.17 (Linux)

Hat einer eine Idee woran das liegen kann?

Dankeschön!

Gruß
Tobi


RE: Cannot modify header information nach Änderung in settings.php - StefanT - 05.02.2011

https://www.mybb.de/doku/haeufig-gestellte-fragen/wie-bearbeite-ich-eine-php-datei.html


RE: Cannot modify header information nach Änderung in settings.php - Tobi675 - 05.02.2011

Habe gerade die settings.php umbenannt und schwups ist der fehler weg und es ist eine neue settings.php da?!

ist das normal so ;D?


RE: Cannot modify header information nach Änderung in settings.php - StefanT - 05.02.2011

Ja, sicher... Die Einstellungen komme ja aus der Datenbank.


RE: Cannot modify header information nach Änderung in settings.php - Tobi675 - 05.02.2011

Hey Stefan,
erstmal danke das du mir am frühen Samstag Morgen weiterhilfst Wink

Muss ich dann die Cookiedomain udn Path in der Datenbank ändern?
Wo finde ich die?


RE: Cannot modify header information nach Änderung in settings.php - StefanT - 05.02.2011

Ändere es besser über die settings.php.


RE: Cannot modify header information nach Änderung in settings.php - frostschutz - 05.02.2011

Die Settings in der Datenbank kannst du im Admin CP verändern... das ist die ganz normaler Konfiguration dort.

Du kannst die settings.php verändern um erstmal überhaupt ins Admin CP reinzukommen, solltest dann aber natürlich auch die Settings im Admin CP anpassen.


RE: Cannot modify header information nach Änderung in settings.php - Michael - 05.02.2011

Siehe auch: https://www.mybb.de/forum/thread-16626.html