I may have messed up the integration..... I may have messed up the integration.....
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

I may have messed up the integration.....

Started by woolly bugger, September 18, 2005, 03:57:54 AM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

woolly bugger

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

kegobeer

For you,

$path = '../smf'

should be

$path = '../forum'
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

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

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

woolly bugger

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

kegobeer

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

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

Thanks for looking into this...


kegobeer

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

Quote from: kegobeer 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.

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

thanks again

woolly bugger

thanks on the bridge files and the htaccess problem

Everything is working great,


kegobeer

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