[OBSOLETE] How to Integrate Coppermine with SMF

Started by dtm.exe, July 09, 2005, 04:59:26 PM

Previous topic - Next topic

Avinash4

Quote from: Kindred on January 10, 2006, 07:48:06 AM
well, Avinash4,  How did you install SMF??

Look in your server config section in SMF and it should tell you the database name and user (although the db password will be blanked out)

In my SMF server settings, everything about my database is identical as with the coppermine database, except for the table_prefix. Should they be the same to successfully bridge? Will making them the same cause any problems with my SMF? I dont want to damage accounts.
McMaster University's Largest Online Community
http://mac-central.com
Powered by SMF and Mambo

kegobeer

If the database names, users and passwords are the same, you are ready to run the bridge wizard.  Table prefixes must be different.
"The truth of the matter is that you always know the right thing to do. The hard part is doing it." - Norman Schwarzkopf
Posting and you (Click "WATCH THIS MOVIE")

Avinash4

#222
Quote from: kegobeer on January 10, 2006, 11:00:15 AM
If the database names, users and passwords are the same, you are ready to run the bridge wizard.  Table prefixes must be different.

Thanks, the database names, users and passwords are the same and table prefixes are different. I've also made the necessary changes to /include/init.inc.php and /bridge/smf.inc.php. When I click login on coppermine, it takes me to my SMF login page. Once I enter user and password, it just redirects me to the board index, not back to coppermine. Also, I do get logged into coppermine, but only if I go to site.com/coppermine/index.php manually after logging in.
McMaster University's Largest Online Community
http://mac-central.com
Powered by SMF and Mambo

mrandall131

I just downloaded 1.4.3 and read through their documentation.  They recommend installing it stand alone and then using the bridge wizard.  Has anyone done this?  Also, I looked to modify init.inc.php and couldn't find the correct line.  There was some new stuff in there that looks like it determines what board you have installed (through their wizzard I presume). 

Haven't started the install yet, just wondering the best way to proceed.

Kindred

Avinash...   that is correct.  When you log in, you are sent to the SMF index page...   you will need to ADD a menu itme in your SMF buttons list to point to Coppermine.
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

kegobeer

Ok.  If you are using Coppermine 1.4.3, just follow the instructions included with Coppermine.  Do not follow instructions from anywhere else.  Use the bridge wizard.  You do not need to modify anything.

If you want the best help with the bridge wizard, visit the Coppermine web site.
"The truth of the matter is that you always know the right thing to do. The hard part is doing it." - Norman Schwarzkopf
Posting and you (Click "WATCH THIS MOVIE")

mrandall131


mrandall131

I installed it this morning.  It seems as though the bridge may not be working properly.  When I login in coppermine, it sends me to SMF, but then, when I go back to the gallery, I am not logged in.

kegobeer

Quote from: kegobeer on January 10, 2006, 01:33:22 PM
If you want the best help with the bridge wizard, visit the Coppermine web site.
"The truth of the matter is that you always know the right thing to do. The hard part is doing it." - Norman Schwarzkopf
Posting and you (Click "WATCH THIS MOVIE")

mrandall131

I did, but thought I'd post here too, since you guys always respond faster.  Usually someone else has seen the problem and has a solution.   ;)

Aravot

Quote from: mrandall131 on January 11, 2006, 09:22:05 AM
I did, but thought I'd post here too, since you guys always respond faster.  Usually someone else has seen the problem and has a solution.   ;)

Is this for the Admin account? Try using a different account, if you don't have create a test account, if it works than you'll know what to do.

chaoslight

can somebody please help me?
I get this error after installing coppermine, and intergrating it with SMF:
Fatal error: Call to undefined function: cache_get_data() in /www/b/bwworldcouk/htdocs/home/gallery/bridge/smf.inc.php(127) : eval()'d code on line 10

im running SMF RC2 and Coppermine 1.3.5.
Can soomebody help me with this?

Aravot


mrandall131

Quote from: Aravot on January 11, 2006, 12:16:52 PM
Quote from: mrandall131 on January 11, 2006, 09:22:05 AM
I did, but thought I'd post here too, since you guys always respond faster.  Usually someone else has seen the problem and has a solution.   ;)

Is this for the Admin account? Try using a different account, if you don't have create a test account, if it works than you'll know what to do.

Didn't work, tried a test account. 

The worst thing is I can't log in at all.

Aravot

Quote from: mrandall131 on January 11, 2006, 07:59:23 PM
Didn't work, tried a test account. 

The worst thing is I can't log in at all.

The reason I suggested that is, I had a similar problem, after bridging Coppermine with SMF I couldn't login into Coppermine using Admin account but could login using regular test account so I made the test account into Admin and changed the Admin account to regular user (in SMF) after the change I was able to login into Coppermine (using my account), than I changed back the Admin account to Admin and the test account to regular user, it's working ever since.

mrandall131

Here's what I got from coppermine:

Quote from: Coppermine Siteyour cookie domains differ: one has a leading www, the other hasn't. Cookie domains have to be the same, preferably .northeastatvers.com (notice the leading dot)

They recommend setting both the board and gallery "cookie domains" to .northeastatvers.com  Where is this in SMF?

Aravot

Quote from: mrandall131 on January 12, 2006, 06:28:51 AM
Here's what I got from coppermine:

Quote from: Coppermine Siteyour cookie domains differ: one has a leading www, the other hasn't. Cookie domains have to be the same, preferably .northeastatvers.com (notice the leading dot)

They recommend setting both the board and gallery "cookie domains" to .northeastatvers.com  Where is this in SMF?

SMF 1.1 RC2
Configuration --> Server Settings

mrandall131

If I change that, it crashes the forum.  The main page loads of, but after that, nothing.  Is the "." necessary?  Is there something else to change?

mrandall131

Everything works now!!

One question about redirects.  When you login or logout from coppermine, is it possible to have it redirect you to the gallery?

ynneb

Why doesnt SMF have the option of downloading an SMF install that has CM already intergrated.

Surely having a galley in a forum isnt such a rare thing? I would have thought that most people would want this.

Or Why doesnt SMF just have thier own gallery.

After flicking through this thread I am freaked about attempting to do anything. I am scared I will muck up my forum and lose the  300 hard earned members.

Advertisement: