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: 1.3.2 integration with phpbb 2.0.11 headers already sent ???  (Read 3293 times)

0 Members and 1 Guest are viewing this topic.

wowzer

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
1.3.2 integration with phpbb 2.0.11 headers already sent ???
« on: January 15, 2005, 08:04:49 am »

I have successfully set up phpbb v2.0.11 and had originally successfully set up CPG 1.3.2 and was attempting to integrate them.  Originally I modded the bridge and include files per tutorial and also added the cpg_redir.php file to my phpbb directory.  Long story short, the integration did not take (still had to log into both phpbb and CPG separately...).  I then wiped out the tables for CPG in my database and deleted the lock file, and reinstalled CPG 1.3.2 and am now getting message follows:

Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/phpBB2/cpg_redir.php:9) in /var/www/html/phpBB2/cpg_redir.php on line 16

Here is my cpg syntax:

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



Please let me know what other info you may need to help troubleshoot.

« Last Edit: January 16, 2005, 12:45:11 am by kegobeer »
Logged

wowzer

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Re: 1.3.2 integration with phpbb 2.0.11 headers already sent ???
« Reply #1 on: January 15, 2005, 11:16:55 pm »

sovled it by modding my redirect file, had html headers in there, should have only had php script per tutorial.
Logged

TheDeJay

  • Coppermine newbie
  • Offline Offline
  • Posts: 12
Re: 1.3.2 integration with phpbb 2.0.11 headers already sent ???
« Reply #2 on: January 27, 2005, 08:51:29 am »

Can you show your code now that it works for the cpg_redir.php file... I'm having same problem and cannot find what you may have done...
Logged
Pages: [1]   Go Up
 

Page created in 0.023 seconds with 16 queries.