Guest Posted January 25, 2006 Posted January 25, 2006 I had the site working as I wanted so I began editing the layout, I'm far from being good with PHP so I pretty much just move things around. I must have either moved or maybe deleted something by accident which has resulted in this error: Warning: session_start(): Cannot send session cookie - headers already sent by (output started at /home/httpd/vhosts/deckhedz.com/httpdocs/shop/index.php:1) in /home/httpd/vhosts/deckhedz.com/httpdocs/shop/includes/functions/sessions.php on line 67 Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /home/httpd/vhosts/deckhedz.com/httpdocs/shop/index.php:1) in /home/httpd/vhosts/deckhedz.com/httpdocs/shop/includes/functions/sessions.php on line 67 Can anyone help or suggest what could be wrong??! Please please please T
Guest Posted January 25, 2006 Posted January 25, 2006 Got rid of one by search for it and sorting my tmp directory!! Still getting the cach problem though, my permissions are right on my cache folder etc! Please advise!!
Guest Posted February 1, 2006 Posted February 1, 2006 Can anyone help me get rid of this??? Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at...
kgt Posted February 1, 2006 Posted February 1, 2006 The error is actually telling you everything you need to know to fix the problem. Cannot send session cache limiter - headers already sent. This means you have started sending content, so cannot set any more HTTP headers (cache control directives are part of the HTTP header). output started at /home/httpd/vhosts/deckhedz.com/httpdocs/shop/index.php:1 You're sending content on line 1 of index.php. /home/httpd/vhosts/deckhedz.com/httpdocs/shop/includes/functions/sessions.php on line 67 You're trying to send HTTP headers on line 67 of sessions.php AFTER you sent content. So, the way to fix this is to remove what is probably a whitespace character (line break or a space) on the first line of index.php. The < part of the <?php tag should be the absolute first character in the file. Contributions Discount Coupon Codes Donations
Recommended Posts
Archived
This topic is now archived and is closed to further replies.