Jump to content

php session error


russia5

Recommended Posts

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
Link to comment
https://forums.phpfreaks.com/topic/6767-php-session-error/
Share on other sites

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.
Link to comment
https://forums.phpfreaks.com/topic/6767-php-session-error/#findComment-24702
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.