Advanced search  

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]

Pages: [1]   Go Down

Author Topic: smf integration  (Read 4800 times)

0 Members and 1 Guest are viewing this topic.

DoW Kid Rock

  • Coppermine newbie
  • Offline Offline
  • Posts: 16
smf integration
« 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?
« Last Edit: October 26, 2004, 05:36:03 am by GauGau »
Logged

CapriSkye

  • Translator
  • Coppermine frequent poster
  • **
  • Offline Offline
  • Posts: 126
    • 森林之原
Re: smf integration
« Reply #1 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
Logged

DoW Kid Rock

  • Coppermine newbie
  • Offline Offline
  • Posts: 16
Re: smf integration
« Reply #2 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
Logged

Agostinuke

  • Coppermine newbie
  • Offline Offline
  • Posts: 9
    • 3D-WIP.org tutorials-resources for 2D-threedee digital artists
Re: smf integration
« Reply #3 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
« Last Edit: February 22, 2005, 12:16:23 am by ago-stino »
Logged

Dr_Michael

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Gender: Male
  • Posts: 56
    • LightHunt
Re: smf integration
« Reply #4 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

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: smf integration
« Reply #5 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
Logged

Dr_Michael

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Gender: Male
  • Posts: 56
    • LightHunt
Re: smf integration
« Reply #6 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 :(

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: smf integration
« Reply #7 on: February 28, 2005, 06:36:59 pm »

well, then temporarily un-bridge by editing include/init.inc.php, find
Code: [Select]
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
Logged

Dr_Michael

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Gender: Male
  • Posts: 56
    • LightHunt
Re: smf integration
« Reply #8 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.
« Last Edit: March 01, 2005, 06:18:06 pm by Dr_Michael »
Logged
Pages: [1]   Go Up
 

Page created in 0.023 seconds with 16 queries.