Coppermine - SMF redirect & login/logout problem Coppermine - SMF redirect & login/logout problem
 

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

Main Menu

Coppermine - SMF redirect & login/logout problem

Started by thoeri, March 27, 2005, 01:56:41 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

thoeri

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



kegobeer

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.
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots

thoeri

I did, and that doesn't make it any clearer! Well, I will just forget about SMF and use something better, that works.

T

kegobeer

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.
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots

thoeri

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

d3v

Can you remind me how to remove logout? I did it before but memory is bad

Nibbler

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