[Solved]: PhpBB Integration Issues [Solved]: PhpBB Integration Issues
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

[Solved]: PhpBB Integration Issues

Started by P1mpJuice, August 10, 2004, 03:59:20 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

P1mpJuice

I've been lurking the forums for quite sometime and I still can't get my phpbb integration to work with Coppermine.

Here is currently what I have.

Bulletin Board: www.ghostsoldiers.org/phpBB2/
Gallery: www.ghostsoldiers.org/gallery/

Gallery Cookie Information

Cookie: ghostgallery
Path of Cookie: /gallery/

Forum Cookie Information

Cookie: gsphpbb
Path of Cookie: /phpBB2/

Bridge Information
// database configuration
define('PHPBB_DB_NAME', 'ghosty'); // The name of the database used by the board
define('PHPBB_BD_HOST', 'localhost'); // The name of the database server
define('PHPBB_DB_USERNAME', 'ghostadmin'); // The username to use to connect to the database
define('PHPBB_DB_PASSWORD', 'xxxxxxx'); // The password to use to connect to the database

// The web path to your phpBB directory
// If your URL to your board is for example 'http://yoursite_name.com/phpBB2/',
// you'll have to set the below var to '/phpBB2/'.
define('PHPBB_WEB_PATH', '/phpBB2/');
// Logout Flag
// the value of this boolean constant depends on your phpBB version:
// If your version of phpBB is 2.0.4 or lower - change the value to FALSE;
// if your version of phpBB is 2.0.5 or newer - leave it as TRUE
define('PHPBB_LOGOUT_GET', TRUE);
// ------------------------------------------------------------------------- //
// You can keep the default values below if your instalation is standard
// ------------------------------------------------------------------------- //
// The prefix for the phpBB cookies
define('PHPBB_COOKIE_PREFIX', '/gsphpbb'); // The prefix used for board cookies

Any help would be appreciated.

Thanks,
P1mpJuice

Nibbler

1) You need to change phpbb's cookie path to /
2) You need to set PHPBB_COOKIE_PREFIX to 'gsphpbb'

P1mpJuice

Ok, I changed the following

From: define('PHPBB_COOKIE_PREFIX', '/gsphpbb'); // The prefix used for board cookies

To: define('PHPBB_COOKIE_PREFIX', 'gsphpbb'); // The prefix used for board cookies

Proceeded to login to the forum and add / to my cookie path.  From /phpBB2/ to /phpBB2

Is that correct?

Nibbler

Your cookie path needs to be just '/' ie. only a forward slash on its own.

P1mpJuice