Vanilla 1 is no longer supported or maintained. If you need a copy, you can get it here.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
headers already sent errors while skinning
hello hello everyone,
i am attempting integrate my vanilla board (0.9.2.2) into a table my few year old site. the site is in html 4.01 and i know the forum is xhtml 1, which may or may not be part of the problem?
anyway, i am almost to the point where i got it working. i am php including .shtml files (as that is what the site is written in) within each of root files ( /index.php, /search.php, signin.php, etc.). however, when i do this i keep on getting errors that are just slightly different than:
Warning: Cannot modify header information - headers already sent by (output started at http://sub.domain.com/doc.shtml:5) in /home/public_html/vanillaforum/library/Vanilla.Session.class.php on line 27
i have a feeling that it is my fault and not vanilla's. however, i've notice that the people on this board know what they are talking about. so i ask for any assistance people are wiling to share.
otherwise, vanilla makes me soooo happy to finally escape phpbb.
0
This discussion has been closed.
Comments
EDIT: I am an idiot. The link please. I can't believe I clicked on that one (sorry if this is your site )
include("http://sub.domain.com/file.shtml");
this is from /leave.php:
<?php
/*
* Copyright 2003 - 2005 Mark O'Sullivan
* This file is part of Vanilla.
* Vanilla is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
* Vanilla is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
* You should have received a copy of the GNU General Public License along with Vanilla; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
* The latest source code for Vanilla is available at www.lussumo.com
* Contact Mark O'Sullivan at mark [at] lussumo [dot] com
*
* Description: Handle's user sign-outs
*/
include("appg/settings.php");
include("appg/init_external.php");
include("http://sub.domain.com/file.shtml");
// Define properties of the page controls that are specific to this page
$Body->CssClass = "SignOut";
$Context->PageTitle = $Context->GetDefinition("SignOut");
$SignOutForm = $Context->ObjectFactory->NewContextObject($Context, "SignOutForm");
$SignOutForm->LoadData();
$Body->AddControl($SignOutForm);
$Foot->CssClass = "SignOut";
// Add the body to the page
$Page->AddControl("Body_Render", $Body);
$Page->AddControl("Foot_Render", $Foot);
// 4. FIRE PAGE EVENTS
$Page->FireEvents();
include("http://sub.domain.com/file.shtml");
?>