Advanced search  

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

Pages: [1]   Go Down

Author Topic: CPG1.4.x -> SMF  (Read 6179 times)

0 Members and 1 Guest are viewing this topic.

wuhtzu

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
CPG1.4.x -> SMF
« on: September 01, 2008, 09:18:37 pm »

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
Logged

wuhtzu

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
Re: CPG1.4.x -> SMF
« Reply #1 on: September 01, 2008, 09:20:27 pm »

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"
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: CPG1.4.x -> SMF
« Reply #2 on: September 01, 2008, 09:43:22 pm »

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

wuhtzu

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
Re: CPG1.4.x -> SMF
« Reply #3 on: September 01, 2008, 10:20:51 pm »

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

Nibbler

  • Guest
Re: CPG1.4.x -> SMF
« Reply #4 on: September 01, 2008, 10:21:04 pm »

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

wuhtzu

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
Re: CPG1.4.x -> SMF
« Reply #5 on: September 01, 2008, 10:28:11 pm »

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:

Code: [Select]
# SDU 08 S8
RewriteRule s8/(.*) projects/sdu_s8_08/$1

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

Nibbler

  • Guest
Re: CPG1.4.x -> SMF
« Reply #6 on: September 01, 2008, 10:33:56 pm »

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

wuhtzu

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
Re: CPG1.4.x -> SMF
« Reply #7 on: September 01, 2008, 11:13:21 pm »

Thanks a lot Nibbler

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

Powerbob

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Gender: Male
  • Posts: 54
  • It's nice to be nice!
    • Bob's Test site
Re: CPG1.4.x -> SMF
« Reply #8 on: October 11, 2008, 01:22:42 pm »

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

Powerbob

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Gender: Male
  • Posts: 54
  • It's nice to be nice!
    • Bob's Test site
Re: CPG1.4.x -> SMF
« Reply #9 on: October 11, 2008, 01:25:12 pm »

Sorry posted here by mistake!
I see we are not allowed to modify or delete our posts.
Logged
It's nice to be nice.
Pages: [1]   Go Up
 

Page created in 0.026 seconds with 19 queries.