Need help to link coppermine with phpbb THANK YOU !!!!! Need help to link coppermine with phpbb THANK YOU !!!!!
 

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

Need help to link coppermine with phpbb THANK YOU !!!!!

Started by zonemoto, March 01, 2005, 05:29:44 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

zonemoto

Hi,

first thank you for this very cool  application for images !!!!!!

Our web site is www.zonemoto.com  we have a french forum in phpbb www.forumminimoto.com

we have installed coppermine in our server with SQL and it work fine alone,  we follow all the procedure to link with our phpbb forum and it is not working, we have this error message.

****************************************************************************************  
Coppermine critical error:
Unable to connect to phpBB Board database !

MySQL said: Access denied for user: 'zonemoto@host105.host105-server.com' (Using password: YES)
*****************************************************************************************
1-  
I'm not sure about one info in the  the  'PHPBB_DB_NAME'

define('PHPBB_DB_NAME', 'phpBB'); // The name of the database used by the board
define('PHPBB_BD_HOST', 'zonemoto_com_-_forumsfr'); // The name of the database server
define('PHPBB_DB_USERNAME', 'xxx'); // The username to use to connect to the database
define('PHPBB_DB_PASSWORD', 'xxx'); // The password to use to connect to the database

2-
and where exaclty I have to upload the cpg_redir.php  direct in the phpbb folder in the server ? if yes it we alrady upload at this place.
this is the in fo we add in the cpg_redir.php

******************************************************
<?php
if (!$_SERVER['HTTP_HOST']) {
 $cpg_host=$HTTP_SERVER_VARS['www.zonemoto.com'];
} else {
 $cpg_host=$_SERVER['HTTP_HOST'];
}
$cpg_path='/imagesforum/';
header("Location: http://".$cpg_host.$cpg_path);
exit;
?>
*******************************************************

3-
Cookie ?

In my phpbb forum I don't have any info in the cookie

cookie domaine:  DON'T KNOW ?  
cookie name:   phpbb2mysql
cookie path :  /
Cookie secure:  not activate

the name for cookie is different in the coppermine.


PLEASE HELP US WITH THIS PROBLEM

THANK YOU IN ADVANCE

Dave




kegobeer

Please read the documentation that comes with Coppermine.  It explains you must have the forum and gallery on the same domain, and the database must be the same.
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots

zonemoto

Quote from: kegobeer on March 01, 2005, 08:39:58 PM
Please read the documentation that comes with Coppermine.  It explains you must have the forum and gallery on the same domain, and the database must be the same.

yes i already follow all the documentation step by step ands that why i asking for help here.

Can someone can take the time to help us please .  THANKS A LOT  FOR YOUR TIME !!!!!

kegobeer

Ummm, I just told you.

QuoteIt explains you must have the forum and gallery on the same domain, and the database must be the same.
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots

Kanon

Looks like Im about the same place....And Iv read the Dokumentation and Manual a few times now.
If I log in to my forum as admin (or user) the type in the cpg_redir.php I still get the login page. And aslo the album/pics from testing is still there. The doc states that they willl be deleted. I added the album and pics before I setup the SQL in phpbb.inc.php

Any suggestions?

zonemoto

oups, sorry, 

What you mean by they need to be on the same database,  same name ?  or same SQL database with different names   

my phpbb database is forumfr :   zonemoto_com_-_forumsfr

and my coppermine sql database is:  zonemoto_com_-_photo

and where I can find this info ?

define('PHPBB_DB_NAME', 'phpBB'); // The name of the database used by the board

thanks again for your help

kegobeer

The same database.

Your forum and gallery are on different domains, so you can't bridge them together.  They must be on the same domain.
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots

zonemoto


canelli

Your problem is the connection string for db of phpbb  you specifed in coppermine bridge !


define('PHPBB_DB_NAME', 'phpBB'); // The name of the database used by the board
// put here the name of your phpbb forum   => 'zonemoto_com_-_forumsfr'

define('PHPBB_BD_HOST', 'zonemoto_com_-_forumsfr'); // The name of the database server
// put here the name of the server running mysql for your phpbb database

define('PHPBB_DB_USERNAME', 'xxx'); // The username to use to connect to the database
// here the username of phpbb  database

define('PHPBB_DB_PASSWORD', 'xxx'); // The password to use to connect to the database
// here the password



I just bridge phpbb and coppermine  on my site .
You can visit http://www.centroveladervio.it    and go to the photogallery section (GALLERIA FOTOGRAFICA)