Page 1 of 1

using php include to add blog to page

Posted: Tue Jul 19, 2005 11:26 pm
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.

Posted: Wed Jul 20, 2005 1:10 am
by lkelly
I think I resolved it by moving the two files into the same root serendipity folder.