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!...
For you,
$path = '../smf'
should be
$path = '../forum'
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?
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...
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
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.
okay, I'm good to go for now, just have to make the links with the trailing /
Thanks for looking into this...
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.
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
thanks on the bridge files and the htaccess problem
Everything is working great,
Glad to help.