Help guys getting this Warning Error message

3 replies
  • WEB DESIGN
  • |
Guys, can anyone help me out I'm getting this weird Warning error message
on my blog and i can't seem to find out what the issue really is:

HTML Code:
Warning: Cannot modify header information - headers already sent by (output started at /home/themarke/public_html/wp-content/themes/bosco/header.php:4) in /home/themarke/public_html/wp-includes/pluggable.php on line 770
THIS IS MY Header.php FILE:

Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head profile="http://gmpg.org/xfn/11">
<meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />

<title><?php wp_title(); ?> <?php bloginfo('name'); ?>: <?php bloginfo('description'); ?></title>
<!-- <title><?php bloginfo('name'); ?>: <?php bloginfo('description'); ?> <?php if ( is_single() ) { ?> &raquo; Blog Archive <?php } ?> <?php wp_title(); ?></title> -->
<!--Scrolling SideBar Tool-->
<style type="text/css">

#marqueecontainer{
position: relative;
width: 200px; /*marquee width */
height: 500px; /*marquee height */
background-color: f5f5f5;
overflow: hidden;
border: 3px solid f5f5f5;
padding: 2px;
padding-left: 4px;
}

</style>

<script type="text/javascript">

/***********************************************
* Cross browser Marquee II- © Dynamic Drive (www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit http://www.dynamicdrive.com/ for this script and 100s more.
***********************************************/

var delayb4scroll=2000 //Specify initial delay before marquee starts to scroll on page (2000=2 seconds)
var marqueespeed=2 //Specify marquee scroll speed (larger is faster 1-10)
var pauseit=1 //Pause marquee onMousever (0=no. 1=yes)?

////NO NEED TO EDIT BELOW THIS LINE////////////

var copyspeed=marqueespeed
var pausespeed=(pauseit==0)? copyspeed: 0
var actualheight=''

function scrollmarquee(){
if (parseInt(cross_marquee.style.top)>(actualheight*(-1)+8))
cross_marquee.style.top=parseInt(cross_marquee.style.top)-copyspeed+"px"
else
cross_marquee.style.top=parseInt(marqueeheight)+8+"px"
}

function initializemarquee(){
cross_marquee=document.getElementById("vmarquee")
cross_marquee.style.top=0
marqueeheight=document.getElementById("marqueecontainer").offsetHeight
actualheight=cross_marquee.offsetHeight
if (window.opera || navigator.userAgent.indexOf("Netscape/7")!=-1){ //if Opera or Netscape 7x, add scrollbars to scroll and exit
cross_marquee.style.height=marqueeheight+"px"
cross_marquee.style.overflow="scroll"
return
}
setTimeout('lefttime=setInterval("scrollmarquee()",30)', delayb4scroll)
}

if (window.addEventListener)
window.addEventListener("load", initializemarquee, false)
else if (window.attachEvent)
window.attachEvent("onload", initializemarquee)
else if (document.getElementById)
window.onload=initializemarquee


</script>

<meta name="generator" content="WordPress <?php bloginfo('version'); ?>" /> <!-- leave this for stats -->

<link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" />

<link rel="alternate" type="application/rss+xml" title="<?php bloginfo('name'); ?> RSS Feed" href="<?php bloginfo('rss2_url'); ?>" />

<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />

<?php wp_head(); ?>
</head>
<body>

<div id="blogtitle">
<h1><a href="<?php echo get_settings('home'); ?>"><?php bloginfo('name'); ?></a></h1>
<p class="description"><?php bloginfo('description'); ?></p>
</div>



<div id="containertop"></div>
<div id="container">
     <div id="nav">
          <ul>
               <li><a href="<?php echo get_settings('home'); ?>">Home</a></li>
<li><a href="http://www.themarketingalchemy.com/forum/">New Success Marketing Forum</a></li>
<li><a href="http://www.emailcopyexposed.com/support/" target=_blank>Support Center</a></li>
              
          </ul>
          
     </div>
Greatly appreciate the help guys.

--David
#error #guys #message #warning
  • Profile picture of the author jonhel
    Try removing the gap before the title tag and see if that resolves it.
    Signature

    Warrior For Hire - Freelance web developer/troubleshooter/fixer etc. - Affordable website help

    {{ DiscussionBoard.errors[313858].message }}
    • Profile picture of the author David_Thompson
      Originally Posted by jonhel View Post

      Try removing the gap before the title tag and see if that resolves it.
      I did that but it didn't help at all, I guess sometimes older themes
      and newer wordpress have issues this might be the case not really sure.

      But thanks man for trying.

      --David
      Signature
      JV partnership wanted, Lets grow your list for free. Nothing to do with giveaways. PM Now
      {{ DiscussionBoard.errors[314854].message }}
  • Profile picture of the author jonhel
    It occurs in PHP and it often is caused by extra spacing etc. hence the suggestion.

    I get it in scripts all the time before I weed out unnecessary spaces etc.
    Signature

    Warrior For Hire - Freelance web developer/troubleshooter/fixer etc. - Affordable website help

    {{ DiscussionBoard.errors[314913].message }}

Trending Topics