coppermine-gallery.com/forum

Support => cpg1.3.x Support => Older/other versions => cpg1.3 (BBS) Integration / Bridging => Topic started by: shonadle on November 23, 2004, 04:25:26 PM

Title: phpbb integration: please help
Post by: shonadle on November 23, 2004, 04:25:26 PM
Hello, I am having problems trying to use the bbs integration.   Sorry if this is posted in wrong section but general discussion was the only forum it would allow me to post to.

I have coppermine v. 1.3.2 and phpbb 2.0.10

I have followed instructions in editing init.inc.php, phpbb.inc.php and creating cpg_redir.php into the phpbb side (instructions say to put in phpbb directory, I assume that means the phpbb ROOT directory, whatever the name it may be.).

With everything edited, Coppermine site goes completely DOWN and all I have on the page is:
Fatal error :
There was an error while processing a database query

Perhaps there is an easy answer to this, my experience in scripting is very limited, but I really wanted to share usernames between my phpbb board and coppermine board. 

Any help would be great appreciated.
Title: Re: phpbb integration: please help
Post by: Nibbler on November 23, 2004, 07:13:06 PM
Enable debug mode and post the real mysql error message.

Moving to BBS board....
Title: Re: phpbb integration: please help
Post by: shonadle on November 23, 2004, 09:23:48 PM
Here is the mysql error message:

While executing query "SELECT user_id, username as user_name, user_level FROM `xmb1`.phpbb_users WHERE user_id='2' AND user_password='' AND user_active='1'" on Resource id #5

mySQL error:
Title: Re: phpbb integration: please help
Post by: shonadle on November 29, 2004, 03:46:23 PM
Anyone?  That is what I get when I enable debug mode on.
Title: Re: phpbb integration: please help
Post by: shonadle on November 30, 2004, 05:21:29 PM
Ok, I figured it out.  Seems the database name was wrong.
Title: Re: phpbb integration: please help
Post by: Joachim Müller on December 03, 2004, 03:44:15 PM
Quote from: shonadle on November 23, 2004, 04:25:26 PM
Sorry if this is posted in wrong section but general discussion was the only forum it would allow me to post to.
bullsh*

Joachim