The SitePoint Forums have moved.

You can now find them here.
This forum is now closed to new posts, but you can browse existing content.
You can find out more information about the move and how to open a new account (if necessary) here.
If you get stuck you can get support by emailing forums@sitepoint.com

If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

Something mangled your file. It would never have worked like that on the other server, so the file got changed somehow. You don't want to try to fix all these files. Just get them uploaded correctly, try different programs.

I just uploaded the file from the other server, and I changed one bit.

[php] $url .= $script_path;
header('Location: ' . $url);
exit;
}[/php

I changed to:

PHP Code:

$url .= $script_path;
header('Location: index.php');
exit;
}

Should I have left it alone?

Either way, I am still getting this error:

PHP Code:

Warning: Cannot modify header information - headers already sent by (output started at /home/content/m/y/s/myslashtruck/html/forums/config.php:19) in /home/content/m/y/s/myslashtruck/html/forums/common.php on line 161

You are obviously changing more than that
Your code was semi-correct in post #3 and mangled in #6.

The reason you are getting the Cannot modify header information error is because you are outputting something before header('Location: index.php') is called.
Either that or there is whitespace before your first opening php tag.