Welcome, Guest. Please Login or Register.
August 28, 2025, 04:42:36 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  |  Cant get SSi.php to include « previous next »
Pages: [1] Reply Ignore Print
Author Topic: Cant get SSi.php to include  (Read 372 times)
tore-
Sr. Member
****
Posts: 291


I love YaBB SE!

Cant get SSi.php to include
« on: April 04, 2002, 07:50:00 PM »
Reply with quote

test.php contains:
<?phprequire("/var/www/html/forum/SSI.php");recentTopics();?>

it gives ok output when www.filmanmelderen.com/test.php

but when i take <?php include test.php; ?> in index.php i get this error msg:
Warning: Cannot add header information - headers already sent by (output started at /var/www/html/header.php:12) in /var/www/html/forum/Sources/Load.php on line 48

Warning: Cannot add header information - headers already sent by (output started at /var/www/html/header.php:12) in /var/www/html/forum/Sources/Load.php on line 49

Warning: Cannot add header information - headers already sent by (output started at /var/www/html/header.php:12) in /var/www/html/forum/Sources/Load.php on line 50

Warning: Cannot add header information - headers already sent by (output started at /var/www/html/header.php:12) in /var/www/html/forum/Sources/Load.php on line 51
» [Poll] Hvilken 3d-animert film er din favoritt? in Vanlig diskusjon by Tore Today at 09:01:40
» Training Day in Filmmusikk by Tore Today at 09:01:11
» the rock in Vanlig diskusjon by Tore Today at 09:00:42
» Oppgradert forumet m.m. in Nyheter by Tore 03 April, 2002, 12:36:10
» black hawk down in Vanlig diskusjon by grafi 24 March, 2002, 21:50:30
» From Hell! in Omtalediskusjon by Stefan 18 March, 2002, 14:06:28
» An Error Has Occurred! in Bugrapport by Tore 15 March, 2002, 15:58:59
» Jeg er dina in Filmmusikk by Carl 15 March, 2002, 12:15:55


but i get the output.


any ideas?
Logged

Star wars rules!
Hypocrite
YaBB God
*****
Posts: 692


For To End Yet Again

dimmuh@gmx.net WWW
Re:Cant get SSi.php to include
« Reply #1 on: April 04, 2002, 07:58:41 PM »
Reply with quote

I had similar problems with my language file and SSI.php. My problem was that the language file had empty rows in the end. After removing those it started working. Maybe you should check your header.php line 12.
Logged
tore-
Sr. Member
****
Posts: 291


I love YaBB SE!

Re:Cant get SSi.php to include
« Reply #2 on: April 04, 2002, 08:30:16 PM »
Reply with quote

line 12:
<META NAME="keywords" CONTENT="film, omtaler, video, dvd, kino, anmeldelse, premiere, bergen, kino, filmanmelderen">   :D
Logged

Star wars rules!
Hypocrite
YaBB God
*****
Posts: 692


For To End Yet Again

dimmuh@gmx.net WWW
Re:Cant get SSi.php to include
« Reply #3 on: April 04, 2002, 08:52:25 PM »
Reply with quote

Uhh... haven't got a clue on this one =)
Logged
tore-
Sr. Member
****
Posts: 291


I love YaBB SE!

Re:Cant get SSi.php to include
« Reply #4 on: April 05, 2002, 03:19:10 PM »
Reply with quote

is there somehow test.php could write the info to a txt file?
Logged

Star wars rules!
Michele
Beta Tester
YaBB God
*****
Posts: 584


I can't wait for YaBB SE 2!

Mad+Moya WWW
Re:Cant get SSi.php to include
« Reply #5 on: April 05, 2002, 05:53:47 PM »
Reply with quote

I had a similar problem. Make sure that <? require... ?> really is the first line in index.php - above <HTML>.

It wasn't in mine (FrontPage kept moving it to just below <body>), and while it worked if the user was logged in, I saw the same kind of header messages you did when the user wasn't logged in. Weird, huh?

Like you, the information still displayed properly, I just got those header errors on the top of my page too. :)

Good luck, MM
Logged

formerly Mad Moya
PfaBB - http://pfabb.lunabyte.com
tore-
Sr. Member
****
Posts: 291


I love YaBB SE!

Re:Cant get SSi.php to include
« Reply #6 on: April 05, 2002, 09:47:58 PM »
Reply with quote

have checked that now, change some stuff, still didnt work
Logged

Star wars rules!
Pages: [1] Reply Ignore Print 
YaBB SE Community  |  English User Help  |  English Help  |  Cant get SSi.php to include « 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 17 queries.