coppermine (Gallery) in Verbindung mit phpbb
Verfasst: 04.06.2004 19:43
Hallo Leute,
ich bin absoluter Neuling und habe folgendes vor
ich habe auf meiner Domain Coppermine (1.3.0 Beta4 für die es leider noch keinen Support gibt) und die aktuelle phpbb (v . 2 . 0 . 8 ) am laufen. Die beiden laufen auch ohne Probleme nur meine Vorstellung ist folgende.
Coppermine bietet die Möglichkeit sich auf die Datenbank von phpbb auf zu setzten. Und hier liegt auch schon der Hund begraben.
Folgende Änderungen habe ich gemacht.
=========
Coppermine
=========
phpbb.inc.php
(ich glaube notwendige Einstellungen für Datenbank usw.)
"
// database configuration
define('PHPBB_DB_NAME', 'goldberg'); // The name of the database used by the board
define('PHPBB_BD_HOST', 'localhost'); // The name of the database server
define('PHPBB_DB_USERNAME', 'MEINEN USER'); // The username to use to connect to the database
define('PHPBB_DB_PASSWORD', 'PASSWORT'); // 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
(vorgefertige Anbindungen für Datenbanken AUCH PHPBB)
"
define('COPPERMINE_VERSION', '1.3.0 Beta3- Build 2004-04-02 18:30 h UTC+1 (public beta tester version)');
// 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');
"
=========
phpbb
=========
cpg_redir.php
(von mir neu erstellte Datei, welche auch mein Problem ist wie ich glaube)
"
<?php
if (!$_SERVER['HTTP_HOST']) {
$cpg_host=$HTTP_SERVER_VARS['goldberg.funpic.de'];
} else {
$cpg_host=$_SERVER['torsten-friedrich.de.vu'];
}
$cpg_path='/gallery';
header("Location: http://".$cpg_host.$cpg_path);
exit;
?>
"
Also Sinn und Zweck sollte ja sein das ich nur noch eine Tabelle mit Usern habe und diese für beides (phpbb und coppermine) verwendet werden.
Nun ist es aber so, dass wenn ich mich anmelden möchte zwar keine direkte Fehlermeldung kommt, nur (diese Seite kann nicht angezeigt werden bla bla bla)
kann mir jemand von Euch einen Tip geben was ich falsch gemacht habe. Wenn Ihr noch Infos benötigt poste ich Euch natürlich gerne noch weitere Codeausschnitte oder andere Dinge welche Ihr für eine Fehleranalyse benötigt.
Vielen Dank für Eure Hilfe
ich bin absoluter Neuling und habe folgendes vor
ich habe auf meiner Domain Coppermine (1.3.0 Beta4 für die es leider noch keinen Support gibt) und die aktuelle phpbb (v . 2 . 0 . 8 ) am laufen. Die beiden laufen auch ohne Probleme nur meine Vorstellung ist folgende.
Coppermine bietet die Möglichkeit sich auf die Datenbank von phpbb auf zu setzten. Und hier liegt auch schon der Hund begraben.
Folgende Änderungen habe ich gemacht.
=========
Coppermine
=========
phpbb.inc.php
(ich glaube notwendige Einstellungen für Datenbank usw.)
"
// database configuration
define('PHPBB_DB_NAME', 'goldberg'); // The name of the database used by the board
define('PHPBB_BD_HOST', 'localhost'); // The name of the database server
define('PHPBB_DB_USERNAME', 'MEINEN USER'); // The username to use to connect to the database
define('PHPBB_DB_PASSWORD', 'PASSWORT'); // 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
(vorgefertige Anbindungen für Datenbanken AUCH PHPBB)
"
define('COPPERMINE_VERSION', '1.3.0 Beta3- Build 2004-04-02 18:30 h UTC+1 (public beta tester version)');
// 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');
"
=========
phpbb
=========
cpg_redir.php
(von mir neu erstellte Datei, welche auch mein Problem ist wie ich glaube)
"
<?php
if (!$_SERVER['HTTP_HOST']) {
$cpg_host=$HTTP_SERVER_VARS['goldberg.funpic.de'];
} else {
$cpg_host=$_SERVER['torsten-friedrich.de.vu'];
}
$cpg_path='/gallery';
header("Location: http://".$cpg_host.$cpg_path);
exit;
?>
"
Also Sinn und Zweck sollte ja sein das ich nur noch eine Tabelle mit Usern habe und diese für beides (phpbb und coppermine) verwendet werden.
Nun ist es aber so, dass wenn ich mich anmelden möchte zwar keine direkte Fehlermeldung kommt, nur (diese Seite kann nicht angezeigt werden bla bla bla)
kann mir jemand von Euch einen Tip geben was ich falsch gemacht habe. Wenn Ihr noch Infos benötigt poste ich Euch natürlich gerne noch weitere Codeausschnitte oder andere Dinge welche Ihr für eine Fehleranalyse benötigt.
Vielen Dank für Eure Hilfe