Author Topic: Warning: Cannot modify header information (.....) HELPPP MEEEEE  (Read 3670 times)

0 Members and 1 Guest are viewing this topic.

Offline curtis

  • Pre-Newbie
  • Posts: 1
    • View Profile
Warning: Cannot modify header information - headers already sent by (output started at /home/okk/ftp/index.php:2) in /home/okk/ftp/includes/sessions.php on line 101

WTF ?? What can I do ?? :(( Plz help me it's so important


Offline dcm75

  • Pre-Newbie
  • Posts: 3
    • View Profile
Re: Warning: Cannot modify header information (.....) HELPPP MEEEEE
« Reply #2 on: May 29, 2007, 11:09:16 AM »
Sorry - ich fand die FAQ's an der Stelle wenig hilfreich!

1. Besorg dir eines Hex-Editor z.B. "http://de.wikipedia.org/wiki/Hex-Editor"

2. Schau dir die Datei, die unter (output started at /home/sites/site57/web/membership/gallery/config.php:36) angegebenen ist - hier config.php - mit dem Hex-Editor an und suche nach Zeichensalat oder Leerzeichen. Es darf hier keine! Ausgabe erfolgen!

Grüße
Chris

Offline azotekiller

  • Pre-Newbie
  • Posts: 2
    • View Profile
SOLUTION!
« Reply #3 on: June 14, 2007, 05:42:43 AM »
i have a modification of the index.php
This is for add a animation in FLASH for the script 4images
 8O
<div align="center">
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
<param name="movie" value="../flash/es/productos.swf">
type="application/x-shockwave-flash" width="180" height="45"></embed></object></div>
 8O
and have a error " header -> on line 101"

my solution is:
open the index.php
erase your modifications, only take the original code...
safe and update via FTP...
check -> you know dont have error..
ok know.. open index.php
insert you modification in the biginin of the code

YOUR CODE HERE
<?
PHP CODE ORIGINAL
?>
AND NOT TAKE SPACE OT ANY CARACTER AFTER THE PHP CLOSE "?>"

Save and exit
update via ftp...
and the problem is solved..

THIS ERROR IS FOR ANY MODIFICATION IN ANY PHP CODE OF 4IMAGE

GOOD LOOK
CYE  :wink: