How To Fix Error Warning: session_start(): Cannot send session cache limiter – headers already sent


Warning: session_start(): Cannot send session cache limiter – headers already sent

This error display when we change my document encoding = unicode. If we change back encoding = ansi, there no error showed.
Solution :
1.
<?php
session_start()
?>

put session_start before html tag
2. change session_start()  with error_reporting(0);

Tinggalkan Balasan

Isikan data di bawah atau klik salah satu ikon untuk log in:

Logo WordPress.com

You are commenting using your WordPress.com account. Logout / Ubah )

Gambar Twitter

You are commenting using your Twitter account. Logout / Ubah )

Foto Facebook

You are commenting using your Facebook account. Logout / Ubah )

Foto Google+

You are commenting using your Google+ account. Logout / Ubah )

Connecting to %s

%d blogger menyukai ini: