Incorrect Login Path Incorrect Login Path
 

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]

Main Menu

Incorrect Login Path

Started by huwnet, July 03, 2005, 06:50:33 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

huwnet

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

Nibbler

Can you post what you actually have in the configuration and the paths for coppermine and smf ?


Nibbler

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 ?



Nibbler

Still waiting to hear what you set as the path in the bridge manager....

huwnet

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

Nibbler

What do you have set for your $boardurl in SMF's Settings.php ?

huwnet

$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


                                $this->usertable = $this->db['prefix'] . $this->table['users'];
                                $this->groupstable = $this->db['prefix'] . $this->table['groups'];

Nibbler

Well unless you get the same problem with SMF 1.0 and an unmodified version of the bridge file this isn't a bug.

donnoman

Use post groups should be 1, no matter what with SMF.


Nibbler

Why's that ? It should work fine both ways.

donnoman

Quote from: Nibbler on February 23, 2005, 02:12:52 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. ;)

Joachim Müller

as the original poster was refering to smf1.1beta (which is not supported yet), can we mark this thread as invalid then?

buzcarter

I had the same problem... until I noticed the path was relative, not absolute. Changinging it to:

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