Property in Qatar - Nutritional Supplements - Computers 2007 - Payday Loans - Computers 2007

PDA

View Full Version : Database warning


gerryt
Apr 1st 2006, 8:48 pm
I have a reminder site called todaysreminder.com
I was in the administration area today tring to add a banner to my site.
I must have screwed up, because when I try to log into the admin area now I get the following message:
Warning: Cannot modify header information - headers already sent by (output started at /home/todaysre/public_html/config.php:23) in /home/todaysre/public_html/siteadmin/login.php on line 39
Can anyone help me?
Thanks

sacx13
Apr 2nd 2006, 3:04 am
Header need to be first "Instuctions" from your page. For example don't do any echo or print until Header is executed !

(Or do you have some debug output there ?)

Regards


Dont understand wrong ... dont need to be first from all the program .... need to be first instruction what is sending something at output.

If you have debug output try to comment that first :)

Regards

BNix
Apr 3rd 2006, 5:04 pm
Yes , Don't print , echo , or even <html> tag on the header modify page
before header('xxx'); command
Most will occured when logging in and page can't create the session

jaymcc
Apr 3rd 2006, 7:06 pm
This has happenned to me even when I had a carriage return prior to the header. Check that also.

J

sacx13
Apr 4th 2006, 2:00 am
Hi guys,

Is already fixed :)

Regards