News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

problem using simple ssi on main site page

Started by Cletus, January 29, 2006, 04:01:32 PM

Previous topic - Next topic

Cletus

OK I just read the SSI basic faq.  So I took a stab at putting the forum stats on my main site page here:

http://www.thesportsbar.info/ [nofollow]

and i'm only getting that white box.

What am I doing wrong?  Everything worked fine when I did this on a page by itself as per the basic faq directions.  Now I try it in a table cell and nothing.  Keep in mind this is all pretty new to me.


    <th width="13%" height="244" STYLE="border: 1px solid black;" bgcolor="#FFFFFF" scope="row">
  <?php
  require("/home/cletus/domains/thesportsbar.info/public_html/forum/SSI.php");
  ssi_boardStats(); ?>
    </th>

Minalien

Try this:

<th width="13%" height="244" STYLE="border: 1px solid black;" bgcolor="#FFFFFF" scope="row">
<?php
require_once "forum/SSI.php";
ssi_boardStats();
?>
</th>


You had the entire local route from the top directory of your server, you only need what's past the public_html/ part (in this case, forum/SSI.php)
あたしは女の子になりたいです。

Cletus

sorry it worked i had just forgot to change my page from .htm to .php.   :P

Advertisement: