CPG1.4.x -> SMF CPG1.4.x -> SMF
 

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

CPG1.4.x -> SMF

Started by wuhtzu, September 01, 2008, 09:18:37 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

wuhtzu

Hey guys :)

I have bridged CPG 1.4.19 (stable) with SMF 1.1.5 but I'm experiencing the following strange phenomenon:

When my users request the gallery (http://wuhtzu.dk/s8/galleri) they are redirected to SMF (http://wuhtzu.dk/s8/forum) which prompts them to log in, but when they do log in they are not redirected to the gallery, they are just taken to the forum. Okay, then they could just manually go to the gallery again at http://wuhtzu.dk/s8/galleri, but if they do so they are just prompted to log in once again.

I have only experienced the problem in Firefox 3 (since that's the current version which I run) and I'm able to fix the problem if I clear FF's privacy data (authentication sessions) and then try again or log in to the forum, log out and then request the gallery at http://wuhtzu.dk/s8/galleri and log in again.


Coppermine install: http://wuhtzu.dk/projects/sdu_s8_08/galleri/
Forum install: http://wuhtzu.dk/projects/sdu_s8_08/forum/
Coppermine version: cpg1.4.19
Forum version: SMF 1.1.5
Test user account (user:pass): debug:debug

BridgeManager settings:
Forum URL: http://wuhtzu.dk/s8/forum
Relative path to your BBS's config file: ../forum/
Use post-based groups?: 1
Cookie name/preifx (if applicable): I haven't made any settings regarding cookie name / prefix

Have any of you guys experienced something similar or have a proposal as to how to resolve the issue?

Best regards
Wuhtzu

wuhtzu

Damn it, I forgot to edit the title / subject  :-\

It should have been:

"CPG1.4.x -> SMF 1.1.5: Redirect after log in problem"

Joachim Müller

Missing feature of SMF. Add a link to SMF that let's users go back to the gallery.

wuhtzu

But wouldn't that give the same result as manually typing http://wuhtzu.dk/s8/galleri in the browser's address bar after logging into the forum, which doesn't work?

Besides, it works sometimes. If I have just cleared the FF "authenticated sessions" (in Private Data) it works just fine and redirects me - same goes for IE...

Nibbler

Works for me. Why the 2 different sets of URLs?

wuhtzu

The redirection works for you? Would you mind trying to log in (to either the gallery or forum), then close the browser without logging out first and then try to log in to the gallery again (by requesting http://wuhtzu.dk/s8/galleri) and check if the redirect and auth still works?



Which 2 different sets of URL's are you referring to?

http://wuhtzu.dk/projects/sdu_s8_08/galleri/ vs. http://wuhtzu.dk/s8/galleri
and
http://wuhtzu.dk/projects/sdu_s8_08/forum/ vs. http://wuhtzu.dk/s8/forum

?

That's because I'm rewriting like this, forgot to mention it in the post:

# SDU 08 S8
RewriteRule s8/(.*) projects/sdu_s8_08/$1


If I didn't do that my server would be one great mess :)

Nibbler

You need to fix your cookie settings in SMF - disable local storage of cookies. Then clear your cookies.

wuhtzu

Thanks a lot Nibbler

It solved the problem to disable local store age of cookies.

Powerbob

I have local cookies disabled!
It's nice to be nice.

Powerbob

Sorry posted here by mistake!
I see we are not allowed to modify or delete our posts.
It's nice to be nice.