News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

Coppermine integration

Started by charlottezweb, November 07, 2003, 06:42:23 PM

Previous topic - Next topic

madmanrulez

from the bridge file i downloaded from from the coppermine site, think there is something wrong  on line 447
    $UDB_DB_LINK_ID = @mysql_connect(SMF_BD_HOST, SMF_DB_USERNAME, SMF_DB_PASSWORD);
the SMF_BD_HOST part, is't suppose to be SMF_DB_HOST??

anyway, my point is, i changed it to SMF_DB_HOST myself, and then the gallery give me this:
Fatal error :
There was an error while processing a database query


SMF n coppermine works fine by itself. so don't noe where went wrong, thnx

jack

Yeah, the typo is a known issue. I'll have to do a new release some time.

Please put the gallery into debug mode to post error messages, thanks.

casper_shadowrider

#102
Quote from: madmanrulez on May 06, 2004, 04:46:08 AM
from the bridge file i downloaded from from the coppermine site, think there is something wrong  on line 447
    $UDB_DB_LINK_ID = @mysql_connect(SMF_BD_HOST, SMF_DB_USERNAME, SMF_DB_PASSWORD);
the SMF_BD_HOST part, is't suppose to be SMF_DB_HOST??

anyway, my point is, i changed it to SMF_DB_HOST myself, and then the gallery give me this:
Fatal error :
There was an error while processing a database query


SMF n coppermine works fine by itself. so don't noe where went wrong, thnx

Hi Madman,

You also posted this on the coppermine board, Here.
As informed on that board, this should not be changed.  All the bridge files in coppermine use the line 'BD_HOST', because of a typo in the original script, but it works.  It won't work if you change it.  Your problem is almost certainly due to the only line you need to edit being incorrect.
Line 45 ($path = '../smf';) has to be edited to show the path to your forum directory.

Please let us know if you still have a problem.
Make god laugh, tell him your plans

Oldiesmann

Change that, and if you still get the database error message, here's how to determine what's causing it:

Go back into init.inc.php and comment out the newly inserted line that integrates it with SMF.
Login to Coppermine with admin priveleges
Under "config" select "yes" next to "debug mode" and click "save new config".

Then, go back and uncomment that line and go back to coppermine. This will give you a nice long explanation of what's causing the database error. (ie "While executing the query (really long mysql query), mysql returned the following error: (mysql error message)"). Also, make sure you're using the version attached at the beginning of this thread and not the one from the Coppermine CVS Repository (unless you're using the CVS version of coppermine).
Michael Eshom
Christian Metal Fans

djbox

OK i see everyone taking about the Intergration file to put into the CP gallery But none talk about one for the SMF forum.  SO that the users that are already registered for the gallery can also log into the Forum.  Meaning that lets say i already had CPG for about 1 year and have thousands of pictures and thousands of registered users.  Now then u deside one day to install SMF.  So u do the intergration that comes with the new CPG beta 1.3 beta 4 .  But the users that are allowed to log into the gallery and the forum are the users that register for the forum AFTER i install it.  So the users that were registered for the Gallery before that day are in deep trouble.  Can anyone advice in this issue cuz i know alot of people had this problem

THanks in advance

jack

As far as I am aware, there is no way to do this short of making major changes to the forum software.

There is an integration project going on with a portal/cms system. I would imagine that they are approaching the problem the same way as with Coppermine - i.e. make the cms's authentication system 'pluggable', but it isn't impossible that they are working with the SMF team to make changes on the forum side.

Joachim Müller

@djbox: Basically you will need a converter that will have to run once, converting all existing coppermine users to smf users. Once this is done, you could enable smf integration into coppermine. I can see such a converter could be helpfull, but afaik nobody has done this yet.

GauGau
Integrate your SMF install with a picture/multimedia gallery: Coppermine Photo Gallery [nofollow]

Oldiesmann

Someone will have to write something like that for you... Shouldn't be too difficult to do either.

As far as the login - any user who is a member of the forum will be able to login to coppermine once you install it.
Michael Eshom
Christian Metal Fans

djbox

thats would be great.  there must be about 1 million other users that would like this.

mcdougrs

Ok I hate to be a block head, But I am so here it goes.

So what is the status of a Menalto Gallery integration? Is there even one at all? I think I have figured out that the "Offical Addon" will have Gallery integration but that seems to be a ways off  ???

Should I just do a Coppermine Installation, especially since I only have one album so far? And use the latest from the CVS tree with the integration script already built in?

jack

#110
I would wait about a week or so, for us to finalise 1.3.0 - it's almost there

Correction :- Current ETA is 'a few hours'  8)

mcdougrs

#111
Well that seems to be the easiest thing to do, and apparently the only thing to do :P I eagerly await the release of 1.3.0!

Thanx

jack


djbox

cool guys thx alot.  hope that fixes a few problems :)

mcdougrs

Awesome I hope to get that installed today!!!

DaMysterious

Quote from: [Unknown] on May 05, 2004, 11:44:49 AM
Hmm, it's possible that the bridge may not expect that....

Jack, you should use $db_name . '.' . $db_prefix as the SMF prefix.

-[Unknown]

Integration of Coppermine works wel on my WinBox now with the latest smf.inc.php. Thanks for the hard work! 8). The only thing I had to do whas changing the source path to '$sourcedir = 'C:/Inetpub/smf/Sources';' in Settings.php. Both, Smf [nofollow] and Coppermine [nofollow] are running like a charm since yesterday.
Salve,
DaMysterious.

Alisha

Quote from: DaMysterious on June 27, 2004, 05:50:17 PM

Integration of Coppermine works wel on my WinBox now with the latest smf.inc.php. Thanks for the hard work! 8). The only thing I had to do whas changing the source path to '$sourcedir = 'C:/Inetpub/smf/Sources';' in Settings.php. Both, Smf and Coppermine are running like a charm since yesterday.


Would this Cure my problem?

Warning: main(/Settings.php): failed to open stream: No such file or directory in /home/.cadence/msalisha/dancedancekc.com/Gallery/bridge/smf.inc.php on line 75

Fatal error: main(): Failed opening required '/Settings.php' (include_path='.:/usr/local/lib/php') in /home/.cadence/msalisha/dancedancekc.com/Gallery/bridge/smf.inc.php on line 75

NukeWorker.com

Get the most recent bridge file from web cvs: http://cvs.sourceforge.net/viewcvs.py/coppermine/stable/bridge/smf.inc.php

It says its for beta 5, but it works on beta 6, and fixes any problems I had.

Alisha

hmmmm I downloaded that version,and I am still getting that same error, although line 77 now?

Looks like it can not find or open /settings.php in the in my /Forums dir.

QuoteFatal error: main(): Failed opening required '/Settings.php'

I have set it to find the SMF path

Quote// Set this to the location of your Settings file:
$path = '../Forums';

I removed comment from the init.inc.php on the SMF line.

This has to be somthing simple I am overlooking here.

[Unknown]

Try instead of $path = '../Forums';...

$path = '/home/.cadence/msalisha/dancedancekc.com/Forums';

If that doesn't help, you might have to wait for Jack to see this, or ask at the coppermine forum. (http://coppermine.sf.net/board/index.php)

-[Unknown]

Advertisement: