SMF Intergration Problem SMF Intergration Problem
 

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 Intergration Problem

Started by djboxny, May 30, 2004, 10:59:04 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

djboxny

Well this is wat i did.  I tuk the "//" out then in the smf.inc.php i change the SMF Brige php file to.

// Set this to the location of your Settings file:
$path = 'home/djbox/www/board/Settings.php';

also the gallery and the board are in the same databse as said in the readme.  Now i get this error when i try to go to the Gallery @ www.latinspot/gallery/


Notice: Undefined offset: 7 in /home/www/latinspot/gallery/bridge/smf.inc.php on line 70

Notice: Undefined offset: 7 in /home/www/latinspot/gallery/bridge/smf.inc.php on line 74

Warning: main(/Settings.php): failed to open stream: No such file or directory in /home/www/latinspot/gallery/bridge/smf.inc.php on line 74

Fatal error: main(): Failed opening required '/Settings.php' (include_path='.:/usr/local/lib/php') in /home/www/latinspot/gallery/bridge/smf.inc.php on line 74


No clue on wats going on?

Joachim Müller

You are meant to enter the path (folder) in which your settings file resides, so try // Set this to the location of your Settings file:
$path = 'home/djbox/www/board';
GauGau

Nibbler

Try putting a / at the start of your path.

djboxny

OK looks like that fixed the settings folder problem.   But now i get this error



Parse error: parse error in /home/www/latinspot/gallery/bridge/smf.inc.php on line 47

Fatal error: Call to undefined function: udb_authenticate() in /home/www/latinspot/gallery/include/init.inc.php on line 182

jack

So the path line should look like this now :-

$path = '/home/djbox/www/board';

if you put the extra / anywhere else on the line, you would get an error like what you have.
Please do not contact me for support directly - instead: post on this board!

djboxny

this is the smf.inc.php script.  i am still getting that dam error


// Set this to the location of your Settings file:
$path = '/home/djbox/www/board;

djboxny


jack

you've missed off a ' before the last semi-colon
Please do not contact me for support directly - instead: post on this board!

djboxny

dammm i am going crasy.  my gallery are visited by thousans of people everyday i can't seem to get it to work.  i attaches both the smf.inc.php and the init.inc.php

heres wat i did and removed " '  " from the smf script

also the gallery is in a different database then the board.  but on the same dedicated server.  www.latinspot.com/board/ www.latinspot.com/videos-files/

// Modify the value below according to your Board installation               //
// ------------------------------------------------------------------------- //

// Set this to the location of your Settings file:
$path = /home/djbox/www/board/;

// Comment this out if you want to default user's group to 'Registered'
// rather than using Post Count based groups.
define('USE_POST_GROUPS', 1);

// Set the names of implied groups here
define('CM_ADMIN_GROUP_NAME', 'Administrators');
define('CM_MEMBERS_GROUP_NAME', 'Registered');
define('CM_GUEST_GROUP_NAME', 'Anonymous');
define('CM_BANNED_GROUP_NAME', 'Banned');
define('CM_GMOD_GROUP_NAME', 'Global Moderators');

[attachment deleted by admin]

jack

No, it Should be :-


$path = '/home/djbox/www/board';
Please do not contact me for support directly - instead: post on this board!

djboxny

Umm i thought u said to take the ' off?

jack

No, I said you had missed it off.
Please do not contact me for support directly - instead: post on this board!

djboxny

#12
OK guys u guys are the best thanks alot.  Hope others can be help by this topic.  ANyways everything seems to be fine but am i suppost to see all the gallery users in the Board.  Beacause the gallery has benn installed this 1 year but u just installed the Board 2 days ago.  so as u may know the board only has 1 User with is me the Admin.  Now is there any more steps needed

so the board can have all the Users from the gallery?.

djboxny

#13
for some reason after intergratin the names of the Uploaders is not showing in the last Uplload page or nowere.  this is happening after i successfully intergrated CPG with SMF. now all i need is a Intergration from SMF to CPG so my old CPG users can log in too



No Problem

Joachim Müller

#14
Creating all users that used to exist in coppermine standalone (without bbs integration) in SMF as well can be done, although it requires some skills with php and mySQL. There is currently no conversion script available. I recommend you ask your users to re-register. If you don't want that, you'll have to register for them (might take some time, depending on the size of your community) or not use smf integration.

GauGau

P.S. Merged two of your posting dealing with the same issue. Please don't double-post.
P.P.S. You were already told: there's no support for cpg1.3.0 yet, as it's still beta. Please stop posting cpg1.3.0 support requests.