Members: 16,816
Threads: 38,946
Posts: 160,349
Online: 238

Newest Member: Dirk Ahlemeyer


Odoo.tv - Outdoor Television


Sedo - Domains kaufen und verkaufen das Projekt mambers.com steht zum Verkauf Besucherstatistiken von mambers.com etracker® Web-Controlling statt Logfile-Analyse

Go Back   Mambers.com > International > German - Deutsch > Übersetzungen

Reply
 
LinkBack Thread Tools Display Modes
Old 10.03.2005, 07:30   #1 (permalink)
Baby Mamber
 
Join Date: Mar 2005
Posts: 2
gizmo21 is on a distinguished road
Question Cannot modify header information - headers already sent

Ich habe eine Frage zum mambo_4.5.2_stable.zip/germanf.zip ( 4.5.2
2005-02-17) Modul.

Ich wollte in der germanf.php (Rechte 744) eine Zeile ändern
da mir der Ausdruck nicht gefällt. Sobald ich jedoch auch nur einen Buchstaben ändere erhalte ich über meiner regulären Seite eine Fehlermeldung.

Quote:
Warning: Cannot modify header information - headers already sent by (output started at ...../site/language/germanf.php:1039) in ......site/index.php on line
Die Zeile ist: DEFINE('_CONTACT_DOWNLOAD_AS','Download Information als eine');

Kann mir da einer weiterhelfen ?

btw. keine blank lines in configuration.php und solange ich nichts in der germanf ändere geht es auch.


mambo 4.5.2
Template AkoAutumnFog
gizmo21 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
Old 10.03.2005, 08:26   #2 (permalink)
Baby Mamber
 
Join Date: Mar 2005
Posts: 2
gizmo21 is on a distinguished road
Default Re: Cannot modify header information - headers already sent

gelöst:
es waren nicht die leer zeilen am ende der configuration.php sondern in der germanf.php nach der änderung die die probleme brachten. also nach änderung der germanf.php einfach alles löschen was nach '?>' erscheint.
gizmo21 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 10.03.2005, 08:34   #3 (permalink)
Senior Mamber
 
Join Date: Apr 2004
Posts: 209
Sabra is on a distinguished road
Default Re: Cannot modify header information - headers already sent

Hi,

This is a POSSIBLE solution:

1) open germanf.php and ....site/index.php in notepad, or even better in cpanel file editor.
2) go to the VERY end of the file(s) and delete every blank space AFTER the closing php tag (?>)
3) save the file(s).
4) try again.

I see that we posted at the same time.
If only I could understand what you say :-)
Sabra is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 05.04.2005, 20:30   #4 (permalink)
Baby Mamber
 
klinkhart's Avatar
 
Join Date: Apr 2005
Posts: 12
klinkhart is on a distinguished road
Default Re: Cannot modify header information - headers already sent

Hmmmm did not work for me...May problem ist that I accidentally dropped the danish.php after a change with an editor in the "root", believing I was in "languages" directory. After calling the site it gave me the following:

09:54 05.04.2005
Warning: Cannot modify header information - headers already sent by (output started at /www/htdocs/wyk/language/danish.php:1) in /www/htdocs/wyk/includes/mambo.php on line 711

Warning: Cannot modify header information - headers already sent by (output started at /www/htdocs/wyk/language/danish.php:1) in /www/htdocs/wyk/index.php on line 211

Warning: Cannot modify header information - headers already sent by (output started at /www/htdocs/wyk/language/danish.php:1) in /www/htdocs/wyk/index.php on line 212

Warning: Cannot modify header information - headers already sent by (output started at /www/htdocs/wyk/language/danish.php:1) in /www/htdocs/wyk/index.php on line 213

Warning: Cannot modify header information - headers already sent by (output started at /www/htdocs/wyk/language/danish.php:1) in /www/htdocs/wyk/index.php on line 214

Warning: Cannot modify header information - headers already sent by (output started at /www/htdocs/wyk/language/danish.php:1) in /www/htdocs/wyk/index.php on line 215

However, line 711 in mambo.php is about cookies and the lines in index.php do not give me a clue since i did not change them and they read lie this:

header( 'Expires: Mon, 26 Jul 1997 05:00:00 GMT' );
header( 'Last-Modified: ' . gmdate( 'D, d M Y H:i:s' ) . ' GMT' );
header( 'Cache-Control: no-store, no-cache, must-revalidate' );
header( 'Cache-Control: post-check=0, pre-check=0', false );
header( 'Pragma: no-cache' );

Any ideas anybody?

Grateful...

klinkhart
klinkhart is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 06.04.2005, 00:17   #5 (permalink)
Baby Mamber
 
klinkhart's Avatar
 
Join Date: Apr 2005
Posts: 12
klinkhart is on a distinguished road
Default Re: Cannot modify header information - headers already sent

Aaaaaaarghhh.... Was für ein Idiot ich bin. Aus irgenwelchen Gründen stand vor <?php ein Datum samt Uhrzeit...Also nicht nur nach Leerzeichen/Leerzeilen Suchen, sondern auch nach so einem Quatsch!

Danke an alle, die mich mit der Fährte Leerzeichen/-Zeilen erst auf die Idee gebracht haben, mal genau zu gucken...

klinkhart
klinkhart is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 19.05.2008, 21:08   #6 (permalink)
Baby Mamber
 
Join Date: May 2008
Posts: 1
xjessie007 is on a distinguished road
Default Re: Cannot modify header information - headers already sent

I had a problem with the "headers already sent" too at my http://www.maxi-pedia.com website. In my case, it was caused by a blank line at the beginning of one *.inc file. PHP seems to have problems with extra spaces here and there.

Check all your *.inc files to make sure you do not have closing ?> in any of them. Closing ?> is not needed in your *.inc files. Check all your *.php files to make sure you do not have blank lines at the beginning or at the end.

If you are working in a CMS, then it may be caused by some module, disable your modules one by one to find out which one causes this.

This can also be caused by UTF-8. If you have your website coded in ASCII and are saving your php files as UTF-8, it can cause this message. If your website and DB are UTF-8, you should be ok with saving php files as UTF-8 though.

Btw, this error message is related to output_buffering on/off in your php.ini. If you have output_buffering set to some cache, the server will allow to send headers with delay (or to modify them shortly after they are sent), and this error will not be tripped. But if you set output_buffering to 0 or not at all, then headers can be sent at only one moment, and if you have some bad code, it will trip this error message.
xjessie007 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Modify header errors Hoshi Mambo 4.5.1 Installation and Upgrades 5 05.03.2005 13:44
wysiwygpro rernst Mambo 4.5.1 Installation and Upgrades 43 26.01.2005 15:58
Installationsproblem: Cannot modify header information jean-luc Installation 7 03.09.2004 16:40
Problem with docman download mikkomu Mambo 4.5 General Talk 3 23.06.2004 10:01
Cannot modify header information techit Mambo 4.5 Installation and Upgrades 3 09.06.2004 04:40


All times are GMT +2. The time now is 10:19.

Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.1.0
A vBSkinworks Design
© Copyright 2004-2008 by Arthur Konze Webdesign.