using php include to add blog to page

Random stuff about serendipity. Discussion, Questions, Paraphernalia.
Post Reply
lkelly
Regular
Posts: 13
Joined: Fri Jul 15, 2005 1:58 am

using php include to add blog to page

Post by lkelly »

I'm trying to simply use the php include function to add the index.php page from the serendipity directory to my main page. I immediately get a slew of errors:

All are "Warning: Cannot modify header information - headers already sent by"
index.php on line 19
index.php on line 20
serendipity_config.inc.php on line 162

Any thoughts? The main .php file which is calling the include function is in a different directory than the serendipity index.php.

I'm guessing this is a path issue.
lkelly
Regular
Posts: 13
Joined: Fri Jul 15, 2005 1:58 am

Post by lkelly »

I think I resolved it by moving the two files into the same root serendipity folder.
Post Reply