forum.coppermine-gallery.net

Dev Board => cpg1.4 Testing/Bugs => cpg1.4 Testing/Bugs: FIXED/CLOSED => Topic started by: huwnet on July 03, 2005, 06:50:33 pm

Title: Incorrect Login Path
Post by: huwnet on July 03, 2005, 06:50:33 pm
I have a bridged install with SMF. For some reason Coppermine is ignoring the forum path. Instead of going to http://<site>/smf/index.php?action=login it goes to http://<site>/index.php?action=login

The path names are set correctly in the configuration.

How can I fix this problem?

Thanks
Title: Re: Incorrect Login Path
Post by: Nibbler on July 03, 2005, 06:55:58 pm
Can you post what you actually have in the configuration and the paths for coppermine and smf ?
Title: Re: Incorrect Login Path
Post by: huwnet on July 03, 2005, 07:37:01 pm
Don't mean to sound like a newbie but which files shall i post?  ???
Title: Re: Incorrect Login Path
Post by: Nibbler on July 03, 2005, 10:27:47 pm
I just want to know what you entered for paths or urls into the bridge manager, and where your coppermine and smf are in relation to eachother, ie http://www.mydomain.com/cpg and http://www.mydomain.com/smf ?
Title: Re: Incorrect Login Path
Post by: huwnet on July 04, 2005, 04:56:23 pm
Coppermine - http://192.168.0.4/gallery

SMF - http://192.168.0.4/smf
Title: Re: Incorrect Login Path
Post by: huwnet on July 09, 2005, 03:20:05 pm
anyone
Title: Re: Incorrect Login Path
Post by: Nibbler on July 09, 2005, 03:21:43 pm
Still waiting to hear what you set as the path in the bridge manager....
Title: Re: Incorrect Login Path
Post by: huwnet on July 09, 2005, 03:29:04 pm
Sorry:

Bridge Wizard: enable/disable BBS integration
Your bridge settings
Forum URL:    http://192.168.0.4/smf
Relative path to your BBS's config file:    ../smf/
Use post-based groups?:    0
Title: Re: Incorrect Login Path
Post by: Nibbler on July 09, 2005, 03:39:26 pm
What do you have set for your $boardurl in SMF's Settings.php ?
Title: Re: Incorrect Login Path
Post by: huwnet on July 09, 2005, 03:50:24 pm
$boardurl = 'http://192.168.0.4/smf';

I think I forgot to mention before that I am running SMF 1.1 Beta 3. I used modifyed code for the forum bridge that I found in this forum.

http://forum.coppermine-gallery.net/index.php?topic=17088.0

Code: [Select]
                                $this->usertable = $this->db['prefix'] . $this->table['users'];
                                $this->groupstable = $this->db['prefix'] . $this->table['groups'];
Title: Re: Incorrect Login Path
Post by: Nibbler on July 09, 2005, 04:27:11 pm
Well unless you get the same problem with SMF 1.0 and an unmodified version of the bridge file this isn't a bug.
Title: Re: Incorrect Login Path
Post by: donnoman on July 09, 2005, 06:37:56 pm
Use post groups should be 1, no matter what with SMF.

Title: Re: Incorrect Login Path
Post by: Nibbler on July 09, 2005, 07:07:59 pm
Why's that ? It should work fine both ways.
Title: Re: Incorrect Login Path
Post by: donnoman on July 09, 2005, 10:06:37 pm
Commited fix for login issue, update smf and udb_base bridge files.

Groups come over ok for me, make sure you selected to use post based groups in bridge manager, this really means all bb maintained groups, not just those based on posts.

It took some digging but I remembered it from somewhere. ;)
Title: Re: Incorrect Login Path
Post by: Joachim Müller on July 10, 2005, 11:27:29 am
as the original poster was refering to smf1.1beta (which is not supported yet), can we mark this thread as invalid then?
Title: Re: Incorrect Login Path
Post by: buzcarter on September 13, 2005, 08:16:14 am
I had the same problem... until I noticed the path was relative, not absolute. Changinging it to:

Code: [Select]
// The web path to your SMF Board directory
define('SMF_WEB_PATH', "/forums/");

from just "forums/" fixed it. Hope that helps the next bloke.

btw, awesome bridge, ten minutes ... nice