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

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

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