forum.coppermine-gallery.net
Support => cpg1.3.x Support => Older/other versions => cpg1.3 (BBS) Integration / Bridging => Topic started by: wowzer 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.
-
sovled it by modding my redirect file, had html headers in there, should have only had php script per tutorial.
-
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...