coppermine-gallery.com/forum

Support => cpg1.3.x Support => Older/other versions => cpg1.3 (BBS) Integration / Bridging => Topic started by: thoeri on March 27, 2005, 01:56:41 AM

Title: Coppermine - SMF redirect & login/logout problem
Post by: thoeri on March 27, 2005, 01:56:41 AM
Hi everyone,

I just installed a clean version of Coppermine 1.3.2 and a clean version of SMF 1.0.2 and I want to integrate them with the bridge file so vistitors can use the same username and password to the two. But I ran into problems because:
1. When I log in to Coppermine I am not redirected back to Coppermine after login. I get stuck in SMF.
2. When I log out from Coppermine I get back to SMF and with an Error message saying "Session verification failed. Please try logging out and back in again, and then try again. " This I can get rid of though, if a unmark "use database driven sessions" in SMF admin. But I would prefer to have database driven sessions.
I have also tried to re-install the two, but I still get the same problem. I can“t imagine that I am the only one with this problem since this should be a simple standard integration. Please help, tell me how you solved this issue.

Regards,
Thomas Eriksson


Title: Re: Coppermine - SMF redirect & login/logout problem
Post by: kegobeer on March 27, 2005, 01:59:40 AM
You can't use database driven sessions if you want to bridge Coppermine.  For everything else, they are known issues and there are already posts that talk about those issues.  Please search the forums.
Title: Re: Coppermine - SMF redirect & login/logout problem
Post by: thoeri on March 27, 2005, 02:13:16 PM
I did, and that doesn't make it any clearer! Well, I will just forget about SMF and use something better, that works.

T
Title: Re: Coppermine - SMF redirect & login/logout problem
Post by: kegobeer on March 27, 2005, 03:14:21 PM
Remove the logout link from Coppermine.  No more session errors.

You can't redirect back to Coppermine from SMF.  Make a link on SMF to Coppermine.

SMF is the best forum software out there, period.  Good luck finding something better.
Title: Re: Coppermine - SMF redirect & login/logout problem
Post by: thoeri on March 27, 2005, 03:49:16 PM
Well maybe it is, if you need thousands of functions, which I don't. I just need a basic forum. I tried phpBB before and it is excellent. To take the log out link away from CM and to put a link in SMF to go back to CM just seems lika a REALLY bad idea. It would make my site look really cheap and crappy. No way I go for such a solution! But thanks anyway. Now I am defenetly leaving SMF for good.

/Thomas
Title: Re: Coppermine - SMF redirect & login/logout problem
Post by: d3v on March 27, 2005, 08:54:01 PM
Can you remind me how to remove logout? I did it before but memory is bad
Title: Re: Coppermine - SMF redirect & login/logout problem
Post by: Nibbler on March 27, 2005, 08:56:32 PM
You can comment it out of your theme.php:

<!-- BEGIN logout -->
                        <a href="{LOGOUT_TGT}">{LOGOUT_LNK}</a>
<!-- END logout -->


change to:

<!-- BEGIN logout -->
                        <!-- <a href="{LOGOUT_TGT}">{LOGOUT_LNK}</a> -->
<!-- END logout -->