Advanced search  

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]

Pages: [1]   Go Down

Author Topic: Need help to link coppermine with phpbb THANK YOU !!!!!  (Read 5743 times)

0 Members and 1 Guest are viewing this topic.

zonemoto

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
Need help to link coppermine with phpbb THANK YOU !!!!!
« on: March 01, 2005, 05:29:44 pm »

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



« Last Edit: March 01, 2005, 05:41:32 pm by zonemoto »
Logged

kegobeer

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 4637
  • Beer - it does a body good!
    • The Kazebeer Family Website
Re: Need help to link coppermine with phpbb THANK YOU !!!!!
« Reply #1 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.
Logged
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

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
Re: Need help to link coppermine with phpbb THANK YOU !!!!!
« Reply #2 on: March 01, 2005, 09:17:10 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 !!!!!
Logged

kegobeer

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 4637
  • Beer - it does a body good!
    • The Kazebeer Family Website
Re: Need help to link coppermine with phpbb THANK YOU !!!!!
« Reply #3 on: March 01, 2005, 09:20:56 pm »

Ummm, I just told you.

Quote
It explains you must have the forum and gallery on the same domain, and the database must be the same.
Logged
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

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
Re: Need help to link coppermine with phpbb THANK YOU !!!!!
« Reply #4 on: March 01, 2005, 09:24:51 pm »

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?
Logged

zonemoto

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
Re: Need help to link coppermine with phpbb THANK YOU !!!!!
« Reply #5 on: March 01, 2005, 09:36:44 pm »

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
Logged

kegobeer

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 4637
  • Beer - it does a body good!
    • The Kazebeer Family Website
Re: Need help to link coppermine with phpbb THANK YOU !!!!!
« Reply #6 on: March 01, 2005, 09:43:29 pm »

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.
Logged
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

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
Re: Need help to link coppermine with phpbb THANK YOU !!!!!
« Reply #7 on: March 01, 2005, 09:49:46 pm »

no they are on the same domaine

forum: http://www.zonemoto.com/forumsfr/

coppermine: http://www.zonemoto.com/imagesforum

the www.forumminimoto.com is juste a redirection,  

Logged

canelli

  • Translator
  • Coppermine novice
  • **
  • Offline Offline
  • Gender: Male
  • Posts: 36
  • Fetched by CpmFetch
    • Centro Vela Dervio Sailing club
Re: Need help to link coppermine with phpbb THANK YOU !!!!!
« Reply #8 on: March 03, 2005, 03:27:42 pm »

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)

Logged
Pages: [1]   Go Up
 

Page created in 0.017 seconds with 15 queries.