News:

CPG Release 1.6.31
Minor maintenance release
Clean up remaining remnants of the .net CPG website
Improved installer_stub compatibility with various server configurations

Main Menu

error after login (PHPBB integrated with cpg)

Started by setth, November 04, 2004, 12:12:27 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

setth

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;
?>


Joachim Müller

link and test user account (non-admin)?

Joachim

Nibbler

You probably have something before the opening <?php