I put the code on a page called test.php. If I open the browser and go to test.php in the browser session before I go to my forum index, I get the following error:
PHP Code:
Warning: Cannot modify header information - headers already sent by (output started at '/home/virtual/www/public_html/test.php:23)
in '/home/virtual/www/public_html/forums/admin/functions.php on line 1628
the member verification notes ("You are not logged in", "Welcome back, $username") still display, but the above error appears.
If I visit the forum index, however, then reload test.php after that, the error message will be gone. Why is this?