coppermine-gallery.com/forum

Support => cpg1.3.x Support => Older/other versions => cpg1.3 (BBS) Integration / Bridging => Topic started by: Stormdancing on October 06, 2004, 05:36:31 AM

Title: Fatal error, then not
Post by: Stormdancing on October 06, 2004, 05:36:31 AM
I'm very new at this and I need some help. I've created a mess.  I followed the instruction for integrating with my phpBB2
This is what I get
Fatal error :

There was an error while processing a database query.
While executing query "SELECT user_id, username as user_name, user_level FROM `phpbb`.phpbb_sessions INNER JOIN `phpbb`.phpbb_users ON session_user_id = user_id WHERE session_id='e81331ceca9e0d0de96ffa968156f871' AND session_user_id ='2' AND user_active='1'" on 0

mySQL error: Access denied for user: 'storm@localhost' to database 'phpbb'
I know my login and pass to the db are correct as I am logged into phpmyadmin with same.

I searched and found  post that solved part of my problem
http://forum.coppermine-gallery.net/index.php?topic=5234.0

// database configuration
define('PHPBB_DB_NAME', 'phpbb'); // The name of the database used by the board
Change
define('PHPBB_DB_NAME', 'phpbb'); // The name of the database used by the board
to
define('PHPBB_DB_NAME', ''); // The name of the database used by the board

I get the gallery, but now I get

Notice: Undefined index: offline in /home/virtual/site20/fst/var/www/html/gallery/include/init.inc.php on line 381

Debug

USER:
------------------
Array
(
    [ID] => 563aaaab67b149996affb59df1af35f6
    [am] => 1
    [liv] => Array
        (
           
Title: Re: Fatal error, then not
Post by: Joachim Müller on October 06, 2004, 06:54:35 AM
switch off notices display in debug mode - go to coppermine config, look at the very bottom.

Joachim
Title: Re: Fatal error, then not
Post by: Stormdancing on October 06, 2004, 07:14:49 AM
You're kidding, how simple!!!!
You're great and I love this program.
Still got a lot of studying to do to get it the way I want, but I'll get there.
Thanks for your quick support.
On to making links - already read your post on how to do that.