1 jkvanbeck Apr 29, 2008 07:45
3 jkvanbeck Apr 29, 2008 17:15
line 6 is my title
<title>Current Jam</title>
Is there any way I can get B2 to not sent out the title information?
4 afwas Apr 29, 2008 17:23
hi jkvanbeck,
Check the same file and look for whitespace *before* the first <?php or *after* the closing ?>.
Remove that and your problem should be solved.
Good luck
5 jkvanbeck Apr 29, 2008 17:26
here is how I call my stub file within my main.php file
<div id="content">
<p> </p>
<p><?php
$blog = 1;
$skin = 'BasicJAKE';
$show_statuses = array();
$blogroll_blog = 4;
$blogroll_cat = '';
$blogroll_catsel = array( );
$timestamp_min = '';
$timestamp_max = 'now';
include(dirname(__FILE__).'../../../blogs/blog1.php');
?></p>
</div>
the rest of my main.php file is html coding... what i pasted above is the only part where there is php coding.
6 edb Apr 30, 2008 00:41
b2evolution is made to make the entire page. Sticking it inside an existing page is asking for troubles like what you've got. I'm sure it can be done the way you are doing it but I've no idea how. Much easier, in my opinion, to simply let b2evolution make the page.
7 jkvanbeck Apr 30, 2008 18:00
I have figured out that the reason why I am getting this error is because inside my HTML code where I have my php statement. The php statement is tring to set a cookie and you cannot set cookies inside of HTML code.
Is there anyway to disable cookies just for people who are viewing the site?
8 jkvanbeck May 01, 2008 04:27
I fixed it.... I used this post http://forums.b2evolution.net/viewtopic.php?t=14716&start=0&postdays=0&postorder=asc&highlight= and it WORKS NOW!!!! It is the best thing ever.
You're looking in the wrong file ;)
(output started at /home/sites/site21/web/betapage/Take2/main.php:6)
¥