login to smf, but not cpg login to smf, but not cpg
 

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

login to smf, but not cpg

Started by eapurp, February 28, 2006, 11:46:39 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

eapurp

I'm aware that I'm supposed to list the mandatory information, but I don't want to share the url of my site the board...
Over the 3-4 days, I've been trying to integrate my cpg and SMF forum. After searching the forum, I've found that everyone who had a similar problem figured it out on their own and never posted the answer. It probably doesn't help that I have zero PHP knowledge, so I might have come across the answer and been too ignorant of php and coding to even know it. I'm half bald from pulling all my hair out.
I read the tutorials, more than thrice already, and it only covers really basic information. It's too vague for someone who has never done any of this before. Please don't refer me to them because obviously it hasn't helped me. :(

Once I bridge the two, I click the link to login to the gallery and I'm forwarded to the forum login. I log in to the forum, but when I try to visit the gallery, I'm not logged in. If I hit log in again, I'm taken back to the forum, and then the cycle repeats.
Both SMF and CPG are running smoothly as standalone. I copied the CPG db tables to the SMF db already, entered all the correct information for the CPG bridgemgr. I'm not sure if there are more files in the CPG directory I'm supposed to edit, or if from here, it's all editing files in the SMF directory.

A step-by-step sticky tutorial for 1.4, like the one for 1.3.5, would be nice.

Thanks for any advice or suggestions in advance!

Nibbler

There are no files to edit atall. It sounds like a cookie problem, so make sure you set the right name in the bridge manager and that your cookies are visible from Coppermine's path. Also check www.domain.com vs domain.com.

eapurp

Is it absolutely necessary to copy tables from the cpg database to the smf db? Can you have a successful bridge without it?

This is everything I have in the bridgemgr... I substituted my actual URL for www.eap.com, and the directory for the forum is forty

Bridgemgr
full url:  http://www.eap.com/forty
relative path: ../forty/
post-based groups: 0

It doesn't ask me for anything else...

Nibbler

That's fine. You don't need to do anything special with your database. Only things left to check are the cookie domain and path in SMF. I believe they are called subdomain independent cookies and local cookies. You need local cookies off and having subdomain independent cookies on helps.

eapurp

Thanks for all your help.

I figured it out, and it was the most stupid little thing!!! I'm so happy everything is finally working, but at the same time I'm furious that it took me DAYS to discover this by chance. I was supposed to link to "/whatever/INDEX.PHP" and not just "/whatever," so as long as my users don't try to access the directory folder itself, everything should be okay.

Nibbler

The bridge assumes you have your server setup to display index.php files where present.