coppermine-gallery.com/forum

Support => cpg1.3.x Support => Older/other versions => cpg1.3 (BBS) Integration / Bridging => Topic started by: DoW Kid Rock on October 26, 2004, 01:58:34 AM

Title: smf integration
Post by: DoW Kid Rock on October 26, 2004, 01:58:34 AM
ok I have done a fresh install of coppermine and used the smf database. the bridge seems to be working except it won't keep me logged in after I finish the log in screen on smf

any ideas?
Title: Re: smf integration
Post by: CapriSkye on October 26, 2004, 04:29:18 AM
smf and coppermine bridge has been causing problems with login and logout, check out this topic
http://forum.coppermine-gallery.net/index.php?topic=9934.0
Title: Re: smf integration
Post by: DoW Kid Rock on October 26, 2004, 04:36:44 AM
for some reason when I re-installed the board fresh it worked.  not sure what happened with my first attempt at installing the board, but I have no problems now

thank you for your quick response
Title: Re: smf integration
Post by: Agostinuke on February 21, 2005, 08:39:18 PM
In my case, at the start, I had the same problem.

Then I saw that I linked from the forum to the gallery, or viceversa, on one side with the http://www.domain  and on the other side with the http://domain.    Simply I changed the links. I quit Firefox, I deleted the cookies, and then, when reopened, all worked fine.

I'm putting this reply here for future users...I lost quite more than a few time to figure out this.


cheers

ago-stino
Title: Re: smf integration
Post by: Dr_Michael on February 28, 2005, 05:22:42 PM
I tried to do the smf bridge according the instructions on the docs folder (index.html file)
So, I uncommented the line:
define('UDB_INTEGRATION', 'smf');
at the init.inc.php file, and then I edited the smf.inc.php file:
$path = '/forum/';
Saved and upload the files at the appropriate directories, but I get error:
http://www.hyundaiclub.gr/index.php?option=com_wrapper&Itemid=41
Fatal error :
There was an error while processing a database query
Title: Re: smf integration
Post by: Joachim Müller on February 28, 2005, 05:49:36 PM
enable debug mode in coppermine config and paste the full error message (the query that actually failed) into your reply, along with a link to your coppermine page and a test user account (non-admin).

Joachim
Title: Re: smf integration
Post by: Dr_Michael on February 28, 2005, 06:04:10 PM
Is the procedure I followed, correct? Did I do the correct changes?
I cant do what you suggested because:
1. I dont have any other user than admin.
2. After the bridge, I dont have any access to the admin options :(
Title: Re: smf integration
Post by: Joachim Müller on February 28, 2005, 06:36:59 PM
well, then temporarily un-bridge by editing include/init.inc.php, find define('UDB_INTEGRATION', 'smf');and put the double slash back in at the very start of this line (as it was before you enabled bridging). You should then be able to log in with your "regular" admin account (that you created during coppermine install), change the config as suggested. After that, re-enable bridging (remove the double slashes once more). The test user isn't being created from within coppermine (at least when discussing bridging), but with the app you're bridging coppermine with. In your case, log into your SMF board as admin and create a SMF test user account (non-admin permissions!) - should be fairly easy.

The whole enchilada described above isn't very tricky or sophisticated, you could have come up with it giving it another thought before replying; take your time before answering please next time you post - most answers could be found without third party support.... ;)

Joachim
Title: Re: smf integration
Post by: Dr_Michael on March 01, 2005, 04:41:44 PM
My error was that the databases were different. Sorry for that mess. Thank you for the help, I really appreciate.