error after login (PHPBB integrated with cpg) error after login (PHPBB integrated with cpg)
 

News:

CPG Release 1.6.27
change DB IP storage fields to accommodate IPv6 addresses
remove use of E_STRICT (PHP 8.4 deprecated)
update README to reflect new website
align code with new .com CPG website
correct deprecation in captcha

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