I have run into an error intergrating a phpbb forum with cpg133. I think that the problem is the result of an error that I have made on the cpg-redir.php page. Here is what I have:
<p><?php<br>
if (!$_SERVER['HTTP_HOST']) {<br>
$cpg_host=$HTTP_SERVER_VARS['www.midwestgardener.com/cpg133'];<br>
} else {<br>
$cpg_host=$_SERVER['www.midwestgardener.com/cpg133'];<br>
}<br>
$cpg_path='www.midwestgardener.com/cpg133';<br>
header("Location: http://".$cpg_host.$cpg_path);<br>
exit;<br>
?></p>
My guess is that I have the paths wrong. Any advice?
Thanks,
David
Put it back as it was, the only thing you edit in that file is the value of $cpg_path which you set to the path to your board.
Actually, I did re-set before I saw your replay. Thanks. Unfortunately, I still get this error message: "Fatal error :There was an error while processing a database query."
I have gone through the instructions twice and I am not sure where I made a mistake(s). Any suggestions on where to look?
Thanks,
David
Hmmmm. I want to add Coppermine to a second site as well. I installed Coppermine and made sure that it was working. I then went through the bridge changes and had the same error message as on the first site. I was very careful. Obviously, I have made the same mistake(s) again, I am just not sure what they are.
Perplexed,
David
Enable debug mode and post the sql error message. I'm guessing your forum and gallery aren't in the same database, which is a requirement for bridging.
Ummm. Now I am feeling a tad dumb. They are on the same database. And, I am not sure how to enable debug. Time to go back to Documentation section.
David