HOME | DOWNLOAD | SUPPORT | INSTALLATION | FAQ | SUPPORT FORUM | DEMO
 ° Forums ° Statistics ° Registration ° Search ° Manual °
SkaLinks Forum / Technical Support / rss feeds
Author Message
kashyyyk
Member

Posted: 18 Mar 2006 14:09:35


I made a bunch of news feeds that appear on the site, but I now get an error after I try to log in to admin.

I get at the top of the page the following messages-

Warning: Cannot modify header information - headers already sent by (output started at /home/allabou/public_html/rss.php:1) in /home/allabou/public_html/SkaLinks_include/SkaLinks.class.php on line 1830

Warning: Cannot modify header information - headers already sent by (output started at /home/allabou/public_html/rss.php:1) in /home/allabou/public_html/SkaLinks_include/SkaLinks.class.php on line 1831

Warning: Cannot modify header information - headers already sent by (output started at /home/allabou/public_html/rss.php:1) in /home/allabou/public_html/SkaLinks_include/SkaLinks.class.php on line 1832


I made a rss.php page that reads the feeds for placement on the page. In my header.php I have require_once( 'rss.php' );

The feeds display correct. If I remove the require_once( 'rss.php' ); from the header.php, I can log in to admin but I have no feeds.

How can I keep the feeds and be able to log into admin?

Dan

kashyyyk
Member

Posted: 27 Mar 2006 08:41:18


Any programers have any idea on this

Dan

skalinks
Admin

Posted: 31 Mar 2006 05:54:10


Hello kashyyyk
Please, check this code in your /home/allabou/public_html/rss.php file. I think, that you try to send headers after they was send in Skalinks.class.php file.
Also, whould you write the code of this rss.php script

Thank you!

kashyyyk
Member

Posted: 31 Mar 2006 13:12:49


Actually I fixed it and it was simple. I did google search on headers already sent by

and what it said was any blank lines after closing ?> on a php pages can cause it. I had some on a couple php pages I made, so I removed them and the problem went away.