Quantcast
Channel: CodeIgniter Forums - All Forums
Viewing all articles
Browse latest Browse all 14115

session_start(): Cannot send session cookie

$
0
0
Hello,

I have created and launched a website developed using ci.

Now today i have copy and pasted to another hosting provider.

I am now getting error saying,


Message: session_start(): Cannot send session cookie - headers already sent by (output started at /home/simulifi/public_html/prepify.in/application/config/config.php:1)
Filename: Session/Session.php
Line Number: 141
Backtrace:
File: /home/simulifi/public_html/prepify.in/index.php
Line: 315
Function: require_once


Severity: Warning
Message: session_start(): Cannot send session cache limiter - headers already sent (output started at /home/simulifi/public_html/prepify.in/application/config/config.php:1)
Filename: Session/Session.php
Line Number: 141
Backtrace:
File: /home/simulifi/public_html/prepify.in/index.php
Line: 315
Function: require_once


I have tried all the whitespace things on config.php file,
change the encoding to UTF-8,
no luck

But before that its working fine and now also on old server its working without any warning.

Thank you in advance

.png   error.png (Size: 59.33 KB / Downloads: 11)

Viewing all articles
Browse latest Browse all 14115

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>