Recent Topics

1 Apr 02, 2009 03:24    

My b2evolution Version: Not Entered

I need to remove something here in "_html_header.inc.php"


  <link rel="EditURI" type="application/rsd+xml"
 title="RSD"
 href="<?php echo $xmlsrv_url; ?>rsd.php?blog=<?php echo $Blog->ID; ?>" />
  <link rel="stylesheet" href="style.css"
 type="text/css" />
<?php include_headlines() /* Add javascript and css files included by plugins and skin */ ?><?php $Blog->disp( 'blog_css', 'raw');


	$Blog->disp( 'user_css', 'raw');


?>
  <script type="text/javascript"> function popUp(url){ window.open(url, "pop", "width = 650, height = 420, top = 90, left = 75, toolbar = 0, scrollbars = 1, resizable = 0") } </script><!-- BEGIN PJM SETUP CODE / BEGIN PJM IMAGE SCRIPT -->
  <script src="http://commons.pajamasmedia.com/js/pajamas.js"
 language="javascript" type="text/javascript"></script><!-- END PJM IMAGE SCRIPT -->
  <script type="text/javascript">

<!--

var axel = Math.random() + "";

var ord = axel * 1000000000000000000;

//-->

  </script><!-- PJM CONTENT PAGE FUTURE SPOT 1 / END PJM SETUP CODE -->
</head>
<body>

When I remove from "BEGIN PJM SETUP CODE" to "END PJM SETUP CODE -->

I get:

Warning: Cannot modify header information - headers already sent by (output started at /home/nelson14/public_html/skins/asymmetric/_html_header.inc.php:2) in /home/nelson14/public_html/inc/_core/_template.funcs.php on line 59

I tried leaving the

  <script type="text/javascript">

<!--

var axel = Math.random() + "";

var ord = axel * 1000000000000000000;

//-->

  </script>

part and got the same thing.

Thanks for your help.

2 Apr 02, 2009 03:50

Sounds like whitespace. Like, before the first <?php or after the last ?> you have maybe a space or a return. If not that make sure your end result file looks sorta like this:

<link rel="EditURI" type="application/rsd+xml"
 title="RSD"
 href="<?php echo $xmlsrv_url; ?>rsd.php?blog=<?php echo $Blog->ID; ?>" />
  <link rel="stylesheet" href="style.css"
 type="text/css" />
<?php include_headlines() /* Add javascript and css files included by plugins and skin */ ?><?php $Blog->disp( 'blog_css', 'raw');


   $Blog->disp( 'user_css', 'raw');


?>
<script type="text/javascript"> function popUp(url){ window.open(url, "pop", "width = 650, height = 420, top = 90, left = 75, toolbar = 0, scrollbars = 1, resizable = 0") } </script>
</head>
<body>

This might help ... ?

OTOH I'm not sure about the remaining javascript being a good thing or not. Dunno, but whitespace sounds like the guilty party. Lots of times it's like a good teevee show though, so like you think it's the whitespace but only after the last commercial do you realize it's the javascript in the kitchen with the butter knife.

3 Apr 02, 2009 05:47

Ed, you did it again! If I weren't already married you weren't a man (and didn't have a beard, etc.), I'd marry you.

I think the problem was the editor I was using. Kompozer sucks, but it's what I had on my flash drive. It came out totally different in HTML-kit.


Form is loading...