Welcome, Guest. Please Login or Register.
August 02, 2025, 02:28:16 PM
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  |  Ssi not integrating right? « previous next »
Pages: [1] Reply Ignore Print
Author Topic: Ssi not integrating right?  (Read 457 times)
shanemcbr
Noobie
*
Posts: 9


I'm a llama!

Ssi not integrating right?
« on: March 22, 2003, 05:16:27 PM »
Reply with quote

I have a site that I am usign SSI on.

It behaves weird! The boardstats function is stumping me. Look at http://www.intorecovery.com/main.php on the right column look at board stats. The font isn't like the rest of the site. Now, refresh and it is correct. The html code looks fine.

Part of the stats are not included as well. I wonder if it is processing too fast?

Shane
« Last Edit: March 22, 2003, 05:17:09 PM by shanemcbr » Logged
Spaceman-Spiff
Mod Team
YaBB God
*****
Posts: 3689


My $txt[228]

Re:Ssi not integrating right?
« Reply #1 on: March 22, 2003, 10:11:38 PM »
Reply with quote

here's the problem:
<div align="center"><font
     Total Members: ><a href="http://www.intorecovery.com/forums/index.php?action=mlall">1</a><br />

your font tag isn't closed, missing a '>'
edit your main.php
« Last Edit: March 22, 2003, 10:12:17 PM by Spaceman-Spiff » Logged

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


I'm a llama!

Re:Ssi not integrating right?
« Reply #2 on: March 22, 2003, 10:16:50 PM »
Reply with quote

Actually it is closed in the html, it just doesn't parse closed. Here's the whole table row:

<tr>
<td>
<div align="center">
<font face="Verdana, Arial, Helvetica, sans-serif" size="1">
<? boardStats(); ?>
</font>
</div>
</td>
</tr>
Logged
Spaceman-Spiff
Mod Team
YaBB God
*****
Posts: 3689


My $txt[228]

Re:Ssi not integrating right?
« Reply #3 on: March 22, 2003, 10:34:37 PM »
Reply with quote

looks like it's fine now, maybe u just forgot to reupload :P
Logged

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


I'm a llama!

Re:Ssi not integrating right?
« Reply #4 on: March 22, 2003, 11:24:18 PM »
Reply with quote

Here's the thing:

The font tag doesn't close on the initial load of the page. Clcik the reload button and its there. It's like its parsing so fast it gets ahead of itself.

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


My $txt[228]

Re:Ssi not integrating right?
« Reply #5 on: March 22, 2003, 11:34:02 PM »
Reply with quote

oh, weird...
try removing the font tag and use css style class...
Logged

   My mods, ysePak, codes, tutorials
    Support question IMs = bad.
Nemesis
What's an Admin?
Global Moderator
YaBB God
*****
Posts: 2199


WWW
Re:Ssi not integrating right?
« Reply #6 on: March 23, 2003, 05:46:02 AM »
Reply with quote

remove the session codes in SSI.php and see if it works.
« Last Edit: March 23, 2003, 05:46:33 AM by Nemesis » Logged


Want to say thanks?
*************************************
DONATE or check out my WishList
*********************************
shanemcbr
Noobie
*
Posts: 9


I'm a llama!

Re:Ssi not integrating right?
« Reply #7 on: March 23, 2003, 03:42:35 PM »
Reply with quote

Comment this area out?:
if (function_exists('session_start'))
{
   session_start();
   $sc = session_id();
}
else
   $sc = '';

What impact will this have?


Thanks!
Shane
« Last Edit: March 23, 2003, 03:43:02 PM by shanemcbr » Logged
Nemesis
What's an Admin?
Global Moderator
YaBB God
*****
Posts: 2199


WWW
Re:Ssi not integrating right?
« Reply #8 on: March 23, 2003, 04:21:07 PM »
Reply with quote

Just give it a try.... it logout function is the only one that uses, and you are not using the logout function anyways.

When remove on some servers the SSI.php script actual works better. When I moved to my new server SSI.php was making my tables look like crap untill I refreshed. (Similar problem you have but with tables not font) Then I removed the Session Check and BAM! Everything worked.
Logged


Want to say thanks?
*************************************
DONATE or check out my WishList
*********************************
shanemcbr
Noobie
*
Posts: 9


I'm a llama!

Re:Ssi not integrating right?
« Reply #9 on: March 23, 2003, 05:39:45 PM »
Reply with quote

That worked like a charm! Excellent!

Thanks so much!

Shane
Logged
Nemesis
What's an Admin?
Global Moderator
YaBB God
*****
Posts: 2199


WWW
Re:Ssi not integrating right?
« Reply #10 on: March 23, 2003, 09:17:16 PM »
Reply with quote

NP, don't know why session cause the problem. It is weird.

That check is only needed for the lougout ssi function. If you are not using it, It is no big deal. Don't even know why logout session check is need also. Not like a hacker going to hack logout to log himself out.  ;D
Logged


Want to say thanks?
*************************************
DONATE or check out my WishList
*********************************
Pages: [1] Reply Ignore Print 
YaBB SE Community  |  English User Help  |  English Help  |  Ssi not integrating right? « 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.015 seconds with 20 queries.