darkfreaks Posted September 14, 2008 Share Posted September 14, 2008 i already looked in the thread for this so dont tell me to look i obviously have output buffering does not solve it neither it matter where i put the code. Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /hermes/web06/b879/pow.themoringagarden/plaincart/index.php:3) in /hermes/web06/b879/pow.themoringagarden/plaincart/library/config.php on line 7 Line 7 config.php <?php session_start(); //start session ?> Link to comment https://forums.phpfreaks.com/topic/124126-solved-header-output-error/ Share on other sites More sharing options...
kenrbnsn Posted September 14, 2008 Share Posted September 14, 2008 What is on line 3 of index.php -- that's where the output is occurring? Ken Link to comment https://forums.phpfreaks.com/topic/124126-solved-header-output-error/#findComment-640827 Share on other sites More sharing options...
darkfreaks Posted September 14, 2008 Author Share Posted September 14, 2008 line 3 was output buffer LOL i deleted it and the lines after were error_reporting(E_ALL); and ini_set('error_reporting' ,something about warnings here); if that continues ill delete those lines Link to comment https://forums.phpfreaks.com/topic/124126-solved-header-output-error/#findComment-640907 Share on other sites More sharing options...
kenrbnsn Posted September 14, 2008 Share Posted September 14, 2008 The correct way to fix this is to put the session_start() call at the very beginning of your script. Ken Link to comment https://forums.phpfreaks.com/topic/124126-solved-header-output-error/#findComment-641063 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.