I'm not sure, but I believe there is a redirect issue somewhere in my site. I had CPG and PHPBB working perfectly together about a week ago, until a server crash lost everything. I've re-installed both and they work just fine alone. After 3 days of trying everything I can think of, I'm asking for help here. (Which is
VERY much appreciated)
It's probably a very simple fix I'm just not seeing.
Web Site Name: www.cartoongypsy.comCpg Path: www.cartoongypsy.com/gallery/PHPBB Path: www.cartoongypsy.com/phpbb/PHPBB Settings:Cookie domain: cartoongypsy.com
Cookie name: phpbb2mysql
Cookie path: /
Test Account:
username: test_user
password: test
CPG Settings:Gallery name: cartoongypsy.com
Name of the cookie used by the script: cpg11d
Path of the cookie used by the script: /
init.inc.php// User database integration
// Uncomment the applicable line if you want to use it
define('UDB_INTEGRATION', 'phpbb');
// define('UDB_INTEGRATION', 'invisionboard');
// define('UDB_INTEGRATION', 'vbulletin');
// define('UDB_INTEGRATION', 'yabbse');
phpbb.inc.php// database configuration
define('PHPBB_DB_NAME', 'cartoon_phpb1'); // The name of the database used by the board
define('PHPBB_BD_HOST', 'localhost'); // The name of the database server
define('PHPBB_DB_USERNAME', 'cartoon_phpb1'); // The username to use to connect to the database
define('PHPBB_DB_PASSWORD', '********'); // The password to use to connect to the database
// The web path to your phpBB directory
// In this example
http://yoursite_name.com/phpBB2/define('PHPBB_WEB_PATH', '/phpbb/');
// ------------------------------------------------------------------------- //
// You can keep the default values below if your instalation is standard
// ------------------------------------------------------------------------- //
// The prefix for the phpBB cookies
define('PHPBB_COOKIE_PREFIX', 'phpbb2mysql'); // The prefix used for board cookies
cpg_redir.php<?php
if (!$_SERVER['HTTP_HOST']) {
$cpg_host=$HTTP_SERVER_VARS['HTTP_HOST'];
} else {
$cpg_host=$_SERVER['HTTP_HOST'];
}
$cpg_path='/gallery/';
header("Location: http://".$cpg_host.$cpg_path);
exit;
?>
Thank you very much,
Dave Lee