1.3.2 integration with phpbb 2.0.11 headers already sent ??? 1.3.2 integration with phpbb 2.0.11 headers already sent ???
 

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

1.3.2 integration with phpbb 2.0.11 headers already sent ???

Started by wowzer, January 15, 2005, 08:04:49 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

wowzer

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.


wowzer

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

TheDeJay

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...