Integrating with phpbb 2.15 help Integrating with phpbb 2.15 help
 

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

Integrating with phpbb 2.15 help

Started by elfprince13, December 02, 2005, 01:06:44 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

elfprince13

After dutifully following all the instructions in the documentation tht came with my download of Coppermine,  for integrating, I go to my gallery and all I get is a blank screen. If i recomment the line that switches on integration it works fine, but once I try to integrate it goes blank. No error messages, just an empty page


elfprince13

the forum is here http://rancidmoose.unitedti.org/forum

the gallery is here http://rancidmoose.unitedti.org/gallery

here are the files

cpg_redir.php

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


phpbb.inc.php

  the Free Software Foundation; either version 2 of the License, or
  (at your option) any later version.
  ********************************************
  Coppermine version: 1.3.5
  $Source: /cvsroot/coppermine/stable/bridge/phpbb.inc.php,v $
  $Revision: 1.13 $
  $Author: gaugau $
  $Date: 2005/09/24 16:31:32 $
**********************************************/

// ------------------------------------------------------------------------- //
// phpBB2 Integration for Coppermine                                         //
// ------------------------------------------------------------------------- //
// Modify the values below according to your Board installation              //
// ------------------------------------------------------------------------- //

// database configuration
define('PHPBB_DB_NAME', 'uti_rancidmoose'); // The name of the database used by the board
define('PHPBB_BD_HOST', 'localhost'); // The name of the database server
define('PHPBB_DB_USERNAME', '*********); // 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);
// ------------------------------------------------------------------------- //
// You can keep the default values below if your instalation is standard
// ------------------------------------------------------------------------- //
// The prefix for the phpBB cookies
define('PHPBB_COOKIE_PREFIX', 'phpbb2mysql'); // The prefix used for board cookies

// Prefix and names for the database tables
define('PHPBB_TABLE_PREFIX', 'phpbb_'); // The prefix used for the DB tables
define('PHPBB_USER_TABLE', 'users'); // The members table
define('PHPBB_SESSION_TABLE', 'sessions'); // The session table
define('PHPBB_GROUP_TABLE', 'groups'); // The groups table
define('PHPBB_UGROUP_TABLE', 'user_group'); // The group/user table



init.inc.php



define('COPPERMINE_VERSION', '1.3.5');
// User database integration
// Uncomment the applicable line if you want to use it
define('UDB_INTEGRATION', 'phpbb');
// define('UDB_INTEGRATION', 'invisionboard');
// define('UDB_INTEGRATION', 'vbulletin23');
// define('UDB_INTEGRATION', 'vbulletin30');
// define('UDB_INTEGRATION', 'yabbse');
// define('UDB_INTEGRATION', 'smf');
// define('UDB_INTEGRATION', 'woltlab21');
// define('UDB_INTEGRATION', 'punbb');



-------------------

I only pasted in the lines I changed.

test account test, password test

Nibbler

define('PHPBB_DB_USERNAME', '*********);

Did you miss the ' at the end of the username you entered ?

elfprince13

thank you so much! that was it...I love having other people read my code....you guys are great

elfprince13

Sorry about this....anyway my gallery shows up fine, but then after I login, it redirects me to the forum, and then when I go back to the gallery it says Im not logged in. sorry for all the questions and thanks for the help with my last one...test account and password are still the same

Nibbler


elfprince13

are you clicking the link in phpbb or Coppermine.? im using the coppermine link, and it when Im in Coppermine it shows that Im not in logged in, but from phpbb it shows that I am, I tried with both my admin account and the test account


Edit
====
its not working from either page.....

Joachim Müller

works fine for me as well. This is probably related to settings on your local client. Check your browser's privacy settings, and temporarily disable any security apps like "Norton Internet Security" that might be running on your PC.

elfprince13

ummm.....I'm using Safari, and I have Mac OS X. And it redirects me and shows that Im logged in at forum, just not at the gallery, Anyway Ill try tonight at the school during Tech Club and see if it works then