ok...dispite the instructions of making your gallery cookie name and the phpbb cookie name match, i was still having problems myself... my setup is phpBB 2.0.6 and cpg 1.2.1
so, try this...
[edit, my bridge file and phpbb cookie name match but the gallery cookie in the config page is different]
Go to your config page in the gallery (if you can) and set the gallery cookie name something OTHER than your phpbb cookie name...
if you cannot access your gallery config, you must change the cookie name in SQL using something like phpMyAdmin...
if you do not have access to your database, you can use this code to change your cookie name...
just paste the following into a file, name it cpg_cookie.php and run it....
<?
// Change the following to fit your setup
$db_server = "localhost"; // Change if neccessary
$db_user = "root"; // Change if neccessary
$db_passwd = ""; // Change if neccessary
$db_name = "phpbb"; // Change if neccessary
$db_prefix = "cmg_"; // This is the prefix for your GALLERY -NOT- PHPBB!!
$new_cookie = "cpgcookie"; // This is the name of your new cookie
// Connecting to your database
$db = mysql_connect("$db_server", "$db_user", "$db_passwd");
mysql_select_db("$db_name",$db);
echo "Connecting to your database....";
// Getting current cookie name
$sql="SELECT name, value FROM {$db_prefix}config WHERE name = 'cookie_name'";
$result=mysql_query($sql,$db);
if(!$result)
{
echo "<b>Could not connect to your database.</b><br><br>" . mysql_error();
die;
}
$row = mysql_fetch_array($result);
echo "<b>Done</b><br><br>";
echo 'Your current cookie is <b>'.$row["value"].'</b><br><br>We will now set it to '.$new_cookie.'....';
// Change your cookie
$sql="UPDATE {$db_prefix}config SET value = '$new_cookie' WHERE name = 'cookie_name'";
$result=mysql_query($sql,$db);
if(!$result)
{
echo "<b>Could not connect to your database.</b><br><br>" . mysql_error();
die;
}
echo "<b>Done</b>";
?>