View Full Version : help plz tUnable to add cookies, header already sent.
GhostHunter2010
01-04-2012, 01:01 AM
hi im havin some problems can someone help me with this plz
Unable to add cookies, header already sent.
File: /home/albteam3/domains/albteam.com/public_html/includes/vba_cmps_include_template.php
Line: 56
im havin problems when i logout it shows this eerror if i click portrali wich is portral can someoen help me or is only me who is facin thi problem maybe because my isp network thankyou :confused:
Max Taxable
01-04-2012, 01:11 AM
I have seen this happen to people who have just edited a php file using a poor text editor such as notepad. These will put characters in you can't see, messing up php.
Did you recently edit such a file?
GhostHunter2010
01-04-2012, 01:23 AM
i didnt do nothing man all i did was open config.php checked my pass then save it as normal i dont know why is this happening its fine when i go lmy forum example.com/forum.php is working fine but when i go to example.com domain im havin this problem with vbadvanced problem....
Boofo
01-04-2012, 02:08 AM
Re-check your config.php file and make sure that are no spaces before the top line.
GhostHunter2010
01-04-2012, 02:14 AM
to me looks fine Boofo i maybe im not that good on it as im new on vb but it looks ok the config.php :( can u help me Boofo i see that ur a coder an im sure u know this problem.
Max Taxable
01-04-2012, 02:17 AM
i didnt do nothing man all i did was open config.php checked my pass then save it as normal i dont know why is this happening its fine when i go lmy forum example.com/forum.php is working fine but when i go to example.com domain im havin this problem with vbadvanced problem....Yep what text editor are you opening it with? The ones which put the added characters in won't let you see them.
Try TextEditor.
GhostHunter2010
01-04-2012, 02:19 AM
with notepad but i always use to use notepad or wordpad i never had such a problem im new on vb i used smf for 2 years and always used notepad or wordpad as i mention never had this problem :(
--------------- Added 1325647681 at 1325647681 ---------------
i tried texteditor i still cannot see anything wrong :(
ForceHSS
01-04-2012, 02:29 AM
use notepad ++ http://notepad-plus-plus.org/download/v5.9.6.2.html
GhostHunter2010
01-04-2012, 02:33 AM
i still cannot find the problem . ForceHSS :(
Boofo
01-04-2012, 02:51 AM
Send me your FTP details in a PM and I will look at it for you.
GhostHunter2010
01-04-2012, 02:53 AM
done Boofo n thankyou
--------------- Added 1325652426 at 1325652426 ---------------
all done thankyou so much mr Boofo you are the best thanks again man
Max Taxable
01-04-2012, 04:04 AM
done Boofo n thankyou
--------------- Added 1325652426 at 1325652426 ---------------
all done thankyou so much mr Boofo you are the best thanks again manDo tell... What was the solution?
Boofo
01-04-2012, 04:16 AM
One of his include files had 3 line breaks after the closing php tag.
GhostHunter2010
01-04-2012, 07:52 PM
sorry max Boofo has explained . thx again guys
Max Taxable
01-04-2012, 11:26 PM
Partially explained. Extra line breaks don't just add themselves.
Boofo
01-05-2012, 01:51 AM
True.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.