-2

I got this problem. it has any spaces on prefix and suffix. It has been occurred sub domain on on-line, while start session. Don't block this as duplicate. If you want block this solve this before do that.still now no one else here to give ideas..

I have refer some bug issue solved in this.

i have refer this enter link description here

this is my code simple code.

<?php
ob_start();
session_start();
echo "hi uu";
?> 

Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /home/content/93/11167393/html/safelearners/studiobadri/admin/index.php:1) in /home/content/93/11167393/html/safelearners/studiobadri/admin/index.php on line 2

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/content/93/11167393/html/safelearners/studiobadri/admin/index.php:1) in /home/content/93/11167393/html/safelearners/studiobadri/admin/index.php on line 2
Community
  • 1
  • 1
Intrepid Uliyar
  • 91
  • 1
  • 2
  • 11

1 Answers1

1
<?php
session_start();
ob_start();
?>

Add ob_start() after session_start()

Muhammad Ahmed
  • 481
  • 2
  • 14