coppermine-gallery.com/forum

Support => cpg1.3.x Support => Older/other versions => cpg1.3 (BBS) Integration / Bridging => Topic started by: mmc on September 25, 2005, 07:56:01 PM

Title: profile.php not found
Post by: mmc on September 25, 2005, 07:56:01 PM
I just downloaded and installed coppermine (version 1.3.5) and then tried to integrate it with a phpBB board (running version 2.0.17). When I log onto the board as either the admin or a user and then go to the gallery, all works fine.

However, when I try to get see the memberlist or log out, I get this error message:

Not Found
The requested URL /phpBB2/memberlist.php was not found on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

I have checked, in the phpBB2 directory I have the profile.php file.

Could this be something to do with a path I have specified incorrectly somewhere??  ???

As I am totally new to this, any help would be appreciated.
Title: Re: profile.php not found
Post by: Joachim Müller on September 26, 2005, 07:57:38 AM
http://forum.coppermine-gallery.net/index.php?topic=17684.0
Title: Re: profile.php not found
Post by: mmc on September 26, 2005, 09:25:58 AM
Sorry, didn't read that post before I made my post.

page is http://www.middlesexminiclub.co.uk
forum is http://www.middlesexminiclub.co.uk/phpBB2
gallery is http://www.middlesexminiclub.co.uk/gallery

phpbb.inc.php


<?php
/*************************
  Coppermine Photo Gallery
  ************************
  Copyright (c) 2003-2005 Coppermine Dev Team
  v1.1 originaly written by Gregory DEMAR

  This program is free software; you can redistribute it and/or modify
  it under the terms of the GNU General Public License as published by
  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''mmc'); // The name of the database used by the board
define('PHPBB_BD_HOST''localhost'); // The name of the database server
define('PHPBB_DB_USERNAME''mmc'); // 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''/phpBB2/');
// 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


user account is
id test
pw test

you can upload to one album but pictures need admin approval.
Title: Re: profile.php not found
Post by: Joachim Müller on September 26, 2005, 10:01:33 AM
Quote from: mmc on September 26, 2005, 09:25:58 AM
forum is http://www.middlesexminiclub.co.uk/phpBB2
No, it's not, I get a 404 not found when going to that url. The actual forum URL is http://www.middlesexminiclub.co.uk/phpbb2/ (mind the capitalization) - unlike your Windows desktop, capitalization does matter on Unix/Linux systems. Your webserver probably is running some sort of Unix/Linux, that's why the URL doesn't work. Edit your bridge file, change define('PHPBB_WEB_PATH', '/phpBB2/'); todefine('PHPBB_WEB_PATH', '/phpbb2/');and you should be fine.
Title: Re: profile.php not found
Post by: Stramm on September 26, 2005, 10:02:17 AM
pathes on nix boxes are case sensitive... so if you define the web path as '/phpBB2/' it'll result in a 404
make it '/phpbb2/' and all's good... just try the link to our board you posted above and you'll see ;)
Title: Re: profile.php not found
Post by: mmc on September 26, 2005, 10:11:18 AM
Ah ... well, I'm a Microsoft child and never really had anything to do with any other OS. Cheers for the quick help, works fine now.