Error Message: Warning: session_start() [function.session-start]

Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /home/somebodi/public_html/index.php:2) in /home/somebodi/public_html/wp-content/plugins/enhanced-wordpress-contactform/wp-contactform.php on line 277

I have this error message at the top of my site. Need to fix. Thanks.

this question was answered pretty recently for someone else, see here:

http://www.phphelp.com/forum/index.php/topic,10657.msg38378.html#msg38378

Red,
:wink:

Got rid of that message but got this:
Fatal error: Call to undefined function ob_flush_end() in /home/somebodi/public_html/index.php on line 50

and the links do not work. Thanks for the help

Did something else and got this:

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/somebodi/public_html/index.php:2) in /home/somebodi/public_html/wp-content/plugins/enhanced-wordpress-contactform/wp-contactform.php on line 277

here is the link to the site:
http://somebodiesdancetheater.com/

Code is:

<?php include('wp-config.php'); get_header(); ?>
<?php if ( get_option('sdt_home') == 'true' ) : include (TEMPLATEPATH . '/custom-home.php'); else : ?>

<div id="content">

		<div id="main">

            <h3 id="myWritings" class="replace">My Writings. My Thoughts.</h3>

				<?php if (have_posts()) : ?>

				<?php while (have_posts()) : the_post(); ?>

                <div class="box1 clearfix">
                    <div class="post clearfix">
                        <h3 id="post-<?php the_ID(); ?>"><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h3>
                        <p class="txt0"><?php edit_post_link('Edit', '', ''); ?> // <?php the_time('F jS, Y') ?> // <?php comments_popup_link('No Comments &#187;', '1 Comment &#187;', '% Comments &#187;'); ?> // <?php the_category(', ') ?></p>

                    <?php the_content('<span class="continue">Continue Reading</span>') ?>

                    </div>
                </div>

				<?php endwhile; ?>

				<div class="navigation nav clearfix">
					<div class="fl"><?php next_posts_link('&laquo; Older Entries') ?></div>
					<div class="fr"><?php previous_posts_link('Newer Entries &raquo;') ?></div>
				</div>
				<?php else : ?>

				<h2 class='center'>No posts found.</h2>

				<?php endif; ?>


        </div><!-- / #main -->

    <?php get_sidebar(); ?>

</div><!-- / #content -->

<?php endif; ?>
<?php get_footer(); ?>

OK. Got the error message off but none of the links work.
http://somebodiesdancetheater.com/

Code:

<?php include('wp-config.php'); //Here it is Maria get_header(); ?>
<?php if ( get_option('sdt_home') == 'true' ) : include (TEMPLATEPATH . '/custom-home.php'); else : ?>

<div id="content">

		<div id="main">

            <h3 id="myWritings" class="replace">My Writings. My Thoughts.</h3>

				<?php if (have_posts()) : ?>

				<?php while (have_posts()) : the_post(); ?>

                <div class="box1 clearfix">
                    <div class="post clearfix">
                        <h3 id="post-<?php the_ID(); ?>"><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h3>
                        <p class="txt0"><?php edit_post_link('Edit', '', ''); ?> // <?php the_time('F jS, Y') ?> // <?php comments_popup_link('No Comments &#187;', '1 Comment &#187;', '% Comments &#187;'); ?> // <?php the_category(', ') ?></p>

                    <?php the_content('<span class="continue">Continue Reading</span>') ?>

                    </div>
                </div>

				<?php endwhile; ?>

				<div class="navigation nav clearfix">
					<div class="fl"><?php next_posts_link('&laquo; Older Entries') ?></div>
					<div class="fr"><?php previous_posts_link('Newer Entries &raquo;') ?></div>
				</div>
				<?php else : ?>

				<h2 class='center'>No posts found.</h2>

				<?php endif; ?>


        </div><!-- / #main -->

    <?php get_sidebar(); ?>

</div><!-- / #content -->

<?php endif; ?>
<?php get_footer(); ?>
Sponsor our Newsletter | Privacy Policy | Terms of Service