Welcome, Guest. Please Login or Register.
October 04, 2024, 05:25:14 AM
Home Help Search Log in Register
News: SMF is the next generation in forum software, almost completely re-written from the ground up, make sure you don't fall for cheap imitations that suffer from feature bloat!

YaBB SE Community  |  English User Help  |  English Help  |  Weird Problem with SSI Includes « previous next »
Pages: [1] Reply Ignore Print
Author Topic: Weird Problem with SSI Includes  (Read 449 times)
HeTz
Noobie
*
Posts: 5


:)

HeTz@starband.net WWW
Weird Problem with SSI Includes
« on: May 08, 2003, 02:43:41 PM »
Reply with quote

To see this problem for yourself, please visit http://www.lanops.net (You might have to open a new instance of IE and type it in to recreate the problem.)

What happens is the page displays wrong on the FIRST display... but when you refresh it by pressing F5 or the refresh button in IE, it displays correctly.  If you exit IE, re-open IE, and go back to the page, it will do the same thing.  I have tried to fix this error, but have been unable to do so.  I have an idea of what is going on, but I cannot fix it.  My website operates off of numerous includes.  Here is the content of index.php (the main page):


<?php require("/home/lanops/public_html/header.php"); ?>
<?php require("/home/lanops/public_html/menu.php"); ?>
<?php require("/home/lanops/public_html/stats.php"); ?>
<?php require("/home/lanops/public_html/poll.php"); ?>
<?php require("/home/lanops/public_html/indexbody.php"); ?>
<?php require("/home/lanops/public_html/links.php"); ?>
<?php require("/home/lanops/public_html/sponsors.php"); ?>
<?php require("/home/lanops/public_html/files.php"); ?>
<?php require("/home/lanops/public_html/footer.php"); ?>


If you notice, the first line includes header.php.  The header.php is where the SSI.php line include is:


<?php require("./yabbse/SSI.php"); ?>


What appears to happen is, when you look at the source of the incorrectly displayed page, it cuts off all the HTML in the header.php, menu.php, and stats.php but then continues with the poll.php on down.  Header.php and stats.php BOTH use functions from SSI.php.  I have tried different kinds of includes to no avail.  I would appreciate ANY help on this matter.  I'm using version 1.5.1 - Thanks for all the help.
« Last Edit: May 08, 2003, 02:45:11 PM by HeTz » Logged

Spaceman-Spiff
Mod Team
YaBB God
*****
Posts: 3689


My $txt[228]

Re:Weird Problem with Ssi Includes
« Reply #1 on: May 08, 2003, 05:42:12 PM »
Reply with quote

pls read this: http://www.yabbse.org/community/index.php?board=137;action=display;threadid=20668;start=0
Logged

   My mods, ysePak, codes, tutorials
    Support question IMs = bad.
HeTz
Noobie
*
Posts: 5


:)

HeTz@starband.net WWW
Re:Weird Problem with Ssi Includes
« Reply #2 on: May 08, 2003, 07:21:27 PM »
Reply with quote

Thank you for replying to my post, but that did not work.  Here's what my header says now:

<?php require("/home/lanops/public_html/yabbse/SSI.php");?>
<?chdir("/home/lanops/public_html");?>
<HTML>

<HEAD>
...


Still doesn't work.
Logged

[Unknown]
Global Moderator
YaBB God
*****
Posts: 7830


ICQ - 179721867unknownbrackets@hotmail.com WWW
Re:Weird Problem with Ssi Includes
« Reply #3 on: May 08, 2003, 10:31:00 PM »
Reply with quote

Get rid of the session stuff in SSI.php.

-[Unknown]
Logged
Pages: [1] Reply Ignore Print 
YaBB SE Community  |  English User Help  |  English Help  |  Weird Problem with SSI Includes « previous - next »
 


Powered by MySQL Powered by PHP YaBB SE Community | Powered by YaBB SE
© 2001-2003, YaBB SE Dev Team. All Rights Reserved.
SMF 2.1.4 © 2023, Simple Machines
Valid XHTML 1.0! Valid CSS

Page created in 0.055 seconds with 20 queries.