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: [Solved]: Installation help needed  (Read 5369 times)

0 Members and 1 Guest are viewing this topic.

uk_martin

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 186
[Solved]: Installation help needed
« on: July 10, 2004, 09:23:11 pm »

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

« Last Edit: July 13, 2004, 10:05:44 am by GauGau »
Logged

Casper

  • VIP
  • Coppermine addict
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 5231
Re: Installation help needed
« Reply #1 on: July 10, 2004, 09:30:11 pm »

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)
Logged
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

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 186
Re: Installation help needed
« Reply #2 on: July 10, 2004, 10:48:00 pm »

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
Logged

Casper

  • VIP
  • Coppermine addict
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 5231
Re: Installation help needed
« Reply #3 on: July 11, 2004, 02:01:40 pm »

Try removing the 'cpg_redir.php' you added to the forum files.
Logged
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

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 186
Re: Installation help needed
« Reply #4 on: July 11, 2004, 04:20:29 pm »

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
Logged

Casper

  • VIP
  • Coppermine addict
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 5231
Re: Installation help needed
« Reply #5 on: July 11, 2004, 08:47:19 pm »

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.
Logged
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

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 186
Re: Installation help needed
« Reply #6 on: July 11, 2004, 09:52:23 pm »

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
Logged

Casper

  • VIP
  • Coppermine addict
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 5231
Re: Installation help needed
« Reply #7 on: July 12, 2004, 01:58:33 am »

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

Logged
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

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 186
Re: Installation help needed
« Reply #8 on: July 12, 2004, 10:36:04 pm »

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
« Last Edit: July 13, 2004, 12:58:24 am by uk_martin »
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Installation help needed
« Reply #9 on: July 13, 2004, 08:33:59 am »

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

GauGau
Logged

uk_martin

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 186
Re: Installation help needed
« Reply #10 on: July 13, 2004, 09:13:31 am »

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

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Installation help needed
« Reply #11 on: July 13, 2004, 10:05:22 am »

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.
Logged
Pages: [1]   Go Up
 

Page created in 0.018 seconds with 15 queries.