uprentiss Posted January 10, 2012 Share Posted January 10, 2012 (edited) i installed a cript n when i log in it says this Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /var/www/vhosts/httpdocs/logged_in.php:11) in /var/www/vhosts/httpdocs/logged_in.php on line 13 here is the php code <? include "config.php"; include "func.ban.php"; checkban($_SERVER['REMOTE_ADDR']); ?> <? session_start(); include_once "includes/db_connect.php"; include_once "includes/functions.php"; logincheck(); ?> <html> <head> <link rel="shortcut icon" href="favicon.ico.png"> <title>Way of The Mafia</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <link rel=stylesheet href=includes/in.css type=text/css> </head> <frameset rows="*" cols="168,*" frameborder="no" border="0" framespacing="0"> <frame src="menu.php" name="leftFrame" scrolling="auto" noresize="noresize" id="leftFrame" title="leftFrame"> <? if($info->bann == "0"){ ?> <frameset rows="68,*" cols="*" framespacing="0" frameborder="no" border="0"> <frame src="banner.php" name="banner" scrolling="No" noresize="noresize" id="topFrame" title="topFrame"> <? } ?> <frameset rows="24,*" cols="*" framespacing="0" frameborder="NO" border="0"> <frame src="mini.php" name="topFrame" scrolling="NO" noresize > <frameset rows="*" cols="*<? if($info->box == "0"){ ?>,180<? } ?>" frameborder="no" border="0" framespacing="0"> <frame src="story.php" name="middle" id="mainFrame" title="mainFrame"> <? if($info->box == "0"){ ?> <frame src="/chat/index.php" name="shoutbox" scrolling="auto" noresize="noresize" id="shoutbox" title="shoutbox"> <? } ?> </frameset> </frameset> </frameset> </frameset> <noframes><body></frameset> </body></noframes> </html> please help me Edited January 10, 2012 by uprentiss Quote Link to comment Share on other sites More sharing options...
a_bertrand Posted January 10, 2012 Share Posted January 10, 2012 remove the ?> <? on line 9-11 and you should be up and running or move the session_start (found on line 13) on line 2. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.