Thanks! Actually there was no space or line break above the <? but there was a closing ?>. I ended up re-downloading the forum zip file from this site and installing it separately. When I did that, it generated a config.php file without the closing ?> Thanks again.
1 2005-03-17 12:07
Re: Running two separate forums under one domain (2 replies, posted in PunBB 1.2 troubleshooting)
2 2005-03-16 21:43
Topic: Running two separate forums under one domain (2 replies, posted in PunBB 1.2 troubleshooting)
I have punbb running on a secondary site on my server. The url of the secondary site is http://www.mysite.com/subsite1/. I have another site in another sub-directory (http://www.mysite.com/subsite2/) that I want to have a separate forum for. The original forum is in a folder called forums in the root directory. I copied and placed punbb into another folder in the root and called it forums2. It installed ok and works fine but at the top of the page I'm getting the following:
Warning: Cannot modify header information - headers already sent by (output started at /home/petroass/public_html/forums2/upload/config.php:26) in /home/petroass/public_html/forums2/upload/header.php on line 31
Warning: Cannot modify header information - headers already sent by (output started at /home/petroass/public_html/forums2/upload/config.php:26) in /home/petroass/public_html/forums2/upload/header.php on line 32
Warning: Cannot modify header information - headers already sent by (output started at /home/petroass/public_html/forums2/upload/config.php:26) in /home/petroass/public_html/forums2/upload/header.php on line 33
Warning: Cannot modify header information - headers already sent by (output started at /home/petroass/public_html/forums2/upload/config.php:26) in /home/petroass/public_html/forums2/upload/header.php on line 34
I created a separate database for this forum, and like I said, it works fine except for that error code I pasted above. Any ideas on what I'm doing wrong? I did delete the config.php file and created a new one when I did the install of this new forum, so it's not that.