2005-11-25, 01:53 PM
Hi all
I'm trying to include the portal.php in another php file I want to use as the home page..
<? include 'portal.php'; ?>
(all I have in the portal template is the $welcome .. I don't want to use the portal template as the home page as there are other scripts I want to call .. and they don't work from the portal template .. only "$variables" will .. and thats over my head!)
I get this error ...
Warning: Cannot modify header information - headers already sent by (output started at /home/xxxx/xxxx/xxxx.org/public_html/test.php:12) in /home/xxxx/xxxx/xxxx.org/public_html/inc/functions.php on line 849
Can anyone tell me what to edit out in the portal.php to stop it sending
the header info?
I'm using PR2.
Thanx in advance
I'm trying to include the portal.php in another php file I want to use as the home page..
<? include 'portal.php'; ?>
(all I have in the portal template is the $welcome .. I don't want to use the portal template as the home page as there are other scripts I want to call .. and they don't work from the portal template .. only "$variables" will .. and thats over my head!)
I get this error ...
Warning: Cannot modify header information - headers already sent by (output started at /home/xxxx/xxxx/xxxx.org/public_html/test.php:12) in /home/xxxx/xxxx/xxxx.org/public_html/inc/functions.php on line 849
Can anyone tell me what to edit out in the portal.php to stop it sending
the header info?
I'm using PR2.
Thanx in advance