Uutiset:

Wondering if this will always be free?  See why free is better.

Main Menu
Advertisement:

Notice

Aloittaja ISOX, lokakuu 30, 2006, 05:24:50 IP

« edellinen - seuraava »

ISOX

hi all,

i've created a page with help of the SII.php file. i've have my SSI.php included the first... here is my <header></header> section of the page:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<?php require("forum/SSI.php");?><html xmlns="http://www.w3.org/1999/xhtml"><head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
<meta name="description" content="Daring Dummies - Index" />
<meta name="keywords" content="PHP, MySQL, bulletin, board, free, open, source, smf, simple, machines, forum" />
<script language="JavaScript" type="text/javascript" src="http://daringdummies.armygame.nl/forum/Themes/default/script.js?rc3"></script>
<script language="JavaScript" type="text/javascript"><!-- // --><![CDATA[
var smf_theme_url = "http://daringdummies.armygame.nl/forum/Themes/default";
var smf_images_url = "http://daringdummies.armygame.nl/forum/Themes/default/images";
var smf_scripturl = "http://daringdummies.armygame.nl/forum/index.php?PHPSESSID=a133c4e62d42f910ee6c831360701969&amp;";
// ]]></script>
<title>Daring Dummies - Index</title>
<link rel="stylesheet" type="text/css" href="http://daringdummies.armygame.nl/forum/Themes/default/style.css?rc3" />
<link rel="stylesheet" type="text/css" href="http://daringdummies.armygame.nl/forum/Themes/default/print.css?rc3" media="print" />
<link rel="search" href="http://daringdummies.armygame.nl/forum/index.php?PHPSESSID=a133c4e62d42f910ee6c831360701969&amp;action=help" target="_blank" />
<link rel="search" href="http://daringdummies.armygame.nl/forum/index.php?PHPSESSID=a133c4e62d42f910ee6c831360701969&amp;action=search" />
<link rel="contents" href="http://daringdummies.armygame.nl/forum/index.php?PHPSESSID=a133c4e62d42f910ee6c831360701969&amp;" />
<link rel="alternate" type="application/rss+xml" title="Daring Dummies - RSS" href="http://daringdummies.armygame.nl/forum/index.php?PHPSESSID=a133c4e62d42f910ee6c831360701969&amp;type=rss;action=.xml" />

<script language="JavaScript" type="text/javascript"><!-- // --><![CDATA[
var current_header = false;

function shrinkHeader(mode)
{
document.cookie = "upshrink=" + (mode ? 1 : 0);
document.getElementById("upshrink").src = smf_images_url + (mode ? "/upshrink2.gif" : "/upshrink.gif");

document.getElementById("upshrinkHeader").style.display = mode ? "none" : "";
document.getElementById("upshrinkHeader2").style.display = mode ? "none" : "";

current_header = mode;
}
// ]]></script>
<script language="JavaScript" type="text/javascript"><!-- // --><![CDATA[
var current_header_ic = false;

function shrinkHeaderIC(mode)
{
document.cookie = "upshrinkIC=" + (mode ? 1 : 0);
document.getElementById("upshrink_ic").src = smf_images_url + (mode ? "/expand.gif" : "/collapse.gif");

document.getElementById("upshrinkHeaderIC").style.display = mode ? "none" : "";

current_header_ic = mode;
}
// ]]></script>
</head>


when i view the page BEFORE viewing the forom i get this Notice:
LainaaNotice: SSI.php was unable to load a session! This may cause problems with logout and other functions - please make sure SSI.php is included before *anything* else in all your scripts! in /home/virtual/site23/fst/home/daringdummies/public_html/forum/SSI.php on line 158

anyone has a solution? Thanks in advance!

winrules

Require SSI before the doctype.


winrules
SMF Developer
               
My Mods
Please do not PM me for support.


ISOX

 :-X oops.. i feel stupid now! haha thanks

Advertisement: