Simple Machines Community Forum

General Community => Scripting Help => Aiheen aloitti: Scferg - tammikuu 06, 2008, 11:46:57 IP

Otsikko: SSI Help
Kirjoitti: Scferg - tammikuu 06, 2008, 11:46:57 IP
Ok, I'm using the instructions on the ...forum-directory/ssi_exmaples.php and I did exactly what it said. And I'm trying to use the <?php ssi_welcome(); ?> function, but the resulting page is completely blank. Once I remove the <?php require("/home/server-name/public_html/forum-directory/SSI.php"); ?> code, the page is fine. Of course the php Member Function code returns an error. What am I doing wrong.

I started to doubt that my server support this function or something, but I copied the exact code and put it in the same directory as I'm testing this in and it turns out fine.

So any help would be greatly appreciated.
Otsikko: Re: SSI Help
Kirjoitti: MadnessRed - tammikuu 24, 2008, 06:05:27 IP
you need to change "/home/server-name/public_html/forum-directory/SSI.php" to you forum folder, from example for me i have to use "forum/SSI.php"