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: I may have messed up the integration.....  (Read 6696 times)

0 Members and 1 Guest are viewing this topic.

woolly bugger

  • Coppermine newbie
  • Offline Offline
  • Posts: 12
I may have messed up the integration.....
« on: September 18, 2005, 03:57:54 am »

When I log on to the gallery it takes me to the Forum page, then when i manually go to the gallery url it act like I didn't log in....


http://www.kbrcomm.com/forum
http://www.kbrcomm.com/gallery

user: ********
pass: ********

Bridge Modifications:

smf.inc.php (didn't change anything... didn't know what to do with this:
// Set this to the location of your Settings file:
$path = '../smf';


include/init.inc.php

uncommented the smf line

Now I read about not having any members or photos, but I assumed that they just wouldn't be accessable? But I uploaded pics as the admin too. Did that cause a real problem.

Using the same db for both forum & gallery...

Any help would be appreciated!...
« Last Edit: September 20, 2005, 02:16:15 am by kegobeer »
Logged

kegobeer

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 4637
  • Beer - it does a body good!
    • The Kazebeer Family Website
Re: I may have messed up the integration.....
« Reply #1 on: September 18, 2005, 04:02:21 am »

For you,

Code: [Select]
$path = '../smf'
should be

Code: [Select]
$path = '../forum'
Logged
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots

kegobeer

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 4637
  • Beer - it does a body good!
    • The Kazebeer Family Website
Re: I may have messed up the integration.....
« Reply #2 on: September 18, 2005, 04:05:52 am »

I also notice an automatic redirect happening.  I type in http://www.kbrcomm.com/forum/ and I go to your forum.  I change /forum/ to /gallery/ and I'm taken to http://kbrcomm.com/gallery/.

This will definitely screw up your cookies - www.kbrcomm.com is not the same as kbrcomm.com when it comes to cookies.  Do you have a htaccess file removing the www from URLs?
Logged
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots

woolly bugger

  • Coppermine newbie
  • Offline Offline
  • Posts: 12
Re: I may have messed up the integration.....
« Reply #3 on: September 18, 2005, 04:24:09 am »

I made the change to the bridge file and thought it was working but NOT....

no I don't have .htaccess file

I'll see if I can get back into the config on the gallery and see if there is something where i can add the www.

If not do you think I should reinstall the Gallery? Will that screw up the db? I have a very recent back-up of it....before the integration...
Logged

woolly bugger

  • Coppermine newbie
  • Offline Offline
  • Posts: 12
Re: I may have messed up the integration.....
« Reply #4 on: September 18, 2005, 04:28:06 am »

after the redirect I can add the www back into the url and it accepts me as registered but I couldn't find any place in the config where there is a url problem...

thanks
Logged

kegobeer

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 4637
  • Beer - it does a body good!
    • The Kazebeer Family Website
Re: I may have messed up the integration.....
« Reply #5 on: September 18, 2005, 04:35:52 am »

The auto redirect isn't related to Coppermine or your forum, AFAIK.  I've seen this before.  If you do the following steps, you should see what I'm talking about.

1.  Go to http://www.kbrcomm.com/forum
2.  The address bar says http://kbrcomm.com/forum/ (notice www is missing)
3.  In the address bar, add www. before kbrcomm, and hit enter.
4.  The address bar now says http://www.kbrcomm.com/forum/
5.  Change /forum/ to /gallery and hit enter. (notice I left off the trailing slash)
6.  The address bar now says http://kbrcomm.com/gallery/

Apparently, if the trailing slash is left off, your webserver automatically adds the slash, but it removes the www.  If you manually add the trailing slash to every url that doesn't end in a file name (ie: http://www.kbrcomm.com/forum/) then the www isn't removed.  This is usually done in a htaccess file.  If you can't find a htaccess file you should ask your host about this.
Logged
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots

woolly bugger

  • Coppermine newbie
  • Offline Offline
  • Posts: 12
Re: I may have messed up the integration.....
« Reply #6 on: September 18, 2005, 04:55:49 am »

okay, I'm good to go for now, just have to make the links with the trailing /

Thanks for looking into this...

Logged

kegobeer

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 4637
  • Beer - it does a body good!
    • The Kazebeer Family Website
Re: I may have messed up the integration.....
« Reply #7 on: September 18, 2005, 04:59:08 am »

Remember, if someone types in your url and forgets the trailing slash, they won't be logged in.  You will probably get some emails asking why they aren't remembered on your site.
Logged
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots

woolly bugger

  • Coppermine newbie
  • Offline Offline
  • Posts: 12
Re: I may have messed up the integration.....
« Reply #8 on: September 18, 2005, 08:11:32 am »

Remember, if someone types in your url and forgets the trailing slash, they won't be logged in.  You will probably get some emails asking why they aren't remembered on your site.

I'll add the nesessary htaccess.... it's a common issure with the host....

thanks again
Logged

woolly bugger

  • Coppermine newbie
  • Offline Offline
  • Posts: 12
Re: I may have messed up the integration.....
« Reply #9 on: September 19, 2005, 07:41:34 pm »

thanks on the bridge files and the htaccess problem

Everything is working great,

Logged

kegobeer

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 4637
  • Beer - it does a body good!
    • The Kazebeer Family Website
Re: I may have messed up the integration.....
« Reply #10 on: September 20, 2005, 02:16:25 am »

Glad to help.
Logged
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots
Pages: [1]   Go Up
 

Page created in 0.016 seconds with 15 queries.