After I uploaded my files this kind of error is occurred. But there is no any errors in my localhost. What kind of error is this? How to fix this?
Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /home/lahiruca/public_html/events/includes/links.php:1) in /home/lahiruca/public_html/events/includes/header.php on line 1
(from the comments)
<?php session_start();?>
<div class="header">
<div class="logo"></div>
<div class="right_header">
<div class="top_right_header">
<ul> <?php if(isset($_SESSION['userid'])){ ?>