Need help? Check out our Support site, then


Header problem error

  1. I need some help with the work I'm doing on my custom wordpress theme. On my admin page for WordPress I'm getting this error at the very top of the page: Warning: Cannot modify header information - headers already sent by (output started at /home/link01/public_html/blog/wp-content/themes/TEAtheme/functions.php:8) in /home/link01/public_html/blog/wp-includes/functions.php on line 851

    Warning: Cannot modify header information - headers already sent by (output started at /home/link01/public_html/blog/wp-content/themes/TEAtheme/functions.php:8) in /home/link01/public_html/blog/wp-includes/functions.php on line 852

    I have no idea what I've done to set off this error. My header's file code consists of:

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes() ?>> <head profile="http://gmpg.org/xfn/11"> <title><?php bloginfo('name'); ?> <?php wp_title(); ?></title> <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" /> <link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen,projection" />

    <script src="//ajax.googleapis.com/ajax/libs/jquery/1.5.2/jquery.js" type="text/javascript"></script><script type="text/javascript" src="js/sliding_effect.js"></script><!-- code for jquery menu -->

    <?php wp_head(); ?>

    </head>
    <div class="description"> <?php bloginfo('description'); ?></div>
    <div id="header"><div id="menu">

    </div></div><div id="logo">
    </div></div>

    and my functions file almost has nothing in it:

    <?php if ( function_exists('register_sidebar') ) register_sidebar(array( 'before_widget' => '', 'after_widget' => '', 'before_title' => '<h2>', 'after_title' => '</h2>', )); ?>

    To reach the wordpress site just go to http://www.theentertainmentart.info/blog . I could really use the help on the account that it no longer allows me to post stuff, and I just got the theme around the area where I want it to be.

    Also, when you post comments you get this error on my site: Warning: Cannot modify header information - headers already sent by (output started at /home/link01/public_html/blog/wp-content/themes/TEAtheme/functions.php:8) in /home/link01/public_html/blog/wp-includes/pluggable.php on line 897

    There's a specific hierarchy within wordpress themes that it reads from. I obviously am either missing something or put something out of place. Is there any way anyone could help? The actual blog is at theentertainmentart.info/blog

  2. You did not specify a blog address or reason for posting when you created this topic.

    This support forum is for blogs hosted at WordPress.com. If your question is about a self-hosted WordPress blog then you'll find help at the WordPress.org forums.

    If you don't understand the difference between WordPress.com and WordPress.org, you may find this information helpful.

    If you forgot to include a link to your blog, you can reply and include it below. It'll help people to answer your question.

    This is an automated message.

Topic Closed

This topic has been closed to new replies.

About this Topic