smf integration smf integration
 

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

smf integration

Started by DoW Kid Rock, October 26, 2004, 01:58:34 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

DoW Kid Rock

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?

CapriSkye

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

DoW Kid Rock

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

Agostinuke

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

Dr_Michael

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

Joachim Müller

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

Dr_Michael

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

Joachim Müller

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

Dr_Michael

#8
My error was that the databases were different. Sorry for that mess. Thank you for the help, I really appreciate.