big-dog1965 Posted February 19, 2009 Share Posted February 19, 2009 This is being displayed when I try to access a page on site. What does it mean and how do I fix it. Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/public_html/Clan/apps_view.php:5) in /home/public_html/Clan/appView/level4_check.php on line 4 <?php // THIS IS THE USER LEVEL 4 ACCEPTANCE CHECK // ADD OR INCLUDE THIS AT THE TOP OF ANY PAGES THAT ALLOW USER LEVEL 4 ACCESS session_start(); include "sigfig.php"; if(!isset($_SESSION['level'])){ echo"Error - You have not got authority to enter this page (ERR code: sesslev unset line "; } if ($_SESSION['level'] != "4") { echo"Your are not authorised to access this area - if this is incorrect please contact administration - <a href='login.php'>CLICK HERE TO LOGIN</a>"; exit(); } ?> Link to comment https://forums.phpfreaks.com/topic/145879-solved-mysql-or-php-error/ Share on other sites More sharing options...
ratcateme Posted February 19, 2009 Share Posted February 19, 2009 i am guessing that on line 5 of apps_view.php there is some kind of output? then on some line after that there is either include "appView/level4_check.php"; or require "appView/level4_check.php"; you need to change it so that session_start() is called before the output Scott. Link to comment https://forums.phpfreaks.com/topic/145879-solved-mysql-or-php-error/#findComment-765901 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.