coppermine-gallery.com/forum

Support => Older/other versions => cpg1.2 Standalone Support => Topic started by: Rascal71 on April 14, 2004, 02:13:09 PM

Title: The requested URL /forum/forum/admin/index.php was not found
Post by: Rascal71 on April 14, 2004, 02:13:09 PM
Hi there,

I'm using version 1.2 of Coppermine with PHPBB 2.04 integration and applied the login/logout hack 2nd version http://forum.coppermine-gallery.net/index.php?topic=2972 .

Everything seems to work fine but (there's always a "but"), When click on "users" i get the following error message:

Not Found
The requested URL /forum/forum/admin/index.php was not found on this server.


my URL to the PHPBB forum is : www.fj1200.nl/forum
my URL to my Coppermine gallery is : www.fj1200.nl/gallery

In the "bridge/phpbb.inc.php" i got the line:

define('PHPBB_WEB_PATH', 'http://www.fj1200.nl/forum/');

Which seems fine to me.

Shouldn't the path point to "www.fj1200.nl/gallery/usermgr.php"  :?:
When I enter that in my browser it doesn't work either.
It then gives me a 404 Page not found.


any suggestions?
Title: The requested URL /forum/forum/admin/index.php was not found
Post by: Casper on April 14, 2004, 02:33:02 PM
Your code should be;

define('PHPBB_WEB_PATH', '/forum/');

Try that.
Title: The requested URL /forum/forum/admin/index.php was not found
Post by: Rascal71 on April 14, 2004, 02:47:51 PM
Nope...that didn't work.
It also doesn't say that in the "bridge/phpbb.inc.php" file.

it says:
// The web path to your phpBB directory
// In this example http://yoursite_name.com/phpBB2/
define('PHPBB_WEB_PATH', 'http://www.fj1200.nl/forum/');


So my path setting should be ok.
Title: The requested URL /forum/forum/admin/index.php was not found
Post by: Casper on April 14, 2004, 02:59:03 PM
Quote from: "Bridge file"// The web path to your phpBB directory
// In this example http://yoursite_name.com/phpBB2/
define('PHPBB_WEB_PATH', '/phpBB2/');

This is the example given in the bridge file.
Title: The requested URL /forum/forum/admin/index.php was not found
Post by: Rascal71 on April 14, 2004, 05:10:47 PM
I absolutely agree...but since "PHPBB2" is not the name of the folder where my PHPBB2 installation is (that would be "forum" in my case), it doesn't make much sense to let the script think it is...does it..... :?
Title: The requested URL /forum/forum/admin/index.php was not found
Post by: Casper on April 14, 2004, 05:16:59 PM
I think you are missing the point.  It is an example, telling you that if your url is;
http://yoursite_name.com/phpBB2/

Then your code should be this;
define('PHPBB_WEB_PATH', '/phpBB2/');

So your line of code should be this;
define('PHPBB_WEB_PATH', '/forum/');

Please try it and make sure you refresh the page.
Title: The requested URL /forum/forum/admin/index.php was not found
Post by: Rascal71 on April 14, 2004, 06:21:03 PM
Sorry, you're right...I missed that part....

But now I changed the line exactly as you requested but still the outcome is the same.
Title: The requested URL /forum/forum/admin/index.php was not found
Post by: Joachim Müller on April 15, 2004, 08:19:54 AM
please post the rest of your modifications of phpbb.inc.php as well (the lines 20-45).

GauGau
Title: The requested URL /forum/forum/admin/index.php was not found
Post by: Rascal71 on April 15, 2004, 06:23:23 PM
Here it is......I replces the username and password with "myusername" and "mypassword"// ------------------------------------------------------------------------- //
// Modify the values below according to your Board installation
// ------------------------------------------------------------------------- //
// database configuration
define('PHPBB_DB_NAME', ''); // The name of the database used by the board
define('PHPBB_BD_HOST', 'localhost'); // The name of the database server
define('PHPBB_DB_USERNAME', 'myusername'); // The username to use to connect to the database
define('PHPBB_DB_PASSWORD', 'mypassword'); // The password to use to connect to the database

// The web path to your phpBB directory
// In this example http://yoursite_name.com/phpBB2/
define('PHPBB_WEB_PATH', '/forum/');
define('PHPBB_LOGOUT_GET', FALSE);
// ------------------------------------------------------------------------- //
// 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

// ------------------------------------------------------------------------- //
Title: The requested URL /forum/forum/admin/index.php was not found
Post by: Joachim Müller on April 16, 2004, 07:55:22 AM
Quotedefine('PHPBB_DB_NAME', ''); // The name of the database used by the board
your db name is blank!

GauGau
Title: The requested URL /forum/forum/admin/index.php was not found
Post by: Rascal71 on April 16, 2004, 07:07:37 PM
I know...leaving the database name blank solved my previous problem.

http://forum.coppermine-gallery.net/index.php?topic=5234

If i put my database name back in there my problems get worse...
Title: The requested URL /forum/forum/admin/index.php was not found
Post by: Joachim Müller on April 16, 2004, 10:11:22 PM
urm, this is a tricky one. In my opinion, the solution with the empty db name is wrong - it's impossible that a db name can be blank, so your problem must lie somewhere else. I suggest you go back one step back to where you have been before and put the db name back in and try to track down the error from the other thread first. Sorry I haven't replied on the other thread earlier to advice you so.

GauGau
Title: The requested URL /forum/forum/admin/index.php was not found
Post by: Rascal71 on April 17, 2004, 08:50:10 AM
Hmm....I don't know Gaugau....
Like I said in the previous thread, if I enter the query with the database name directly into PhpMyAdmin I get an error, if I enter the query without the database name it works fine.....so does the problem really come from the Coppermine script?

The only thing that doesn't work right now is the usermanager function from within the coppermine script.
But, and correct me if I'm wrong, I could do this also from within the PHPBB2 script.....right?

Something else that's really strange is that when I try to access the Coppermine usermanager function from a different computer then I get a "404 Page not found" and in the address bar it points at "http://www.fj1200.nl/gallery/usermgr.php".
Usermgr.php is in the gallery dir. on my server...I double checked.

If you want me to help and correct this problem in the script then I am more than willing to help, just tell me what to try next and I will tell you the outcome.
Title: The requested URL /forum/forum/admin/index.php was not found
Post by: Joachim Müller on April 17, 2004, 11:22:48 AM
If you have activated bbs integration it's expected bahaviour that coppermine's user manager doesn't do anything, as coppermine no longer uses it's own user management, but that of your bbs.

If your only problem is the usermgr.php and everything else works for you, then your question simply doesn't apply.

GauGau
Title: The requested URL /forum/forum/admin/index.php was not found
Post by: Rascal71 on April 17, 2004, 04:18:52 PM
So this error message that I get when I press the button for the user manager is an expected error?
Then why not disable this function when bbs integration is turned on.

Anyway, you're right...this is my only problem (for now) so I'll just leave it like that.

Thanks for the help.
Title: The requested URL /forum/forum/admin/index.php was not found
Post by: Joachim Müller on April 18, 2004, 07:14:08 AM
when using integration the user manager link of coppermine should send you to your bbs's user management. That's at least what it does for me. If this redirection doesn't work for you, you can either modify the link manually (in theme.php) or visit the user manager of your board (since you're the admin no "regular" user will find out or see any weird error messages).

GauGau