russia5 Posted April 6, 2006 Share Posted April 6, 2006 Hello, I have a Link exchange script that I am uploading (cpdynalinks) It is not difficult, only one CHMD When I log into the admin, I get this error.[code][b]Warning:[/b]session_start(): Cannot send session cookie - headners already sent by (output started at /home/xxxx/public_html/mylinks/config.php:39) in [b]/home/xxxx/public_html/mylinks/admin/index.php [/b]on line [b]69[/b]Link 39 is the end of the config.php script Quote Link to comment Share on other sites More sharing options...
wildteen88 Posted April 7, 2006 Share Posted April 7, 2006 You are outputing something on line 39 in config.php and the error was triggered in index.php on line 69.When using session_start make sure you dont have anything being outputted to the browser before the use of session_start otherwise you'll get the error message you're getting above. Quote Link to comment Share on other sites More sharing options...
russia5 Posted April 7, 2006 Author Share Posted April 7, 2006 Thanks for the answer. Line 39 is on the bottom of the script after the closing tag. What could I be outputting at that point? Quote Link to comment Share on other sites More sharing options...
wildteen88 Posted April 7, 2006 Share Posted April 7, 2006 Does you script go like:[code]37 // rest of code above38 ?>39[/code]if so delete line 39. You are outputting whitespace characters such as newlines, carriage return etc. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.