Undefined index: debug_mode after bridged with phpBB Undefined index: debug_mode after bridged with phpBB
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

Undefined index: debug_mode after bridged with phpBB

Started by Dansko, July 10, 2005, 11:08:29 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Dansko

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?

Dansko

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'

Dansko

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);

Nibbler

That wasn't the actual solution. Maybe you forgot to upload the phpbb.inc.php after your initial changes.