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: profile.php not found  (Read 5510 times)

0 Members and 1 Guest are viewing this topic.

mmc

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 5
  • I know nothing, but that I know for sure!
    • Middlesex Mini Club
profile.php not found
« 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.
« Last Edit: September 26, 2005, 10:17:41 am by GauGau »
Logged
Tell me and I will forget
Show me and I might remember
But involve me and I will understand!

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Logged

mmc

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 5
  • I know nothing, but that I know for sure!
    • Middlesex Mini Club
Re: profile.php not found
« Reply #2 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

Code: [Select]
<?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.
Logged
Tell me and I will forget
Show me and I might remember
But involve me and I will understand!

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: profile.php not found
« Reply #3 on: September 26, 2005, 10:01:33 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
Code: [Select]
define('PHPBB_WEB_PATH', '/phpBB2/'); to
Code: [Select]
define('PHPBB_WEB_PATH', '/phpbb2/');and you should be fine.
Logged

Stramm

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 6006
    • Bettis Wollwelt
Re: profile.php not found
« Reply #4 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 ;)

mmc

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 5
  • I know nothing, but that I know for sure!
    • Middlesex Mini Club
Re: profile.php not found
« Reply #5 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.
Logged
Tell me and I will forget
Show me and I might remember
But involve me and I will understand!
Pages: [1]   Go Up
 

Page created in 0.028 seconds with 15 queries.