Headers already sent

Status
Not open for further replies.

firila

New Member
Messages
11
Reaction score
0
Points
0
When I try to write cookies, even if they are right after <?php, I receive:

Warning: Cannot modify header information - headers already sent by (output started at /home/vlife/public_html/rou/index.php:1) in /home/vlife/public_html/rou/index.php on line 9

Warning: Cannot modify header information - headers already sent by (output started at /home/vlife/public_html/rou/index.php:1) in /home/vlife/public_html/rou/index.php on line 10

Warning: Cannot modify header information - headers already sent by (output started at /home/vlife/public_html/rou/index.php:1) in /home/vlife/public_html/rou/index.php on line 11
.tabber{display:none;}
Warning: Cannot modify header information - headers already sent by (output started at /home/vlife/public_html/rou/index.php:1) in /home/vlife/public_html/rou/index.php on line 506

What can I do? I believe it's from the hosting. I have used these files on a paid host too, and they were ok.
 

lemon-tree

x10 Minion
Community Support
Messages
1,420
Reaction score
46
Points
48
Are you sure you haven't got any characters, line breaks or spaces before the <?php ?
 

descalzo

Grim Squeaker
Community Support
Messages
9,373
Reaction score
326
Points
83
Some authoring tools will save utf-8 files with a BOM (byte order mark) which does not show up when you view the source, but is there nonetheless.
Where did you write the code for the pages with the error?
 

descalzo

Grim Squeaker
Community Support
Messages
9,373
Reaction score
326
Points
83
Check 5th menu item...Encoding
If it is "Encode in UTF-8" switch to "Encode in UTF-8 without BOM"
Save.
Upload again and see if problem solved.
 

Zubair

Community Leader
Community Support
Messages
8,766
Reaction score
305
Points
83
Problem Solved.
***Thread Closed***
Feel Free to contant us again.
 
Status
Not open for further replies.
Top