Advanced search  

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]

Pages: [1]   Go Down

Author Topic: error after login (PHPBB integrated with cpg)  (Read 2959 times)

0 Members and 1 Guest are viewing this topic.

setth

  • Coppermine newbie
  • Offline Offline
  • Posts: 1
error after login (PHPBB integrated with cpg)
« 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;
?>

Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: error after login (PHPBB integrated with cpg)
« Reply #1 on: November 04, 2004, 10:28:52 am »

link and test user account (non-admin)?

Joachim
Logged

Nibbler

  • Guest
Re: error after login (PHPBB integrated with cpg)
« Reply #2 on: November 04, 2004, 09:56:51 pm »

You probably have something before the opening <?php
Logged
Pages: [1]   Go Up
 

Page created in 0.015 seconds with 15 queries.