Warning Tambah Komentar di member

Masalah :

Kenapa setiap saya mengomentari member pasti muncul berikut ini:

Warning: session_start() [function.session-start]: Cannot send session
cache limiter – headers already sent (output started at
/home/smkn1pal/public_html/member/kontenstatus.php:1) in
/home/smkn1pal/public_html/member/kontenstatus.php on line 2

Solusi :

Coba buka webtemp/member/kontenstatus.php
menggunkan notepad..
lihat di sesion starnya didepannya ada spacebar intinya
delet spacebarnya pa…
isi scrip
  <?php
session_start();
include “../functions/koneksi.php”;
include “../functions/fungsi_pass.php”;
if (!isset($_SESSION[‘User’])) {
echo “Maaf Anda tidak diperkenankan untuk mengakses fitur ini.”;
exit;
}
This entry was posted in Solusi. Bookmark the permalink.

One Response to Warning Tambah Komentar di member

  1. Rumah Quran says:

    Makasih atas tutorialnya..pas banget sama masalah ane..

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s