coppermine-gallery.com/forum

Support => cpg1.3.x Support => Older/other versions => cpg1.3 (BBS) Integration / Bridging => Topic started by: Dansko on July 10, 2005, 11:08:29 AM

Title: Undefined index: debug_mode after bridged with phpBB
Post by: Dansko on July 10, 2005, 11:08:29 AM
Hi all (sorry for my English, i'm Dutch and my English is not perfect...),
I just put everything up to let phpBB and Coppermine work together, like written in the help file.
Everything seems to be fine before i started. Now i upload everything, phpBB is still working fine, but Coppermine give an error when i want to go to the index.php.

Put phpBB and Coppermine in same database

Notice: Undefined index: debug_mode in /home/test/public_html/fotoalbum/include/functions.inc.php on line 96
Fatal error :
There was an error while processing a database query

Does anybody knows what i did wrong?
Title: Re: Undefined index: debug_mode after bridged with phpBB
Post by: Dansko on July 10, 2005, 11:16:45 AM
Just turned debug mode on.
Here more detailed error:

Fatal error :

There was an error while processing a database query.


While executing query "SELECT user_id, username as user_name, user_level FROM
`test_forumBB`.phpbb_sessions INNER JOIN `test_forumBB`.phpbb_users ON
session_user_id = user_id WHERE session_id='974f19759ad3f0c4e33c4b919c912773'
AND session_user_id ='2' AND user_active='1'" on 0
mySQL error: select command denied to user: 'test@localhost' for table 'test_sessions'
Title: Re: Undefined index: debug_mode after bridged with phpBB
Post by: Dansko on July 10, 2005, 11:46:57 AM
Found it allready!

In phpbb.inc.php i needed to change at the bottom the TRUE to FALSE!


// database configuration
define('PHPBB_DB_NAME', 'phpBB2'); // The name of the database used by the board
define('PHPBB_BD_HOST', 'localhost'); // The name of the database server
define('PHPBB_DB_USERNAME', 'vanessa'); // 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
// 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', '/forum/');
// 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);
Title: Re: Undefined index: debug_mode after bridged with phpBB
Post by: Nibbler on July 10, 2005, 01:16:31 PM
That wasn't the actual solution. Maybe you forgot to upload the phpbb.inc.php after your initial changes.