[Solved]: Installation help needed [Solved]: Installation help needed
 

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]

Main Menu

[Solved]: Installation help needed

Started by uk_martin, July 10, 2004, 09:23:11 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

uk_martin

I have followed the installation instructions as best as I can understand them...but obviously not well enough.

phpBB 2.08 no longer allows me to log in from the phpBB page

I can call up Coppermine 1.3, but when I try to log in, I get an "error not found page" with the URL
  http://.../Members/galleries/login.php?referer=%2FMembers%2Fgalleries%2Findex.php

For information...

The Coppermine installation is at    /Members/galleries
The phpBB installation is at           /Members/forum

Any advice on how to cure this would be much appreciated.

Thanks

Martin


Casper

Remove the bridge (replace the '//' in front of phpbb line in the init.inc.php file), and check both installs work well alone.

If they do, then re-install the bridge, and if it breaks it again, post the changes you made to your bridge file here (without the password)
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here

uk_martin

Hi, and thanks for the reply...

Well I hope that this makes sense, but, having done what you asked, I can now log in and out of Coppermine, but I can't log in or out of phpBB

Look forward to hearing from you again...

Martin

Casper

Try removing the 'cpg_redir.php' you added to the forum files.
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here

uk_martin

OK, I've done that...but I still can't log in to phpBB

Just a quick thought about the wording of this particular file...mine is...

<?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;
?

correct me if I'm wrong, but the path to the galleries (.../Members/galleries )  shouldn't that particular line read...
$cpg_path='/Members/galleries';

or maybe not...I dunno, just a thought

Anyway, as this file is currently out of the loop, it shouldn't be the reason why I can't log into phpBB, so I look forward to hearing from you as to what could be causing the hang-up.

Thanks

Martin

Casper

Make sure your coppermin cookie and forum cookie are different.

I can't think how this could otherwise be related to coppermine, if the 2 are not bridged.
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here

uk_martin

OK, I'm going to go for a database deletion and re-installation of phpBB then.

Am I right in thinking that it might be best to use the existing Cooppermine database as the target database for phpBB to use when I reinstall it, rather than to have an independent database?

I'll wait on your advice before proceeding.

Thanks

Martin

Casper

It is highly recommended that the forum and coppermine share the same database, just have different table pre-fixes.

It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here

uk_martin

#8
I've re-installed phpBB, using the Gallery database.

Now I can log in and out of phpBB again, and I can log in and out of Coppermine again, but when I try to bridge the two, I get the Not Found screen again with the following URL when I try to log in to Coppermine...
http://www.../Members/galleries/login.php?referer=%2FMembers%2Fgalleries%2Findex.php

commenting / uncommenting the  init_inc.php  file at the line with   // define('UDB_INTEGRATION', 'phpbb');   in it switches my problem on and off, so at the moment with the comments in, both work happily independently, but if I remove the comments, the problem occurs.

Hope this diagnosis helps.

Martin

Joachim Müller

unless you post a link (and maybe a test user account), I'm afraid little will improve...

GauGau

uk_martin

Time to hold my hands up....  ::)

I retraced my steps and spotted a spelling mistake in the path to Galleries in the phpbb.inc.php file. It's been corrected and I now have integration.

Thanks to you guys for your help, it's been a good learning curve, BUT having got integration, I do have one more snag...

Prior to integration, I upgraded from version 1.2 to 1.3...and NOW, I have no folders showing in the Batch Add Files function despite the paths being correct in Config and the CHMOD settings being correct. In the past I had userpics and any subfolders within userpics shown, but now not even userpics is displayed.

All the existing pics show up in the gallery, and the Albums and categories are still there the way that they were, but uploading the pics is now impossible.

Is this a symptom of the integration or the upgrade, and what can be done to fix it?

Joachim Müller

Glad you were able to fix this and had the guts to admit it was your fault (thereby resolving your thread).

You mustn't ftp-upload to the userpics folder, in fact you were never meant to (not even in cpg1.2.x).
Coppermine1.3.x just enforces this rule, read the documentation that comes with coppermine.

GauGau

P.S. We have a "one question per thread" policy on this board: in the future, please start a new thread when one issue is resolved and you're looking for help on another issue.