Hi I have a php file that is empty and the only line of code in there is
<?php session_start(); ?>
[25-Apr-2016 05:43:34 UTC] PHP Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at path/to/file.php:1) in /path/to/file.php on line 1
Problem : Sometimes there are invisible characters inside your code file.
Solution : So simply for now if want to fix the error so here is the quick way to do it : I am sure you must be using some sort of Code Editor just simply save your php file with encoding as "UTF-8 With BOM" and then upload the saved file to your site and then access your file and you will have no problem..!
Reference URL :
If that doesn't solve your problem so then use this solution :
ob_start()instead of after it.
session_start()as one of your includes might already be starting the session, like so:
/** session_start(); **/