Skip to main content

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

Comments

8 comments

  • cPanelMichael
    Hello :) This is generally an issue with the script you are using. Are the versions of Apache and PHP on the new server the same as the previous server? Have you checked to see if the same PHP modules are enabled? Thank you.
    0
  • robbob
    Hi, I have had a little look and there do appear to be differences between the old and new. The old is using PHP 5.3.28 which us Deprecated whilst the new one is using PHP 5.4.31 With regards to the PHP modules there appears to be a lot ticked in the old one and not the new one (assuming this is from the exhaustive list). Would it be advisable to tick any that are not ticked and then rebuild? I have had to add a few modules here and there since migrating the site over (mysqli for example) so would hope that the above would fix it? Thanks again
    0
  • cPanelMichael
    Yes, you can enable the additional options under the "Exhaustive Options List" for PHP in EasyApache and then rebuild Apache/PHP. Thank you.
    0
  • robbob
    I ticked everything that had not been on the old server and rebuilt and am still seeing the same problem. I had hoped that maybe it would take a little while to kick in but this has now been over 12 hours! Thanks
    0
  • cPanelMichael
    It's possible the difference in PHP versions is the cause of the problem. I suggest consulting with the support or developers of the script you are using to see if there are any known solutions to the error message you are receiving. Thank you.
    0
  • piyush_lahoti
    I also face this warning in my app. when i use localhost this warning not occur. Why this happen I don't know Any one can give any idea to fix this problem?
    0
  • cPanelMichael
    [quote="piyush_lahoti, post: 1746392">I also face this warning in my app. when i use localhost this warning not occur. Why this happen I don't know Any one can give any idea to fix this problem?
    Could you elaborate on the exact issue you are experiencing? Where do you use "localhost"? Thank you.
    0
  • Piyush Solanki
    You can try this ob_start and ob_end_flush will work for you.
    0

Please sign in to leave a comment.