coppermine-gallery.com/forum

Support => cpg1.3.x Support => Older/other versions => cpg1.3 (BBS) Integration / Bridging => Topic started by: setth on November 04, 2004, 12:12:27 AM

Title: error after login (PHPBB integrated with cpg)
Post by: setth on November 04, 2004, 12:12:27 AM
after installing phpbb forum and cpg, and modifying the files and creating the cpg_redir.php file (see below) im getting the folowwing error:


Warning: Cannot modify header information - headers already sent by (output started at /''/''/''/''/phpbb/cpg_redir.php:2) in /''/''/''/''/phpbb/cpg_redir.php on line 9

wat does this error mean?


cpg_redir.php file<?php

if (!$_SERVER['HTTP_HOST']) {
  $cpg_host=$HTTP_SERVER_VARS['HTTP_HOST'];
} else {
  $cpg_host=$_SERVER['HTTP_HOST'];
}
$cpg_path='/cpg/';
header("Location: http://".$cpg_host.$cpg_path);
exit;
?>

Title: Re: error after login (PHPBB integrated with cpg)
Post by: Joachim Müller on November 04, 2004, 10:28:52 AM
link and test user account (non-admin)?

Joachim
Title: Re: error after login (PHPBB integrated with cpg)
Post by: Nibbler on November 04, 2004, 09:56:51 PM
You probably have something before the opening <?php